Skip to content

PCI/MSI: Hardening fixes

Alexander Shishkin linux-pci lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PCI/MSI: Cache the MSIX table sizedrivers/pci/msi/api.c drivers/pci/msi/msi.c include/linux/pci.h+8 -213 replies
2/2PCI/MSI: Validate device supplied MSI table offset and sizedrivers/pci/msi/msi.c+8 -20 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMika WesterbergIlpo Järvinen
1/2R-b
2/2R-b R-b

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

Read the v1 thread

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

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(-)
Signature · 1 line
2.39.0