AZL-117301: CVE-2026-139708 affecting package kernel 6.6.161.1-1
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 key_tmp[] in safexcel_xcbcmac_setkey() and consts[] / _const[] in safexcel_cmac_setkey() with memzero_explicit() so sensitive key material does not remain on the stack.
Event History
Frequently Asked Questions
What conditions are required for key material to be exposed?
The data only states that temporary stack arrays in safexcel_xcbcmac_setkey() and safexcel_cmac_setkey() could retain crypto key material after those functions return. It does not specify an attack vector, required privileges, or conditions under which another party can read that stack memory.
Which cryptographic operations are implicated?
The affected functions are safexcel_xcbcmac_setkey() and safexcel_cmac_setkey(), which handle XCBC-MAC and CMAC key setup in the Inside Secure Safexcel crypto implementation.
How is the issue resolved?
The resolution is to scrub the temporary key_tmp[], consts[], and _const[] stack arrays with memzero_explicit() after use, preventing sensitive key material from remaining on the stack.