Description
In the Linux kernel, the following vulnerability has been resolved:

dm: avoid leaking the caller's thread keyring via the table device file

The refactoring in commit a28d893eb327 ("md: port block device access to file")
accidentally causes the caller's thread keyring to be kept alive long
beyond the caller's lifetime.

As a result, "cryptsetup luksSuspend" silently fails to wipe the
LUKS volume key from memory.

In detail: "cryptsetup luksOpen" uses its supposedly ephemeral thread
keyring to pass the volume key to the kernel. dm-crypt's
crypt_set_keyring_key() copies the key material into its own
crypt_config structure and then drops its own reference to the key in
the keyring with key_put().

With this fix, restoring pre-v6.9 behavior, the copy in the thread
keyring is then promptly garbage collected, such that exactly one copy
of the volume key remains. This single copy is correctly wiped from
memory on "cryptsetup luksSuspend".

Without this fix, the thread keyring and the volume key in it remains.
This second copy is only freed on "luksClose". "luksSuspend" neither
knows about this copy nor has any way to remove it, so the key remains
recoverable from RAM after a suspend that is documented to have wiped it.

This fix should not introduce new security problems, as the code is
anyway gated by CAP_SYS_ADMIN. The device-mapper core, not the calling
task, is the legitimate owner of this long-lived file.
Published: 2026-08-15
Score: 7.3 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, a refactoring error left the caller’s thread keyring alive after a cryptsetup operation, so the encryption key used by dm‑crypt remains in memory. When cryptsetup runs luksSuspend, the key is not wiped from RAM, allowing a memory‑dump attacker to recover the LUKS volume key. The exposed key compromises the confidentiality of all data on the encrypted volume.

Affected Systems

The vulnerability affects Linux kernel releases prior to the commit that restores pre‑v6.9 behavior. Devices using dm‑crypt with cryptsetup before the patch are susceptible. This issue is limited to kernels running on Linux operating systems.

Risk and Exploitability

The EPSS score of < 1% indicates a very low likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. It requires CAP_SYS_ADMIN privileges to run cryptsetup luksSuspend, so only local attackers with administrative rights can attempt the exploit. A successful exploit would let them read the residual volume key from memory, enabling decryption of the encrypted disk. The CVSS score is 7.3, indicating a moderate to high severity, while the fix does not introduce new problems and is gated by administrative rights.

Generated by OpenCVE AI on August 18, 2026 at 02:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Install the Linux kernel update that includes the fixed commit restoring pre‑v6.9 behavior.
  • Ensure cryptsetup is updated to the latest stable release that properly wipes keys on suspend.
  • If the update is unavailable, avoid using cryptsetup luksSuspend until the kernel patch is applied, or manually clear the thread keyring after suspend.

Generated by OpenCVE AI on August 18, 2026 at 02:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
History

Tue, 18 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-911
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 08:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-296

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L'}


Sat, 15 Aug 2026 21:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-296

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: dm: avoid leaking the caller's thread keyring via the table device file The refactoring in commit a28d893eb327 ("md: port block device access to file") accidentally causes the caller's thread keyring to be kept alive long beyond the caller's lifetime. As a result, "cryptsetup luksSuspend" silently fails to wipe the LUKS volume key from memory. In detail: "cryptsetup luksOpen" uses its supposedly ephemeral thread keyring to pass the volume key to the kernel. dm-crypt's crypt_set_keyring_key() copies the key material into its own crypt_config structure and then drops its own reference to the key in the keyring with key_put(). With this fix, restoring pre-v6.9 behavior, the copy in the thread keyring is then promptly garbage collected, such that exactly one copy of the volume key remains. This single copy is correctly wiped from memory on "cryptsetup luksSuspend". Without this fix, the thread keyring and the volume key in it remains. This second copy is only freed on "luksClose". "luksSuspend" neither knows about this copy nor has any way to remove it, so the key remains recoverable from RAM after a suspend that is documented to have wiped it. This fix should not introduce new security problems, as the code is anyway gated by CAP_SYS_ADMIN. The device-mapper core, not the calling task, is the legitimate owner of this long-lived file.
Title dm: avoid leaking the caller's thread keyring via the table device file
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:40:17.887Z

Reserved: 2026-08-09T03:40:39.906Z

Link: CVE-2026-72103

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:24.460

Modified: 2026-08-17T06:18:09.253

Link: CVE-2026-72103

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72103 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T02:30:03Z

Weaknesses
  • CWE-911

    Improper Update of Reference Count