CVE-2024-43860

medium

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]

References

https://git.kernel.org/stable/c/c877a5f5268d4ab8224b9c9fbce3d746e4e72bc9

https://git.kernel.org/stable/c/9a17cf8b2ce483fa75258bc2cdcf628f24bcf5f8

https://git.kernel.org/stable/c/84beb7738459cac0ff9f8a7c4654b8ff82a702c0

https://git.kernel.org/stable/c/6c9ea3547fad252fe9ae5d3ed7e066e2085bf3a2

https://git.kernel.org/stable/c/6b50462b473fdccdc0dfad73001147e40ff19a66

https://git.kernel.org/stable/c/6884fd0283e0831be153fb8d82d9eda8a55acaaa

https://git.kernel.org/stable/c/4e13b7c23988c0a13fdca92e94296a3bc2ff9f21

https://git.kernel.org/stable/c/2fa26ca8b786888673689ccc9da6094150939982

Details

Source: Mitre, NVD

Published: 2024-08-17

Updated: 2024-08-22

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium