What’s Vulnerable › Vulnerabilities
CVE-2024-43823: PCI: keystone: Fix NULL pointer dereference in case of DT error in ks_pcie_setup_rc_app_regs()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-17 · updated 2026-06-17
- Weakness: CWE-476
Description
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 products
- Linux kernel: from 5.10 before 6.1.103; from 6.2 before 6.6.44; from 6.7 before 6.10.3 — fixed in 6.1.103, 6.10.3, 6.6.44
How to fix
Upgrade to a fixed version: Linux kernel 6.1.103, 6.10.3, 6.6.44. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0a6f1b5fe8ef8268aaa069035639968ceeea0a23
- https://git.kernel.org/stable/c/a231707a91f323af1e5d9f1722055ec2fc1c7775
- https://git.kernel.org/stable/c/bbba48ad67c53feea05936ea1e029dcca8057506
- https://git.kernel.org/stable/c/dbcdd1863ba2ec9b76ec131df25d797709e05597
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Get alerted when CVE-2024-43823 or the next vulnerability affects your stack