Skip to content

Two buffer overruns in device assignment

Markus Armbruster qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v11 patch 1 replyApplied

Changes in v2 from the cover letter

* Treat readlink() filling buffer as error (Alex)
* Use sizeof() rather than PATH_MAX (Peter)
* PATCH 2/2 unchanged

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vfio: Fix overrun after readlink() fills buffer completelyhw/misc/vfio.c+3 -30 replies
2/2pci-assign: Fix potential read beyond buffer on -EBUSYhw/i386/kvm/pci-assign.c+1 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPeter MaydellAlex Williamson
SeriesA-b
1/2
2/2R-b

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/2] Two buffer overruns in device assignment

v2:
* Treat readlink() filling buffer as error (Alex)
* Use sizeof() rather than PATH_MAX (Peter)
* PATCH 2/2 unchanged

Markus Armbruster (2):
vfio: Fix overrun after readlink() fills buffer completely
pci-assign: Fix potential read beyond buffer on -EBUSY

 hw/i386/kvm/pci-assign.c | 1 +
 hw/misc/vfio.c           | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)
Signature · 1 line
1.8.1.4