summaryrefslogtreecommitdiffstats
path: root/arch/x86/pci/init.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@orcam.me.uk>2022-03-31 08:10:55 +0100
committerThomas Gleixner <tglx@linutronix.de>2022-04-10 12:48:14 +0200
commit5d64089aa4a5bd3d7e00e3d6ddf4943dd34627b3 (patch)
treeffcd9ea8c06988ed4f87483e99a98f7c4a9a8a7c /arch/x86/pci/init.c
parentfe62bc23620fa027162e05594a610ff5e556496a (diff)
downloadlinux-5d64089aa4a5bd3d7e00e3d6ddf4943dd34627b3.tar.gz
linux-5d64089aa4a5bd3d7e00e3d6ddf4943dd34627b3.tar.bz2
linux-5d64089aa4a5bd3d7e00e3d6ddf4943dd34627b3.zip
x86/PCI: Add PIRQ routing table range checks
Verify that the PCI IRQ Routing Table header as well as individual slot entries are all wholly contained within the BIOS memory area. Do not even call the checksum calculator if the header would overrun the area and then bail out early if any slot would. Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/alpine.DEB.2.21.2203301735510.22465@angie.orcam.me.uk
Diffstat (limited to 'arch/x86/pci/init.c')
0 files changed, 0 insertions, 0 deletions