s390/crypto: Fix missing scrub of temp buffers with PAES algorithm
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.537.2.77.3In 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.
From the CVE record · Linux
The Linux kernel's s390/crypto PAES code did not scrub a temporary buffer used for partial AES blocks and did not fully scrub a parameter block. This could expose sensitive data. The input does not specify how an attacker could access the data, whether authentication is needed, or whether user interaction is required.
Engineers running Linux kernels that use s390/crypto PAES should check their versions; affected versions are not specified.