qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: P J P
Subject: [PATCH v2 0/2] Ensure PCI configuration access is within bounds
Date: Thu, 4 Jun 2020 01:52:49 +0530

From: Prasad J Pandit <pjp@fedoraproject.org>

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

-- 
2.26.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]