CVE-2026-139708: crypto: inside-secure - Zeroize temporary arrays on stack with sensitive data
In the Linux kernel, the following vulnerability has been resolved:
crypto: inside-secure - Zeroize temporary arrays on stack with sensitive data
keytmp[] in safexcelxcbcmacsetkey() and consts[] / const[] in safexcelcmacsetkey() contain crypto key material that should not get exposed to the outside once the function is done. Scrub the arrays with memzeroexplicit() to avoid that the data could leak via the stack.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Zeroize the temporary key-material arrays with memzero_explicit(): key_tmp[] in safexcel_xcbcmac_setkey(), and consts[] / _const[] in safexcel_cmac_setkey().
Event History
Frequently Asked Questions
Which systems are potentially exposed to this issue?
The issue is in the Linux kernel's Inside Secure Safexcel crypto implementation. It affects key setup handling for XCBC-MAC and CMAC operations in the identified Safexcel functions.
What sensitive information could be exposed?
Temporary stack arrays containing cryptographic key material may remain on the stack after the relevant key setup functions return. The fix prevents this residual key material from being exposed through a stack leak.
What does the remediation change?
The resolved code explicitly clears key_tmp[] in safexcel_xcbcmac_setkey() and consts[] and _const[] in safexcel_cmac_setkey() using memzero_explicit().
How can I determine whether my kernel includes the fix?
Check whether the kernel source or applied stable changes include the referenced commits: 6c90de9f081770455715ad4db339f193e7bf6fe5, 186eda2a5e7cef8980137bd8d01c4cf3afc095a4, or 542299e66294748425179ddf7338b6e01a8eac77.