CVE-2024-43823

Source
https://cve.org/CVERecord?id=CVE-2024-43823
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-43823.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-43823
Downstream
Related
Published
2024-08-17T09:21:43.843Z
Modified
2026-03-11T07:51:11.506305Z
Summary
PCI: keystone: Fix NULL pointer dereference in case of DT error in ks_pcie_setup_rc_app_regs()
Details

In the Linux kernel, the following vulnerability has been resolved:

PCI: keystone: Fix NULL pointer dereference in case of DT error in kspciesetuprcapp_regs()

If IORESOURCEMEM is not provided in Device Tree due to any error, resourcelistfirsttype() will return NULL and pciparserequestofpci_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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43823.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0f71c60ffd26943fa9646aa73ad7889ace116ce2
Fixed
bbba48ad67c53feea05936ea1e029dcca8057506
Fixed
0a6f1b5fe8ef8268aaa069035639968ceeea0a23
Fixed
dbcdd1863ba2ec9b76ec131df25d797709e05597
Fixed
a231707a91f323af1e5d9f1722055ec2fc1c7775

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-43823.json"