Skip to main content
← All vulnerabilities
CVE-2026-97592

s390/crypto: Fix missing scrub of temp buffers with AES ctr and gcm algorithm

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.8, and 3 more
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: s390/crypto: Fix missing scrub of temp buffers with AES ctr and gcm algorithm In function ctr_aes_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. When the buffer is used explicitly scrub it at the end of the code block to avoid exposure of maybe sensitive data. In a similar way the function gcm_aes_crypt() hat an error path where the CPACF param block was not scrubbed. Instead of return early now these error paths go to end of function where explicit scrubbing is done. Similar with the buffers which are part of the gcm_sg_walk structs from the variables gw_in and gw_out.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From cd51e26a3b89706beec64f2d8296cfb1c34e0c79 · fixed in 538f00558db9a66aeff20c36f43692c178a0e0eb; From a7f580cdb42ec3d53bbb7c4e4335a98423703285 · fixed in 6ab772d675a885c3119bf0e79ea9e84756d7657a; From dbc9a791a70ea47be9f2acf251700fe254a2ab23 · fixed in e17b85eb8cee90a1200fa5e7806db7ffa08a0608; From d68ac38895e84446848b7647ab9458d54cacba3e · fixed in 991c875310254a13b3a637bb279379c8c66e842d; From d07f951903fa9922c375b8ab1ce81b18a0034e3b · fixed in 11eca05d2062032e1f07d56be58ed0b99f4b1d63; From d07f951903fa9922c375b8ab1ce81b18a0034e3b · fixed in 8b90a47c4fba27bb4f2f086611742493629e9696; From d07f951903fa9922c375b8ab1ce81b18a0034e3b · fixed in a83488cecb35f924b7541306ed84893bb9906196; From d07f951903fa9922c375b8ab1ce81b18a0034e3b · fixed in 8b7c3b6914f19caf648d05726a86af6326d3c2c6; From 5.10.210 · fixed in 5.10.271; From 5.15.149 · fixed in 5.15.222; From 6.1.76 · fixed in 6.1.189; From 6.6.15 · fixed in 6.6.158; From 6.7.3 · fixed in 6.8

  • Linux Linux

    6.8

  • KernelLinux

    fixed in 5.10.271; From 5.11.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.111; From 6.8.0 · fixed in 6.18.53; From 6.13.0 · fixed in 7.2.7

References 8

git.kernel.org