All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] libvhost-user, libvduse: fix buffer overflow (CVE-2026-6425)
@ 2026-04-17 13:26 Stefano Garzarella
  2026-04-17 13:26 ` [PATCH 1/2] libvhost-user: fix buffer overflow in virtqueue_read_indirect_desc() Stefano Garzarella
  2026-04-17 13:26 ` [PATCH 2/2] libvduse: fix buffer overflow in vduse_queue_read_indirect_desc() Stefano Garzarella
  0 siblings, 2 replies; 5+ messages in thread
From: Stefano Garzarella @ 2026-04-17 13:26 UTC (permalink / raw)
  To: qemu-devel
  Cc: Xie Yongji, qemu-stable, Michael S. Tsirkin, Stefano Garzarella

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(-)

-- 
2.53.0



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-05-11 10:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-17 13:26 [PATCH 0/2] libvhost-user, libvduse: fix buffer overflow (CVE-2026-6425) Stefano Garzarella
2026-04-17 13:26 ` [PATCH 1/2] libvhost-user: fix buffer overflow in virtqueue_read_indirect_desc() Stefano Garzarella
2026-05-11 10:43   ` Daniel P. Berrangé
2026-04-17 13:26 ` [PATCH 2/2] libvduse: fix buffer overflow in vduse_queue_read_indirect_desc() Stefano Garzarella
2026-05-11 10:44   ` Daniel P. Berrangé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.