libvhost-user, libvduse: fix buffer overflow (CVE-2026-6425)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | libvhost-user: fix buffer overflow in virtqueue_read_indirect_desc()subprojects/ | +4 | 1 reply | |
| 2/2 | libvduse: fix buffer overflow in vduse_queue_read_indirect_desc()subprojects/ | +4 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Daniel P. Berrangé |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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