CVE-2026-80836 · UNKNOWN
Summary: crypto: virtio - bound the akcipher result length
Details
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 packages
- GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [a36bd0ad9fbf69d0d711b1c105954ce8d6cc144a – e0ffee8adc71a0bc548e5ebc6e021c013a874d79]
- Linux Kernel [5.19.0 – 6.1.191] [6.2.0 – 6.6.158] [6.7.0 – 6.12.111] [6.13.0 – 6.18.49] [6.19.0 – 7.1.13] [7.2.0 – 7.2.3]
References
- https://git.kernel.org/stable/c/12c4f29e97f31b013f77ad65ba7daeb02aaa6abe
- https://git.kernel.org/stable/c/1f9f877b1ef1fbd4ee95571cddf39c8002cee252
- https://git.kernel.org/stable/c/3fda114a42f1510a4ec8a0b17a0cfc997952ccc2
- https://git.kernel.org/stable/c/5545de5050cbc3594506d74f2c392b0716cf8bca
- https://git.kernel.org/stable/c/bd33cb19bcb432a4dd5e8f50be5e2547af1e9f78
- https://git.kernel.org/stable/c/e0ffee8adc71a0bc548e5ebc6e021c013a874d79
- https://git.kernel.org/stable/c/f77a956f6a19f9463ef1527c9d0cda50dded6b92
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80836.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-80836
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git