HID: uclogic: Add NULL check in uclogic_input_configured() (Linux Linux)

CVE-2025-38007
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: HID: uclogic: Add NULL check in uclogic_input_configured() devm_kasprintf() returns NULL when memory allocation fails. Currently, uclogic_input_configured() 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 f78bb490b16ecb506d4904be4b00bf9aad6588f9 < a9f58479a1a2c6f72907679c4df2f4ed92b05b39 ; affected 51f49e3927ad545cec0c0afb86856ccacd9f085d < 00d52b2fa6083dd0f5c44f3604cd1bad1f9177dc ; affected f283805d984343b2f216e2f4c6c7af265b9542ae < 01b76cc8ca243fc3376b035aa326bbc4f03d384b ; affected dd613a4e45f8d35f49a63a2064e5308fa5619e29 < ad6caaf29bc26a48b1241ce82561fcbcf0a75aa9 ; affected dd613a4e45f8d35f49a63a2064e5308fa5619e29 < 94e7272b636a0677082e0604609e4c471e0a2caf ; affected dd613a4e45f8d35f49a63a2064e5308fa5619e29 < b616453d719ee1b8bf2ea6f6cc6c6258a572a590
Linux · Linuxaffected 6.6 ; unaffected 0 < 6.6 ; unaffected 6.1.140 ≤ 6.1.* ; unaffected 6.6.92 ≤ 6.6.* ; unaffected 6.12.30 ≤ 6.12.* ; unaffected 6.14.8 ≤ 6.14.*

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