pds_core: fix debugfs_lookup dentry leak and error handling (Linux Linux)

CVE-2026-64147
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: pds_core: fix debugfs_lookup dentry leak and error handling debugfs_lookup() returns a dentry with an elevated reference count that must be released with dput(). The current code discards the returned dentry without calling dput(), causing a reference leak on every firmware reset recovery. Additionally, when CONFIG_DEBUG_FS is disabled, debugfs_lookup() returns ERR_PTR(-ENODEV), not NULL. The current check passes for error pointers and would call dput() on an invalid pointer, causing a crash.

Faiblesses (CWE)

  • CWE-401 — Mémoire non libérée après sa durée de vie utile

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 2bbf2b1c20f934a054172175ccbabcc01fe69ef6 < 60ef1675b652e912f3eb064767af4432393291fd ; affected bc90fbe0c3182157d2be100a2f6c2edbb1820677 < 26e19622c485e53c3fdb299e822068a0542ddf0c ; affected bc90fbe0c3182157d2be100a2f6c2edbb1820677 < 91d13e92b983e6c6d7631012c2e20ae8057de9f2 ; affected bc90fbe0c3182157d2be100a2f6c2edbb1820677 < d7f4dd4c8fb380898fef7a77d48fce7ccdb4fc32 ; affected bc90fbe0c3182157d2be100a2f6c2edbb1820677 < dc416e32baaeb620b9809e9e25fc7b30889686e9 ; affected 3ffe14c36985e3174933127c9efad82ac8f3fefb
Linux · Linuxaffected 6.8 ; unaffected 0 < 6.8 ; unaffected 6.6.142 ≤ 6.6.* ; unaffected 6.12.92 ≤ 6.12.* ; unaffected 6.18.34 ≤ 6.18.* ; unaffected 7.0.11 ≤ 7.0.*

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