# CVE-2024-43823: PCI: keystone: Fix NULL pointer dereference in case of DT error in ks_pcie_setup_rc_app_regs()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-08-17T09:21:43.843Z
- Modified: 2026-06-17T07:51:46.940Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0f71c60ffd26943fa9646aa73ad7889ace116ce2 before bbba48ad67c53feea05936ea1e029dcca8057506; from 0f71c60ffd26943fa9646aa73ad7889ace116ce2 before 0a6f1b5fe8ef8268aaa069035639968ceeea0a23; from 0f71c60ffd26943fa9646aa73ad7889ace116ce2 before dbcdd1863ba2ec9b76ec131df25d797709e05597; from 0f71c60ffd26943fa9646aa73ad7889ace116ce2 before a231707a91f323af1e5d9f1722055ec2fc1c7775; 5.10 (not affected: before 5.10; from 6.1.103 up to 6.1.*; from 6.6.44 up to 6.6.*; from 6.10.3 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 5.10 before 6.1.103; from 6.2 before 6.6.44; from 6.7 before 6.10.3

## References

- <https://git.kernel.org/stable/c/bbba48ad67c53feea05936ea1e029dcca8057506> (patch)
- <https://git.kernel.org/stable/c/0a6f1b5fe8ef8268aaa069035639968ceeea0a23> (patch)
- <https://git.kernel.org/stable/c/dbcdd1863ba2ec9b76ec131df25d797709e05597> (patch)
- <https://git.kernel.org/stable/c/a231707a91f323af1e5d9f1722055ec2fc1c7775> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-43823](https://www.cve.org/CVERecord?id=CVE-2024-43823), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-43823](https://nvd.nist.gov/vuln/detail/CVE-2024-43823), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-43823 · Whole record: https://cve.day/CVE-2024-43823.json · Rebuilt by cve.day 2026-11-25T22:58:44.490Z
