soc: aspeed: Add NULL check in aspeed_lpc_enable_snoop() (Linux Linux)

CVE-2025-38145
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: soc: aspeed: Add NULL check in aspeed_lpc_enable_snoop() devm_kasprintf() returns NULL when memory allocation fails. Currently, aspeed_lpc_enable_snoop() does not check for this case, which results in a NULL pointer dereference. Add NULL check after devm_kasprintf() to prevent this issue. [arj: Fix Fixes: tag to use subject from 3772e5da4454]

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 3772e5da445420543b25825ac2b5971f3743f6e8 < 2beee9cf833374550e673d428ad8b6ab37c175b3 ; affected 3772e5da445420543b25825ac2b5971f3743f6e8 < c550999f939b529d28a914d5034cc4290066aea6 ; affected 3772e5da445420543b25825ac2b5971f3743f6e8 < 1fd889c145722579aa038c31cbc07cfdd4d75166 ; affected 3772e5da445420543b25825ac2b5971f3743f6e8 < d62a589eaaec6385e3e2b25cf5a28b4560ace93f ; affected 3772e5da445420543b25825ac2b5971f3743f6e8 < 8312b1f776f71979bf33bda7acc05b348e8792c7 ; affected 3772e5da445420543b25825ac2b5971f3743f6e8 < f697ef117ecbf3a367dfc559a6a3589905956530
Linux · Linuxaffected 4.19 ; unaffected 0 < 4.19 ; unaffected 5.4.295 ≤ 5.4.* ; unaffected 5.10.239 ≤ 5.10.* ; unaffected 5.15.186 ≤ 5.15.* ; unaffected 6.1.142 ≤ 6.1.*

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