[PATCH 0/2] PCI/MSI: Hardening fixes

Alexander Shishkin
2023-01-19T17:10:51Z

Hi,

Here are 2 hardening fixes around MSIX table size/offset handling,
aiming to prevent a malicious device or VMM from triggering bugs by
supplying bogus values.

Alexander Shishkin (2):
PCI/MSI: Cache the MSIX table size
PCI/MSI: Validate device supplied MSI table offset and size

drivers/pci/msi/api.c | 7 ++++++-
drivers/pci/msi/msi.c | 12 +++++++++---
include/linux/pci.h | 1 +
3 files changed, 16 insertions(+), 4 deletions(-)

--
2.39.0