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

crypto: caam - guard HMAC key hex dumps in hash_digest_key

Use print_hex_dump_devel() for dumping sensitive HMAC key bytes in
hash_digest_key() to avoid leaking secrets at runtime when
CONFIG_DYNAMIC_DEBUG is enabled.
Published: 2026-06-08
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel introduced an issue whereby the caam crypto module executed print_hex_dump_devel() on HMAC key material during hash_digest_key(), leading to hexadecimal dumps of secret keys in kernel logs when CONFIG_DYNAMIC_DEBUG is active. This would expose cryptographic secrets to anyone with access to kernel debug output, potentially facilitating cryptanalysis or credential compromise. The vulnerability is a classic information‑disclosure flaw, allowing attackers to retrieve sensitive data that should remain confidential.

Affected Systems

The affected product is the Linux kernel, specifically builds that include the caam crypto module and enable dynamic debugging. No explicit version range is listed, so any kernel with these features compiled from the source tree that incorporated the problematic code may be vulnerable.

Risk and Exploitability

The CVSS metric is not available, and the exploit probability EPS is not listed. The vulnerability is classified as a known‑exploited‑vulnerability (KEV) not listed, suggesting no publicly known exploits. Exploitation would rely on an attacker’s ability to read kernel debug logs or access kernel memory; the likely attack vector is local or privileged, as the leak occurs only when dynamic debug output is enabled. Because the secret is dumped in log space, an attacker with sufficient local privileges could obtain the key, but remote exploitation would be limited to scenarios where debug logs are exposed externally.

Generated by OpenCVE AI on June 8, 2026 at 18:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that contains the approved patch to suppress the HMAC key dump
  • Disable CONFIG_DYNAMIC_DEBUG in the kernel configuration to prevent debug dumps from occurring
  • Audit kernel log access controls to ensure only trusted users can read kernel debug output

Generated by OpenCVE AI on June 8, 2026 at 18:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 08 Jun 2026 19:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Mon, 08 Jun 2026 17:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: crypto: caam - guard HMAC key hex dumps in hash_digest_key Use print_hex_dump_devel() for dumping sensitive HMAC key bytes in hash_digest_key() to avoid leaking secrets at runtime when CONFIG_DYNAMIC_DEBUG is enabled.
Title crypto: caam - guard HMAC key hex dumps in hash_digest_key
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-06-08T15:46:18.317Z

Reserved: 2026-05-13T15:03:33.110Z

Link: CVE-2026-46291

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-08T17:16:47.357

Modified: 2026-06-08T17:16:47.357

Link: CVE-2026-46291

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-08T20:00:15Z

Weaknesses