PCI: keystone: Fix NULL pointer dereference in case of DT error in ks_pcie_setup_rc_app_regs()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0a6f1b5fe8ef8268aaa069035639968ceeea0a23, Kernel a231707a91f323af1e5d9f1722055ec2fc1c7775, Kernel bbba48ad67c53feea05936ea1e029dcca8057506 and 1 more.
In the Linux kernel, the following vulnerability has been resolved: PCI: keystone: Fix NULL pointer dereference in case of DT error in ks_pcie_setup_rc_app_regs() If IORESOURCE_MEM is not provided in Device Tree due to any error, resource_list_first_type() will return NULL and pci_parse_request_of_pci_ranges() will just emit a warning. This will cause a NULL pointer dereference. Fix this bug by adding NULL return check. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.10, >=0f71c60ffd26943fa9646aa73ad7889ace116ce2 <0a6f1b5fe8ef8268aaa069035639968ceeea0a23, >=0f71c60ffd26943fa9646aa73ad7889ace116ce2 <a231707a91f323af1e5d9f1722055ec2fc1c7775, >=0f71c60ffd26943fa9646aa73ad7889ace116ce2 <bbba48ad67c53feea05936ea1e029dcca8057506, >=0f71c60ffd26943fa9646aa73ad7889ace116ce2 <dbcdd1863ba2ec9b76ec131df25d797709e05597 | 0a6f1b5fe8ef8268aaa069035639968ceeea0a23, a231707a91f323af1e5d9f1722055ec2fc1c7775, bbba48ad67c53feea05936ea1e029dcca8057506, dbcdd1863ba2ec9b76ec131df25d797709e05597 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket