Skip to content

libvhost-user, libvduse: fix buffer overflow (CVE-2026-6425)

Stefano Garzarella qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2libvhost-user: fix buffer overflow in virtqueue_read_indirect_desc()subprojects/libvhost-user/libvhost-user.c+4 -31 reply
2/2libvduse: fix buffer overflow in vduse_queue_read_indirect_desc()subprojects/libvduse/libvduse.c+4 -31 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDaniel P. Berrangé
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] libvhost-user, libvduse: fix buffer overflow (CVE-2026-6425)

A guest-triggerable buffer overflow was reported in libvhost-user. When an indirect descriptor table crosses a memory region boundary, virtqueue_read_indirect_desc() falls back to a chunked copy, but the destination pointer is a struct vring_desc pointer advanced by a byte count, so it overflows the buffer.

libvduse has vduse_queue_read_indirect_desc() which was inspired by the libvhost-user counterpart, so it has the same issue.

Stefano Garzarella (2):
libvhost-user: fix buffer overflow in virtqueue_read_indirect_desc()
libvduse: fix buffer overflow in vduse_queue_read_indirect_desc()

 subprojects/libvduse/libvduse.c           | 7 ++++---
 subprojects/libvhost-user/libvhost-user.c | 7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)
Signature · 1 line
2.53.0