1
0
Fork 0
alistair23-linux/drivers/pci/controller
Bharat Gooty 49b563bfdd PCI: iproc: Fix out-of-bound array accesses
[ Upstream commit a3ff529f5d ]

Declare the full size array for all revisions of PAX register sets
to avoid potentially out of bound access of the register array
when they are being initialized in iproc_pcie_rev_init().

Link: https://lore.kernel.org/r/20201001060054.6616-2-srinath.mannam@broadcom.com
Fixes: 06324ede76 ("PCI: iproc: Improve core register population")
Signed-off-by: Bharat Gooty <bharat.gooty@broadcom.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:51:14 +01:00
..
dwc PCI: qcom: Make sure PCIe is reset before init for rev 2.1.0 2020-11-18 19:20:16 +01:00
Kconfig PCI: hv: Add a Hyper-V PCI interface driver for software backchannel interface 2019-08-22 00:25:12 -07:00
Makefile PCI: hv: Add a Hyper-V PCI interface driver for software backchannel interface 2019-08-22 00:25:12 -07:00
pci-aardvark.c PCI: aardvark: Check for errors from pci_bridge_emul_init() call 2020-10-29 09:57:53 +01:00
pci-ftpci100.c
pci-host-common.c PCI: Use devm_add_action_or_reset() 2019-07-24 14:20:31 -05:00
pci-host-generic.c PCI: Fix comment typos 2019-04-13 11:17:15 -05:00
pci-hyperv-intf.c PCI: hv: Add a Hyper-V PCI interface driver for software backchannel interface 2019-08-22 00:25:12 -07:00
pci-hyperv.c pci-v5.4-changes 2019-09-23 19:16:01 -07:00
pci-mvebu.c PCI: pci-bridge-emul: Extend pci_bridge_emul_init() with flags 2019-02-22 10:51:14 +00:00
pci-rcar-gen2.c
pci-tegra.c PCI: tegra: Fix runtime PM imbalance on error 2020-10-01 13:18:07 +02:00
pci-thunder-ecam.c
pci-thunder-pem.c
pci-v3-semi.c PCI: v3-semi: Fix a memory leak in v3_pci_probe() error handling paths 2020-06-24 17:50:24 +02:00
pci-versatile.c
pci-xgene-msi.c
pci-xgene.c
pcie-altera-msi.c PCI: altera-msi: Allow building as module 2019-05-30 15:34:54 +01:00
pcie-altera.c PCI: altera: Fix configuration type based on secondary number 2019-06-17 12:22:25 +01:00
pcie-cadence-ep.c PCI: cadence: Remove pci_epf_linkup() from Cadence EP driver 2019-02-15 10:02:38 +00:00
pcie-cadence-host.c PCI: cadence: Fix updating Vendor ID and Subsystem Vendor ID register 2020-08-19 08:16:16 +02:00
pcie-cadence.c
pcie-cadence.h
pcie-iproc-bcma.c
pcie-iproc-msi.c PCI: iproc: Set affinity mask on MSI interrupts 2020-10-29 09:57:53 +01:00
pcie-iproc-platform.c PCI: iproc: Propagate errors for optional PHYs 2019-09-04 15:44:05 +01:00
pcie-iproc.c PCI: iproc: Fix out-of-bound array accesses 2020-12-30 11:51:14 +01:00
pcie-iproc.h
pcie-mediatek.c Merge branch 'pci/trivial' 2019-09-23 16:10:31 -05:00
pcie-mobiveil.c PCI: mobiveil: Fix csr_read()/write() build issue 2020-01-26 10:01:04 +01:00
pcie-rcar.c PCI: rcar: Fix incorrect programming of OB windows 2020-06-24 17:50:24 +02:00
pcie-rockchip-ep.c PCI: rockchip: Fix rockchip_pcie_ep_assert_intx() bitwise operations 2019-04-15 10:39:26 +01:00
pcie-rockchip-host.c PCI: rockchip: Propagate errors for optional regulators 2019-09-04 15:37:47 +01:00
pcie-rockchip.c
pcie-rockchip.h
pcie-tango.c
pcie-xilinx-nwl.c PCI: xilinx-nwl: Fix Multi MSI data programming 2019-06-26 10:56:51 +01:00
pcie-xilinx.c PCI: xilinx: Check for __get_free_pages() failure 2019-03-29 16:28:20 +00:00
vmd.c irqdomain/treewide: Free firmware node after domain removal 2020-08-19 08:16:27 +02:00