CVE-2024-43860

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

State
Published
Severity
Not scored
Published
Aug 17, 2024
Updated
May 11, 2026
Reserved
Aug 17, 2024

Read the record on cve.org

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]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a0ff4aa6f010801b2a61c203c6e09d01b110fddf to before 6884fd0283e0831be153fb8d82d9eda8a55acaaaAffected
  • a0ff4aa6f010801b2a61c203c6e09d01b110fddf to before 84beb7738459cac0ff9f8a7c4654b8ff82a702c0Affected
  • a0ff4aa6f010801b2a61c203c6e09d01b110fddf to before 6b50462b473fdccdc0dfad73001147e40ff19a66Affected
  • a0ff4aa6f010801b2a61c203c6e09d01b110fddf to before 4e13b7c23988c0a13fdca92e94296a3bc2ff9f21Affected
  • a0ff4aa6f010801b2a61c203c6e09d01b110fddf to before 9a17cf8b2ce483fa75258bc2cdcf628f24bcf5f8Affected
  • a0ff4aa6f010801b2a61c203c6e09d01b110fddf to before 6c9ea3547fad252fe9ae5d3ed7e066e2085bf3a2Affected
  • a0ff4aa6f010801b2a61c203c6e09d01b110fddf to before c877a5f5268d4ab8224b9c9fbce3d746e4e72bc9Affected
  • a0ff4aa6f010801b2a61c203c6e09d01b110fddf to before 2fa26ca8b786888673689ccc9da6094150939982Affected
LinuxLinux
  • 4.14Affected
  • before 4.14Not affected
  • 4.19.320 through 4.19.*Not affected
  • 5.4.282 through 5.4.*Not affected
  • 5.10.224 through 5.10.*Not affected
  • 5.15.165 through 5.15.*Not affected
  • 6.1.103 through 6.1.*Not affected
  • 6.6.44 through 6.6.*Not affected
  • 6.10.3 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.