PCI: iproc: Fix out-of-bound array accesses
stable inclusion from linux-4.19.164 commit 06773ce45d65c74c0aebdd766fbc3a916546d4ba -------------------------------- [ Upstream commit a3ff529f ] 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: 06324ede ("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> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com> Signed-off-by:
Cheng Jian <cj.chengjian@huawei.com>
Loading
Please sign in to comment