CVE-2022-49475

spi: spi-fsl-qspi: check return value after calling platform_get_resource_byname()

MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: spi: spi-fsl-qspi: check return value after calling platform_get_resource_byname() It will cause null-ptr-deref if platform_get_resource_byname() returns NULL, we need check the return value.

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 858e26a515c28df3ef542d9c09493b54a329d6cf < 560dcbe1c7a78f597f2167371ebdbe2bca3d0735 ; affected 858e26a515c28df3ef542d9c09493b54a329d6cf < 10f537219629769498ecb8515e096be213224c24 ; affected 858e26a515c28df3ef542d9c09493b54a329d6cf < 33dda87d04598ac5d9a849218a373443f7d3de66 ; affected 858e26a515c28df3ef542d9c09493b54a329d6cf < 9d9c84825c3ec359b165c762a424cfdefe87fdd7 ; affected 858e26a515c28df3ef542d9c09493b54a329d6cf < a2b331ac11e1cac56f5b7d367e9f3c5796deaaed
Linux · Linuxaffected 5.8 ; unaffected 0 < 5.8 ; unaffected 5.10.121 ≤ 5.10.* ; unaffected 5.15.46 ≤ 5.15.* ; unaffected 5.17.14 ≤ 5.17.* ; unaffected 5.18.3 ≤ 5.18.*

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