linux/drivers/pci/controller
Bharat Gooty 06773ce45d 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:25:58 +01:00
..
dwc PCI: qcom: Add missing reset for ipq806x 2020-12-30 11:25:40 +01:00
Kconfig
Makefile
pci-aardvark.c PCI: aardvark: Don't blindly enable ASPM L0s and don't write to read-only register 2020-06-25 15:32:49 +02:00
pci-ftpci100.c
pci-host-common.c
pci-host-generic.c
pci-hyperv.c PCI: hv: Avoid use of hv_pci_dev->pci_slot after freeing it 2019-10-01 08:26:09 +02:00
pci-mvebu.c
pci-rcar-gen2.c
pci-tegra.c PCI: tegra: Fix runtime PM imbalance on error 2020-10-01 13:14:47 +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-25 15:32:54 +02:00
pci-versatile.c
pci-xgene-msi.c
pci-xgene.c
pcie-altera-msi.c
pcie-altera.c
pcie-cadence-ep.c PCI: cadence: Write MSI data with 32bits 2019-12-01 09:16:15 +01:00
pcie-cadence-host.c PCI: cadence: Fix updating Vendor ID and Subsystem Vendor ID register 2020-08-19 08:14:59 +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-30 10:38:21 +01:00
pcie-iproc-platform.c
pcie-iproc.c PCI: iproc: Fix out-of-bound array accesses 2020-12-30 11:25:58 +01:00
pcie-iproc.h
pcie-mediatek.c PCI: mediatek: Add controller support for MT7629 2020-06-22 09:05:24 +02:00
pcie-mobiveil.c PCI: mobiveil: Fix the valid check for inbound and outbound windows 2020-01-27 14:51:00 +01:00
pcie-rcar.c PCI: rcar: Fix incorrect programming of OB windows 2020-06-25 15:32:55 +02:00
pcie-rockchip-ep.c PCI: rockchip: Fix rockchip_pcie_ep_assert_intx() bitwise operations 2020-01-27 14:50:38 +01:00
pcie-rockchip-host.c PCI: rockchip: Propagate errors for optional regulators 2019-10-07 18:57:12 +02:00
pcie-rockchip.c
pcie-rockchip.h
pcie-tango.c
pcie-xilinx-nwl.c PCI: xilinx-nwl: Fix Multi MSI data programming 2019-07-31 07:27:02 +02:00
pcie-xilinx.c PCI: xilinx: Check for __get_free_pages() failure 2019-06-15 11:54:10 +02:00
vmd.c irqdomain/treewide: Free firmware node after domain removal 2020-08-19 08:15:07 +02:00