CVE-2026-31543
kernel: crash_dump: don't log dm-crypt key bytes in read_key_from_user_keying
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 24, 2026
Updated · June 28, 2026
Description
A flaw was found in the Linux kernel. When debug logging is enabled, the read_key_from_user_keying function logs the initial 8 bytes of the key payload. This action partially exposes the dm-crypt key, leading to information disclosure.
Statement
The change stops debug logging from printing the first bytes of dm-crypt keys read from user keyrings, which is a confidentiality hardening issue when crash_dump debug is enabled. Red Hat recommends disabling unnecessary debug on sensitive systems and taking patched kernels. This is not a cryptographic break of dm-crypt itself.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.3CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H
CWE-215 · Insertion of Sensitive Information Into Debugging Code