Shellfeed logo Shellfeed

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