net: ll_temac: platform_get_resource replaced by wrong function (Linux Linux)

CVE-2024-35796
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.23 % · centile 14 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: net: ll_temac: platform_get_resource replaced by wrong function The function platform_get_resource was replaced with devm_platform_ioremap_resource_byname and is called using 0 as name. This eventually ends up in platform_get_resource_byname in the call stack, where it causes a null pointer in strcmp. if (type == resource_type(r) && !strcmp(r->name, name)) It should have been replaced with devm_platform_ioremap_resource.

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:HCISA-ADP
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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected bd69058f50d5ffa659423bcfa6fe6280ce9c760a < 6d9395ba7f85bdb7af0b93272e537484ecbeff48 ; affected bd69058f50d5ffa659423bcfa6fe6280ce9c760a < 553d294db94b5f139378022df480a9fb6c3ae39e ; affected bd69058f50d5ffa659423bcfa6fe6280ce9c760a < 46efbdbc95a30951c2579caf97b6df2ee2b3bef3 ; affected bd69058f50d5ffa659423bcfa6fe6280ce9c760a < 476eed5f1c22034774902a980aa48dc4662cb39a ; affected bd69058f50d5ffa659423bcfa6fe6280ce9c760a < 7e9edb569fd9f688d887e36db8170f6e22bafbc8 ; affected bd69058f50d5ffa659423bcfa6fe6280ce9c760a < 92c0c29f667870f17c0b764544bdf22ce0e886a1
Linux · Linuxaffected 5.9 ; unaffected 0 < 5.9 ; unaffected 5.10.215 ≤ 5.10.* ; unaffected 5.15.154 ≤ 5.15.* ; unaffected 6.1.84 ≤ 6.1.* ; unaffected 6.6.24 ≤ 6.6.*

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