backlight: pm8941: Add NULL check in wled_configure() (Linux Linux)

CVE-2025-38143
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: backlight: pm8941: Add NULL check in wled_configure() devm_kasprintf() returns NULL when memory allocation fails. Currently, wled_configure() does not check for this case, which results in a NULL pointer dereference. Add NULL check after devm_kasprintf() to prevent this issue.

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 f86b77583d88c8402e8d89a339d96f847318f8a8 < 6a56446595730a5e3f06a30902e23cb037d28146 ; affected f86b77583d88c8402e8d89a339d96f847318f8a8 < 9d06ac32c202142da40904180f2669ed4f5073ac ; affected f86b77583d88c8402e8d89a339d96f847318f8a8 < 21528806560510458378ea52c37e35b0773afaea ; affected f86b77583d88c8402e8d89a339d96f847318f8a8 < fde314445332015273c8f51d2659885c606fe135 ; affected f86b77583d88c8402e8d89a339d96f847318f8a8 < 1be2000b703b02e149f8f2061054489f6c18c972 ; affected f86b77583d88c8402e8d89a339d96f847318f8a8 < 4a715be3fe80b68fa55cb3569af3d294be101626
Linux · Linuxaffected 5.0 ; unaffected 0 < 5.0 ; unaffected 5.10.239 ≤ 5.10.* ; unaffected 5.15.186 ≤ 5.15.* ; unaffected 6.1.142 ≤ 6.1.* ; unaffected 6.6.94 ≤ 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