lockd: Plug nlm_file refcount leak on cached nlm_do_fopen() failure (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.22 % · centile 12 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: lockd: Plug nlm_file refcount leak on cached nlm_do_fopen() failure The cached-file path in nlm_lookup_file() reaches the found: label unconditionally, even when nlm_do_fopen() fails. At that label *result and file->f_count are updated before the error is returned. The wrappers nlm3svc_lookup_file() and nlm4svc_lookup_file() then bail out of their switch without copying *result back to their caller, so the proc handler's local nlm_file pointer remains NULL and the cleanup path skips nlm_release_file(). The f_count increment is never released, and nlm_traverse_files() can no longer reap the file because its refcount never returns to zero between requests. Short-circuit the cached path so neither *result nor f_count is touched when nlm_do_fopen() fails on a hashed nlm_file.
Références
- https://git.kernel.org/stable/c/6cd84cefd8b73e85b9eda17b319bd40a670f3a38
- https://git.kernel.org/stable/c/fe3b45b56b6c3d4b6b341de27fa291005287a21c
- https://git.kernel.org/stable/c/cb3420c047957e565101585bb4f15e1a6e3de6b0
- https://git.kernel.org/stable/c/7ce4c23e783e766507b2cef27bbf97e9ca944f1a
- https://git.kernel.org/stable/c/84008bf1860e0ef8059a7583a1163f36b704d08a
- https://git.kernel.org/stable/c/46d59ff421824b6483549d87f14efffbbbd1f6cb
- https://git.kernel.org/stable/c/3a5c55a19cad62f2973be25fe96a1a9e7f618e8a
- https://git.kernel.org/stable/c/70a38f87bed7f0694fd07988b47b2db1e10d8df3
Références européennes
- ENISA EUVD · EUVD-2026-58976
- GCVE · GCVE-0-2026-72218
Avis du CERT-FR
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1372 — Multiples vulnérabilités dans les produits SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1335 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected e580323ac0b51ad10ec2e181d1f777479b7983e7 < 6cd84cefd8b73e85b9eda17b319bd40a670f3a38 ; affected 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 < fe3b45b56b6c3d4b6b341de27fa291005287a21c ; affected 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 < cb3420c047957e565101585bb4f15e1a6e3de6b0 ; affected 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 < 7ce4c23e783e766507b2cef27bbf97e9ca944f1a ; affected 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 < 84008bf1860e0ef8059a7583a1163f36b704d08a ; affected 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 < 46d59ff421824b6483549d87f14efffbbbd1f6cb |
| Linux · Linux | affected 5.15 ; unaffected 0 < 5.15 ; unaffected 5.10.261 ≤ 5.10.* ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |