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.
https://git.kernel.org/stable/c/a83488cecb35f924b7541306ed84893bb9906196
https://git.kernel.org/stable/c/8b90a47c4fba27bb4f2f086611742493629e9696
https://git.kernel.org/stable/c/8b7c3b6914f19caf648d05726a86af6326d3c2c6
https://git.kernel.org/stable/c/11eca05d2062032e1f07d56be58ed0b99f4b1d63