Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-43860

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

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]

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • a0ff4aa6f010801b2a61c203c6e09d01b110fddf to < 6884fd0283e0831be153fb8d82d9eda8a55acaaaaffected
  • a0ff4aa6f010801b2a61c203c6e09d01b110fddf to < 84beb7738459cac0ff9f8a7c4654b8ff82a702c0affected
  • a0ff4aa6f010801b2a61c203c6e09d01b110fddf to < 6b50462b473fdccdc0dfad73001147e40ff19a66affected
  • a0ff4aa6f010801b2a61c203c6e09d01b110fddf to < 4e13b7c23988c0a13fdca92e94296a3bc2ff9f21affected
  • a0ff4aa6f010801b2a61c203c6e09d01b110fddf to < 9a17cf8b2ce483fa75258bc2cdcf628f24bcf5f8affected
  • a0ff4aa6f010801b2a61c203c6e09d01b110fddf to < 6c9ea3547fad252fe9ae5d3ed7e066e2085bf3a2affected
  • a0ff4aa6f010801b2a61c203c6e09d01b110fddf to < c877a5f5268d4ab8224b9c9fbce3d746e4e72bc9affected
  • a0ff4aa6f010801b2a61c203c6e09d01b110fddf to < 2fa26ca8b786888673689ccc9da6094150939982affected

Linux Linux

Default version status: affected

  • 4.14affected
  • 0 to < 4.14unaffected
  • 4.19.320 to ≤ 4.19.*unaffected
  • 5.4.282 to ≤ 5.4.*unaffected
  • 5.10.224 to ≤ 5.10.*unaffected
  • 5.15.165 to ≤ 5.15.*unaffected
  • 6.1.103 to ≤ 6.1.*unaffected
  • 6.6.44 to ≤ 6.6.*unaffected
  • 6.10.3 to ≤ 6.10.*unaffected
  • 6.11 to ≤ *unaffected

References