s390/crypto: Fix missing scrub of temp buffers with AES ctr and gcm algorithm
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e17b85eb8cee90a1200fa5e7806db7ffa08a0608, Kernel 6.8, Kernel 6ab772d675a885c3119bf0e79ea9e84756d7657a and 13 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=dbc9a791a70ea47be9f2acf251700fe254a2ab23 <e17b85eb8cee90a1200fa5e7806db7ffa08a0608, >=6.7.3 <6.8, >=a7f580cdb42ec3d53bbb7c4e4335a98423703285 <6ab772d675a885c3119bf0e79ea9e84756d7657a, >=cd51e26a3b89706beec64f2d8296cfb1c34e0c79 <538f00558db9a66aeff20c36f43692c178a0e0eb, >=d07f951903fa9922c375b8ab1ce81b18a0034e3b <11eca05d2062032e1f07d56be58ed0b99f4b1d63, >=d07f951903fa9922c375b8ab1ce81b18a0034e3b <8b7c3b6914f19caf648d05726a86af6326d3c2c6, >=d07f951903fa9922c375b8ab1ce81b18a0034e3b <8b90a47c4fba27bb4f2f086611742493629e9696, >=d07f951903fa9922c375b8ab1ce81b18a0034e3b <a83488cecb35f924b7541306ed84893bb9906196, >=d68ac38895e84446848b7647ab9458d54cacba3e <991c875310254a13b3a637bb279379c8c66e842d, =6.8, =e78f1a43e72daf77705ad5b9946de66fc708b874, >=5.10.210 <5.10.271, >=5.15.149 <5.15.222, >=6.1.76 <6.1.189, >=6.6.15 <6.6.158 | e17b85eb8cee90a1200fa5e7806db7ffa08a0608, 6.8, 6ab772d675a885c3119bf0e79ea9e84756d7657a, 538f00558db9a66aeff20c36f43692c178a0e0eb, 11eca05d2062032e1f07d56be58ed0b99f4b1d63, 8b7c3b6914f19caf648d05726a86af6326d3c2c6, 8b90a47c4fba27bb4f2f086611742493629e9696, a83488cecb35f924b7541306ed84893bb9906196, 991c875310254a13b3a637bb279379c8c66e842d, 5.10.271, 5.15.222, 6.1.189, 6.6.158 |
| linux-kernel: Kernel | >=5.15.149 <5.15.222, >=6.1.76 <6.1.189, >=6.13.0 <6.18.53, >=6.19.0 <7.2.7, >=6.6.15 <6.6.158, >=6.7.3 <6.8, >=6.8.0 <6.12.111, >=5.10.210 <5.10.271 | 5.15.222, 6.1.189, 6.18.53, 7.2.7, 6.6.158, 6.8, 6.12.111, 5.10.271 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket