Skip to content

Ensure PCI configuration access is within bounds

P J P 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 19 repliesIn review
  2. v11 patch 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ait-vga: check address before reading configuration byteshw/display/ati.c+4 -14 replies
2/2pci: ensure configuration access is within boundshw/pci/pci.c+2 -015 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Ensure PCI configuration access is within bounds

From: Prasad J Pandit <[email protected]>

Hello,

This patch series fixes

1. While reading PCI configuration bytes, a guest may send an address towards the end of the configuration space. It may lead to an OOB access issue. Add check to ensure 'addr + size' is within bounds.

2. Assert that PCI configuration access is within bounds.

Thank you.
--
Prasad J Pandit (2):
ait-vga: check address before reading configuration bytes
pci: ensure configuration access is within bounds

 hw/display/ati.c | 5 ++++-
 hw/pci/pci.c     | 2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)
Signature · 1 line
2.26.2