On 7/6/2026 2:19 AM, Christian Borntraeger wrote:
From: Matthew Rosato<[email protected]>

For PCISTG/PCISTB/PCILG instruction emulation, ensure that the offset
and length provided by the guest does not overflow, and only return
a memory region when the specified offset+length combination matches
an existing subregion or the parent region.

Cc:[email protected]
Fixes: 4f6482bfe3 ("s390x/pci: search for subregion inside the BARs")
Reviewed-by: Christian Borntraeger<[email protected]>
Signed-off-by: Matthew Rosato<[email protected]>
---
  hw/s390x/s390-pci-inst.c | 24 +++++++++++++++++++++++-
  1 file changed, 23 insertions(+), 1 deletion(-)

Reviewed-by: Farhan Ali<[email protected]>



Reply via email to