What happened
In the Linux kernel, the following vulnerability has been resolved: crypto: virtio - bound the akcipher result length virtio_crypto_dataq_akcipher_callback() sets the result length from the device-reported response length without bounding it to the destination buffer, which was allocated for the original request length. sg_copy_from_buffer() then reads that many bytes from the destination buffer; a backend reporting a larger length over-reads adjacent kernel heap into the caller's scatterlist (an out-of-bounds read). Clamp the reported length to the originally requested destination length. A conforming device reports no more than that, so valid results are unaffected.
Affected versions
Linux: a36bd0ad9fbf69d0d711b1c105954ce8d6cc144a through before bd33cb19bcb432a4dd5e8f50be5e2547af1e9f78 (git); a36bd0ad9fbf69d0d711b1c105954ce8d6cc144a through before 12c4f29e97f31b013f77ad65ba7daeb02aaa6abe (git); a36bd0ad9fbf69d0d711b1c105954ce8d6cc144a through before 5545de5050cbc3594506d74f2c392b0716cf8bca (git); a36bd0ad9fbf69d0d711b1c105954ce8d6cc144a through before 3fda114a42f1510a4ec8a0b17a0cfc997952ccc2 (git); a36bd0ad9fbf69d0d711b1c105954ce8d6cc144a through before 1f9f877b1ef1fbd4ee95571cddf39c8002cee252 (git); a36bd0ad9fbf69d0d711b1c105954ce8d6cc144a through before f77a956f6a19f9463ef1527c9d0cda50dded6b92 (git); 5.19 Fixed: See vendor advisory.
Why it matters
Review the vendor advisory and exposure of the affected product to determine operational impact.
Detection & mitigation
- Apply vendor-provided updates or mitigations.
- Review affected product exposure and access logs.
Public PoC references
No public PoC reference has passed the current publication threshold.