← CVE Intelligence

CVE-2024-43860

remoteproc: imx_rproc: Skip over memory region when node value is NULL PUBLISHED

Description (CNA)

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]

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected a0ff4aa6f010801b2a61c203c6e09d01b110fddf before 6884fd0283e0831be153fb8d82d9eda8a55acaaa; affected a0ff4aa6f010801b2a61c203c6e09d01b110fddf before 84beb7738459cac0ff9f8a7c4654b8ff82a702c0; affected a0ff4aa6f010801b2a61c203c6e09d01b110fddf before 6b50462b473fdccdc0dfad73001147e40ff19a66; affected a0ff4aa6f010801b2a61c203c6e09d01b110fddf before 4e13b7c23988c0a13fdca92e94296a3bc2ff9f21; affected a0ff4aa6f010801b2a61c203c6e09d01b110fddf before 9a17cf8b2ce483fa75258bc2cdcf628f24bcf5f8; affected a0ff4aa6f010801b2a61c203c6e09d01b110fddf before 6c9ea3547fad252fe9ae5d3ed7e066e2085bf3a2; affected a0ff4aa6f010801b2a61c203c6e09d01b110fddf before c877a5f5268d4ab8224b9c9fbce3d746e4e72bc9; affected a0ff4aa6f010801b2a61c203c6e09d01b110fddf before 2fa26ca8b786888673689ccc9da6094150939982
Linux / Linuxaffected 4.14; unaffected 0 before 4.14; unaffected 4.19.320 through 4.19.*; unaffected 5.4.282 through 5.4.*; unaffected 5.10.224 through 5.10.*; unaffected 5.15.165 through 5.15.*; unaffected 6.1.103 through 6.1.*; unaffected 6.6.44 through 6.6.*; unaffected 6.10.3 through 6.10.*; unaffected 6.11 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.