CVE-2026-97590: s390/crypto: Fix missing scrub of temp buffers with PAES algorithm
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
s390/crypto: Fix missing scrub of temp buffers with PAES algorithm
In function ctr_paes_do_crypt() there is a buffer used to process remaining bytes < AES_BLOCK_SIZE. This buffer was not scrubbed and thus could lead to expose of unwanted data. Rework the code to explicitly scrub the buffer at the end of the function to avoid exposure of maybe sensitive data.
In function __xts_2keys_prep_param() change the existing scrub to clean the whole param block instead of just the key field.
The Linux kernel CVE team has assigned CVE-2026-97590 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.16 with commit 6cd87cb5ef6ca50ae17c371482ceaab1d635e232 and fixed in 6.18.53 with commit 7d1456d54b3c784cc2917c219a528092cefe30cd Issue introduced in 6.16 with commit 6cd87cb5ef6ca50ae17c371482ceaab1d635e232 and fixed in 7.2.7 with commit d7159d2132e9aa51af7acb51c6742d9b30f987b3 Issue introduced in 6.16 with commit 6cd87cb5ef6ca50ae17c371482ceaab1d635e232 and fixed in 7.3-rc3 with commit 19a218b46b2471d370c11fb52040f36ac8d05d23
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-97590
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:
arch/s390/crypto/paes_s390.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/7d1456d54b3c784cc2917c219a528092cefe30cd https://git.kernel.org/stable/c/d7159d2132e9aa51af7acb51c6742d9b30f987b3 https://git.kernel.org/stable/c/19a218b46b2471d370c11fb52040f36ac8d05d23