5.5medium
PCI: keystone: Fix NULL pointer dereference in case of DT error in ks_pcie_setup_rc_app_regs()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.30% (higher than 16% of CVEs)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 5.10 before 6.1.103, from 6.2 before 6.6.44, from 6.7 before 6.10.3 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: PCI: keystone: corrige la desreferencia del puntero NULL en caso de error DT en ks_pcie_setup_rc_app_regs() Si no se proporciona IORESOURCE_MEM en el árbol de dispositivos debido a algún error, Resource_list_first_type() devolverá NULL y pci_parse_request_of_pci_ranges () simplemente emitirá una advertencia. Esto provocará una desreferencia del puntero NULL. Corrija este error agregando una verificación de devolución NULL. Encontrado por el Centro de verificación de Linux (linuxtesting.org) con SVACE.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-43823 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-43823 changed 2026-06-17 | Public domain |