CVE-2024-43823: PCI: keystone: Fix NULL pointer dereference in case of DT error in ks_pcie_setup_rc_app_regs()
In the Linux kernel, the following vulnerability has been resolved:
PCI: keystone: Fix NULL pointer dereference in case of DT error in kspciesetuprcappregs()
If IORESOURCEMEM is not provided in Device Tree due to any error, resourcelistfirsttype() will return NULL and pciparserequestofpciranges() 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 Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-43823?
The severity of CVE-2024-43823 is categorized as moderate due to the potential for NULL pointer dereference issues.
How do I fix CVE-2024-43823?
To fix CVE-2024-43823, update the Linux kernel to the latest patched version as recommended in the vulnerability advisories.
Which Linux kernel versions are affected by CVE-2024-43823?
CVE-2024-43823 affects Linux kernel versions from 5.10 to 6.2 and from 6.7 to 6.10.3.
What systems are impacted by CVE-2024-43823?
Systems running affected versions of the Linux kernel, particularly those utilizing PCI devices with Device Tree configurations, are impacted by CVE-2024-43823.
Is a specific distribution mentioned for CVE-2024-43823?
Yes, Debian Linux versions such as 5.10.223-1 and 6.1.119-1~deb11u1 are specifically mentioned as needing updates to mitigate CVE-2024-43823.