crypto: s390/aes - Fix buffer overread in CTR mode
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 0200f3ecc19660bebeabbcbaf212957fcf1dbf8f · < d07f951903fa9922c375b8ab1ce81b18a0034e3b| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
crypto: s390/aes - Fix buffer overread in CTR mode
When processing the last block, the s390 ctr code will always read a whole block, even if there isn't a whole block of data left. Fix this by using the actual length left and copy it into a buffer first for processing.
From the CVE record · Linux
The Linux kernel’s s390 AES CTR code can read beyond the input buffer when processing a final block shorter than a full block. The input does not specify how an attacker could trigger this, whether authentication or user interaction is required, or the resulting impact beyond the overread.
Engineers running the Linux kernel with s390 AES CTR support should check their versions; affected versions were not provided.