CVE-2026-93161: crypto: qat - clear AES key schedule from stack
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
crypto: qat - clear AES key schedule from stack
qat_alg_xts_reverse_key() expands the forward XTS AES key on the stack. That schedule contains key material and can remain in the stack frame.
Clear the temporary crypto_aes_ctx with memzero_explicit() after the copy.
The Linux kernel CVE team has assigned CVE-2026-93161 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.11 with commit 5106dfeaeabea73d5132daab1d89d57b57fa98b7 and fixed in 5.15.221 with commit b9cf42622b30178f554fa74411eec67e02d70411 Issue introduced in 5.11 with commit 5106dfeaeabea73d5132daab1d89d57b57fa98b7 and fixed in 6.1.188 with commit fb1194b78a163cc56bb9480c707fc34b53522359 Issue introduced in 5.11 with commit 5106dfeaeabea73d5132daab1d89d57b57fa98b7 and fixed in 6.6.157 with commit 892f34dc1819cceb8841005a68086710ce3763b6 Issue introduced in 5.11 with commit 5106dfeaeabea73d5132daab1d89d57b57fa98b7 and fixed in 6.12.110 with commit dcaa0f1e86cbcb01f68131ae907b54cf299a3592 Issue introduced in 5.11 with commit 5106dfeaeabea73d5132daab1d89d57b57fa98b7 and fixed in 6.18.52 with commit 9af019e213ada5c3d0d33c515071a1414b6899f3 Issue introduced in 5.11 with commit 5106dfeaeabea73d5132daab1d89d57b57fa98b7 and fixed in 7.2.6 with commit 92e4979e1a770860b26aa3d90cce0c4c6a53833c Issue introduced in 5.11 with commit 5106dfeaeabea73d5132daab1d89d57b57fa98b7 and fixed in 7.3-rc1 with commit d41a9fcfb7f9ee36e4a4aaf5e7996bca6be1e7a9
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-93161
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/crypto/intel/qat/qat_common/qat_algs.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/b9cf42622b30178f554fa74411eec67e02d70411 https://git.kernel.org/stable/c/fb1194b78a163cc56bb9480c707fc34b53522359 https://git.kernel.org/stable/c/892f34dc1819cceb8841005a68086710ce3763b6 https://git.kernel.org/stable/c/dcaa0f1e86cbcb01f68131ae907b54cf299a3592 https://git.kernel.org/stable/c/9af019e213ada5c3d0d33c515071a1414b6899f3 https://git.kernel.org/stable/c/92e4979e1a770860b26aa3d90cce0c4c6a53833c https://git.kernel.org/stable/c/d41a9fcfb7f9ee36e4a4aaf5e7996bca6be1e7a9