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]
git.kernel.org/stable/c/2fa26ca8b786888673689ccc9da6094150939982
git.kernel.org/stable/c/4e13b7c23988c0a13fdca92e94296a3bc2ff9f21
git.kernel.org/stable/c/6884fd0283e0831be153fb8d82d9eda8a55acaaa
git.kernel.org/stable/c/6b50462b473fdccdc0dfad73001147e40ff19a66
git.kernel.org/stable/c/6c9ea3547fad252fe9ae5d3ed7e066e2085bf3a2
git.kernel.org/stable/c/84beb7738459cac0ff9f8a7c4654b8ff82a702c0
git.kernel.org/stable/c/9a17cf8b2ce483fa75258bc2cdcf628f24bcf5f8
git.kernel.org/stable/c/c877a5f5268d4ab8224b9c9fbce3d746e4e72bc9