Junglewise Threat Intelligence

CVE-2026-64315: Linux Kernel CAAM crypto driver sensitive information leak in setkey

CVE-2026-64315 · Severity: info · CVSS 2.1 · Published 2026-07-25

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's cryptographic driver for CAAM hardware could allow sensitive encryption keys to be leaked into system logs. This occurs when specific debug logging features are enabled, potentially exposing secret keys to local users or monitoring tools. This could compromise the confidentiality of encrypted data on the affected system.

Technical details

A vulnerability in the Linux kernel's Cryptographic Acceleration and Assurance Module (CAAM) driver (specifically in caamalg_qi2.c) allowed sensitive key material to be dumped to the kernel log. The issue stemmed from the use of print_hex_dump_debug() in the *_setkey() functions, which, when CONFIG_DYNAMIC_DEBUG is enabled, could expose raw keys during runtime. An attacker with access to kernel logs (dmesg) could potentially retrieve these secrets. The fix involves replacing the logging calls with print_hex_dump_devel(), which ensures that sensitive material is only dumped in development environments and not in production builds with dynamic debugging enabled.

Affected products

  • Linux Linux Kernel 4.20 to 6.6.145, 5.10.261, 5.15.212, 6.1.178

Timeline

  • 2026-07-25: disclosed
  • 2026-07-25: advisory

References

Related threats