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

CVE-2024-43860
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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]

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected a0ff4aa6f010801b2a61c203c6e09d01b110fddf < 6884fd0283e0831be153fb8d82d9eda8a55acaaa ; affected a0ff4aa6f010801b2a61c203c6e09d01b110fddf < 84beb7738459cac0ff9f8a7c4654b8ff82a702c0 ; affected a0ff4aa6f010801b2a61c203c6e09d01b110fddf < 6b50462b473fdccdc0dfad73001147e40ff19a66 ; affected a0ff4aa6f010801b2a61c203c6e09d01b110fddf < 4e13b7c23988c0a13fdca92e94296a3bc2ff9f21 ; affected a0ff4aa6f010801b2a61c203c6e09d01b110fddf < 9a17cf8b2ce483fa75258bc2cdcf628f24bcf5f8 ; affected a0ff4aa6f010801b2a61c203c6e09d01b110fddf < 6c9ea3547fad252fe9ae5d3ed7e066e2085bf3a2
Linux · Linuxaffected 4.14 ; unaffected 0 < 4.14 ; unaffected 4.19.320 ≤ 4.19.* ; unaffected 5.4.282 ≤ 5.4.* ; unaffected 5.10.224 ≤ 5.10.* ; unaffected 5.15.165 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD