CVE-2026-139708

crypto: inside-secure - Zeroize temporary arrays on stack with sensitive data

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

crypto: inside-secure - Zeroize temporary arrays on stack with sensitive data

key_tmp[] in safexcel_xcbcmac_setkey() and consts[] / _const[] in
safexcel_cmac_setkey() contain crypto key material that should not
get exposed to the outside once the function is done. Scrub the
arrays with memzero_explicit() to avoid that the data could leak
via the stack.

Analysis

AI-generated

Technical impact

The vulnerability involves temporary stack arrays that hold cryptographic key material in the Linux kernel. In functions safexcel_xcbcmac_setkey, key_tmp contains key material, and in safexcel_cmac_setkey, consts and _const contain key data. When these functions complete, the kernel fails to zero out those arrays, meaning the sensitive data can remain in memory and potentially be read after the call. This lack of zeroization may allow attackers to recover cryptographic keys or secrets, compromising confidentiality. The flaw is a form of plaintext storage in memory, CWE-312.

Affected Systems

All Linux kernel implementations that compile the cryptographic modules safexcel_xcbcmac and safexcel_cmac without the zeroization patch are affected. The issue was fixed by adding memzero_explicit calls to clear key_tmp, consts, and _const. The relevant commits referenced in the advisory are 186eda2a5e7cef8980137bd8d01c4cf3afc095a4, 542299e66294748425179ddf7338b6e01a8eac77, 5c87bcb2f98dbfe08efa016af037b0f9701ba381, and 6c90de9f081770455715ad4db339f193e7bf6fe5. Consequently, kernel versions updated after these commits contain the fix. Deploying such kernels on any Linux distribution is required.

Risk and Exploitability

Because the vulnerability relies on the persistence of key material in stack memory, exploitation would require the attacker to have the ability to read kernel memory, a privilege normally restricted to root or kernel processes. No public exploit has been reported, and the vulnerability is not listed in the CISA KEV catalog. The EPSS score is not available, so the exact probability of exploitation is uncertain, but the potential impact of key leakage is significant. Systems with sensitive cryptographic operations should prioritize applying the kernel update.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a Linux kernel version that includes the zeroization patch for safexcel_xcbcmac and safexcel_cmac, which adds memzero_explicit calls to clear key_tmp, consts, and _const.
  • If an upgrade is not immediately possible, manually apply the patch by editing the affected source files to insert calls to memzero_explicit for the identified arrays.
  • As a temporary containment measure, restrict unprivileged processes from reading kernel memory by enforcing strict capability controls and using SELinux or AppArmor policies.

Generated by OpenCVE AI on December 1, 2026 at 01:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-311
CWE-312
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: crypto: inside-secure - Zeroize temporary arrays on stack with sensitive data key_tmp[] in safexcel_xcbcmac_setkey() and consts[] / _const[] in safexcel_cmac_setkey() contain crypto key material that should not get exposed to the outside once the function is done. Scrub the arrays with memzero_explicit() to avoid that the data could leak via the stack.
Title crypto: inside-secure - Zeroize temporary arrays on stack with sensitive data
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-311

    Missing Encryption of Sensitive Data

  • CWE-312

    Cleartext Storage of Sensitive Information

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:20 PM
Modified
Nov 30, 2026, 2:20 PM