A security flaw affecting Linux systems that use LUKS disk encryption with the cryptsetup-suspend mechanism can leave volume keys accessible in memory instead of removing them during suspend operations. The issue stems from a regression introduced in Linux kernel 6.9, causing cryptsetup luksSuspend to fail to fully clear encryption keys from the kernel keyring, where they may remain visible through /proc/keys and potentially be extracted by a local attacker.
The exposure is significant for systems that rely on suspending encrypted volumes before sleep or hibernation, including deployments on distributions such as Debian and NixOS. A fix was prepared in cryptsetup rather than in the kernel and is expected in cryptsetup 2.8.7; the reports also note that NixOS had previously disabled related hibernation functionality by default because of older concerns about secrets persisting in memory after resume.

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
6 events from the most recent confirmed update back to the earliest known activity.
On 2026-06-30, Ingo Blechschmidt published an experimental NixOS project called secure-suspend that applies a kernel patch and custom suspend flow to wipe LUKS keys from memory before suspend-to-RAM and restore them on resume. The write-up also warned that Linux 6.9+ can retain an extra copy of the volume key in memory until fixed packages such as cryptsetup 2.8.7 are available.
On 2026-06-27, cryptsetup merged a change to load volume keys into an intermediary keyring linked to the thread keyring, mitigating unintended persistence of LUKS volume keys caused by kernel keyring handling. The merge request also added tests to verify cleanup of volume keys and intermediary keyrings after process exit and crypt_free().
On 2026-06-17, Ingo Blechschmidt submitted a Linux kernel patch to device-mapper to stop table device opening from retaining the caller's thread keyring, which left an extra recoverable copy of the LUKS volume key in RAM until luksClose. The patch restores pre-v6.9 behavior by using kernel credentials and was marked for stable consideration.
A fix was prepared in cryptsetup rather than in the Linux kernel to address the issue where luksSuspend could leave encryption keys accessible in the kernel keyring. The correction is expected to ship in cryptsetup version 2.8.7.
A regression introduced in Linux kernel 6.9 caused "cryptsetup luksSuspend" to fail to properly remove LUKS encryption keys from kernel memory, potentially leaving them visible via /proc/keys for local extraction from RAM.
NixOS had previously disabled a related hibernation configuration because of an older issue involving secrets remaining in memory after resume. The references anchor this earlier concern to 2015.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
10 references tracked. Mallory keeps watching after this page renders.
codeberg.org
Open sourcegitlab.com
Open sourcegitlab.com
Open sourcemathstodon.xyz
Open sourceopennet.ru
Open sourceopennet.me
Open sourcegit.kernel.org
Open sourcegitlab.com
Open sourceMap indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.