CVE-2024-43860 remoteproc: imx_rproc: Skip over memory region when node value is NULL
A null pointer dereference in the Linux kernel's i.MX remoteproc driver can cause a system crash when processing empty memory region phandles.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-43860?
CVE-2024-43860 is a medium-severity vulnerability in Linux kernel, published on 17 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
remoteproc: imx_rproc: Skip over memory region when node value is NULL
In imx_rproc_addr_init() "nph = of_count_phandle_with_args()" just counts number of phandles. But phandles may be empty. So of_parse_phandle() in the parsing loop (0 < a < nph) may return NULL which is later dereferenced. Adjust this issue by adding NULL-return check.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
[Fixed title to fit within the prescribed 70-75 charcters]
Weakness: CWE-476
Which versions are affected by CVE-2024-43860?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-43860?
Apply the vendor's patch.
Is CVE-2024-43860 being exploited?
There is no known exploitation of CVE-2024-43860 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-47974, AZL-48015, BELL-CVE-2024-43860, DEBIAN-CVE-2024-43860, GHSA-58q5-g3vc-4rgh, UBUNTU-CVE-2024-43860.