Junglewise Threat Intelligence

CVE-2026-46291: Linux Kernel CAAM information leak in hash_digest_key

CVE-2026-46291 · Severity: info · CVSS 0 · Published 2026-06-08

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's Cryptographic Acceleration and Assurance Module (CAAM) could allow sensitive security keys to be leaked into system logs. This occurs when specific debug settings are enabled, potentially exposing cryptographic secrets to local users or monitoring tools that have access to system messages. This could compromise the confidentiality of encrypted data or secure communications handled by the affected hardware.

Technical details

An information disclosure vulnerability exists in the Linux kernel's CAAM (Cryptographic Acceleration and Assurance Module) driver. The function 'hash_digest_key()' in 'drivers/crypto/caam/caamhash.c' and 'drivers/crypto/caam/caamalg_qi2.c' used 'print_hex_dump_debug()' to output HMAC key bytes. When the kernel is compiled with 'CONFIG_DYNAMIC_DEBUG' and the specific debug category is enabled at runtime, these sensitive keys are written to the kernel log (dmesg). An attacker with local access to system logs could recover these keys. The fix replaces the debug calls with 'print_hex_dump_devel()', which ensures the data is only dumped in development environments and not in production builds with dynamic debugging enabled.

Affected products

  • Linux Linux Kernel All versions prior to the June 2026 patches

Timeline

  • 2026-03-19: other: Initial patch authored
  • 2026-06-08: advisory: CVE-2026-46291 published

References

Related threats