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

crash_dump: don't log dm-crypt key bytes in read_key_from_user_keying

When debug logging is enabled, read_key_from_user_keying() logs the first
8 bytes of the key payload and partially exposes the dm-crypt key. Stop
logging any key bytes.
Published: 2026-04-24
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure via Kernel Debug Logging
Action: Apply Patch
AI Analysis

Impact

The flaw causes the kernel function read_key_from_user_keying() to write the first eight bytes of a dm‑crypt key to the debug trace whenever kernel debug logging is enabled. This results in the partial exposure of an otherwise protected encryption key, creating an information‑disclosure vulnerability classified as CWE‑215. The vulnerability does not impact application functionality directly but compromises the confidentiality of encrypted data stored by dm‑crypt by leaking key material.

Affected Systems

All Linux kernel builds containing the unpatched read_key_from_user_keying() function are affected, regardless of the distribution or vendor. The issue appears in the source code that was patched in the 7.0 releases. No specific version numbers are listed in the advisory, so any kernel version prior to the commit that removes the key logging is vulnerable.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity. An EPSS score of less than 1% suggests that practical exploitation is unlikely to be widespread. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker must have the ability to enable kernel debug logging and read the resulting trace logs, which typically requires elevated or kernel‑level privileges.

Generated by OpenCVE AI on April 29, 2026 at 02:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the upstream patch that removes logging of dm‑crypt key bytes
  • Upgrade the system to a kernel release that incorporates this fix (e.g., recent Linux kernel 7.x updates)
  • If the patch cannot be applied, rebuild or configure the kernel to disable kernel debug logging to prevent key exposure
  • Restrict read access to kernel log files to limit the opportunity for an attacker to retrieve logged key bytes

Generated by OpenCVE AI on April 29, 2026 at 02:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Apr 2026 19:00:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
Metrics cvssV3_1

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

cvssV3_1

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


Sat, 25 Apr 2026 00:15:00 +0000

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

None

cvssV3_1

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

threat_severity

Moderate


Fri, 24 Apr 2026 15:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: crash_dump: don't log dm-crypt key bytes in read_key_from_user_keying When debug logging is enabled, read_key_from_user_keying() logs the first 8 bytes of the key payload and partially exposes the dm-crypt key. Stop logging any key bytes.
Title crash_dump: don't log dm-crypt key bytes in read_key_from_user_keying
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-05-11T22:10:48.645Z

Reserved: 2026-03-09T15:48:24.114Z

Link: CVE-2026-31543

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-04-24T15:16:28.350

Modified: 2026-04-28T18:46:51.353

Link: CVE-2026-31543

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-04-24T00:00:00Z

Links: CVE-2026-31543 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-29T02:30:07Z

Weaknesses