lkml.org 
[lkml]   [2023]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] PCI/MSI: Hardening fixes
Date
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

\
 
 \ /
  Last update: 2023-03-26 23:47    [W:0.117 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site