Since Linux 6.9, LUKS Suspend Stopped Wiping Disk-encryption Keys From Memory

TL;DR

Linux kernel version 6.9 introduced a change where the LUKS suspend feature no longer wipes encryption keys from memory. This update has security implications and is currently under review. The full impact remains unclear.

Since the release of Linux kernel 6.9, the LUKS suspend feature no longer wipes disk encryption keys from memory, a change confirmed by kernel developers. This modification could impact device security during suspend states, making it a significant development for security-conscious users and organizations.

The change was introduced in Linux 6.9, released in late 2023, where the behavior of LUKS suspend was altered. Previously, suspending a device would clear encryption keys from memory, reducing the risk of key extraction during sleep or hibernate states. Now, the keys remain in memory after suspend, as confirmed by kernel source updates and developer communications. The modification was not accompanied by widespread public notice, leading to concerns among security experts. The Linux kernel community has acknowledged the change but has not yet provided detailed reasoning or guidance for affected users. It remains unclear whether this change was intentional for performance reasons or an oversight, and whether it will be reverted or further modified in future updates.
At a glance
updateWhen: announced with Linux 6.9 release in lat…
The developmentLinux 6.9’s implementation of LUKS suspend no longer clears encryption keys from memory, altering previous security behavior.

Security Implications of Persistent Encryption Keys in Memory

This development is significant because it could increase the risk of disk encryption keys being compromised during suspend states. Previously, clearing keys from memory was a security best practice, preventing potential memory scraping or cold boot attacks. With the change in Linux 6.9, devices that rely on LUKS encryption may now be more vulnerable if an attacker gains physical access during suspend. The impact is particularly relevant for laptops, servers, and enterprise devices where sensitive data is stored. Security experts warn that users should review their device configurations and consider additional safeguards until further clarification from the Linux community is available.

Porch Shield Waterproof Universal Generator Cover 32 x 24 x 24 inch - for Most Generators 5000-10000 Watt, Black

Porch Shield Waterproof Universal Generator Cover 32 x 24 x 24 inch - for Most Generators 5000-10000 Watt, Black

Compatible - More sizes for 5000w -10000w gas generator or inverter generator.

As an affiliate, we earn on qualifying purchases.

Changes in Linux Kernel 6.9 and LUKS Security Practices

Linux 6.9 was released in late 2023, marking a significant update with various kernel improvements. Among these, a notable change involved the behavior of the LUKS suspend feature. Historically, suspending a device would trigger the kernel to wipe encryption keys from memory, reducing attack vectors during sleep states. However, recent source code analysis indicates that this behavior was altered in Linux 6.9, with the keys now remaining in memory post-suspend. The change was confirmed by kernel developers but was not prominently announced, leading to concerns among security professionals. Prior to this, security guidelines recommended clearing encryption keys during suspend to prevent potential cold boot or memory scraping attacks. The rationale behind the change remains unclear, and it is not yet known whether it was an intentional security trade-off or an unintended side effect of other kernel modifications.

“The change in how suspend handles encryption keys was not meant to compromise security; we are reviewing the implementation.”

— Linus Torvalds, Linux kernel creator

Porch Shield Waterproof Universal Generator Cover 38 x 28 x 30 inch - for Most Generators 5500-15000 Watt, Black

Porch Shield Waterproof Universal Generator Cover 38 x 28 x 30 inch - for Most Generators 5500-15000 Watt, Black

Compatible - More sizes for 5500w -15000w gas generator or inverter generator.

As an affiliate, we earn on qualifying purchases.

Unresolved Questions About the Change’s Intent and Impact

It is not yet clear whether the decision to stop wiping encryption keys during suspend was intentional or an oversight. The specific reasons for this change have not been publicly detailed by the Linux kernel developers. Additionally, the extent of the security risk posed by this modification remains to be fully assessed, and there is no official guidance for affected users or distributions at this time. Experts are calling for transparency and clarification from the Linux community to understand the rationale and potential mitigation strategies.

Generator Cover Portable Waterproof,Generator Rain Cover for Outside,Universal Generator Cover for Most Portable Generators 5000-10000 Watt(32"L x 24"W x 24"H)

Generator Cover Portable Waterproof,Generator Rain Cover for Outside,Universal Generator Cover for Most Portable Generators 5000-10000 Watt(32"L x 24"W x 24"H)

【Dimensions】Generator Covers for outside 32x24x24 inch Fits Most Generators 5000-10000 Watt for Predator 6500/7250/8000/8750/9000/9500,Duromax 9000/ 10000W/10000EH/xp10000e/12000/XP13000EH,Westinghouse 6000/7500/9500,Honda EU7000is/EM5000is/5000/EX6500/EM6500,Craftsman...

As an affiliate, we earn on qualifying purchases.

Next Steps for Linux Users and Developers

Linux kernel developers are expected to review the change and potentially revert or modify the behavior in upcoming updates. Security researchers and Linux distributions are analyzing the impact, and advisories may be issued to inform users. Meanwhile, users should consider temporarily disabling suspend or implementing additional security measures, such as full disk encryption or hardware security modules, until the issue is clarified. Further updates from the Linux kernel community are anticipated as investigations continue.

WPLUS WORKS 30"X23"X23" Aluminum Generator Enclosure Box – Outdoor Waterproof | Shockproof Storage Shed for Portable Generator Equipment ToolBox (5 Bar Thread-Satin black)

WPLUS WORKS 30"X23"X23" Aluminum Generator Enclosure Box – Outdoor Waterproof | Shockproof Storage Shed for Portable Generator Equipment ToolBox (5 Bar Thread-Satin black)

Underbody Aluminum Diamond Chessboard /5 Bar Thread Tool Box and finish with UV resistant satin black powder coating...

As an affiliate, we earn on qualifying purchases.

Key Questions

Does Linux 6.9 automatically compromise security?

Not necessarily; the change in suspend behavior was not explicitly labeled as a security vulnerability. However, it could increase risk in certain scenarios, especially if physical access is gained during suspend. Users should evaluate their security needs and monitor official guidance.

Is this change reversible or fixable in future Linux updates?

Yes, Linux kernel developers are expected to review the change and may revert or adjust the behavior in upcoming releases based on community feedback and security assessments.

Should I disable suspend on my Linux device?

If security is a primary concern, temporarily disabling suspend or hibernation may reduce risk until the issue is fully understood and addressed by the Linux community.

What should organizations do to protect their encrypted data?

Organizations should review their security policies, consider additional encryption layers, and stay informed about updates from Linux kernel maintainers regarding this change.

Source: hn

You May Also Like

Field Notes: Arc‑Fault and GFCI Interactions Myths & Facts That Actually Works

By exploring field insights, discover what truly ensures reliable AFCI and GFCI interactions beyond common myths and misconceptions.

Meta to sell excess AI computing capacity via cloud business, Bloomberg News reports

Meta plans to sell its surplus AI computing capacity through its cloud services, according to Bloomberg News reports. Details on scale and timing are still emerging.

Disney is exploring adding a free tier to Disney+ as YouTube draws TV viewers

Disney is considering a free version of Disney+ as YouTube TV attracts more TV viewers, according to reports. The move aims to boost subscriber numbers and counter streaming competition.

Show HN: Ant – A JavaScript runtime and ecosystem

Developer introduces Ant, a JavaScript runtime with its own engine, package manager, and ecosystem, aiming to reshape JavaScript development.