lockd: Plug nlm_file leak when nlm_do_fopen() fails (Linux Linux)

CVE-2026-72219
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 12 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: lockd: Plug nlm_file leak when nlm_do_fopen() fails A client can repeatedly drive nlm_do_fopen() failures by presenting file handles that the underlying export rejects. After kzalloc_obj() succeeds in nlm_lookup_file(), the freshly allocated nlm_file is not yet inserted into nlm_files[]. The nlm_do_fopen() failure path jumps to out_unlock, which releases nlm_file_mutex and returns without freeing the allocation, so each failure leaks one nlm_file. Route the failure through out_free so kfree() runs before the function returns.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected e580323ac0b51ad10ec2e181d1f777479b7983e7 < bca74fff138429f3d5802865f38fc883d53a4f1a ; affected 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 < d7c677feb3aa1f42b1026d75a8ea61338b51e4fb ; affected 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 < 39f59bf67231ed2eb0cdf6337194360e964b609a ; affected 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 < ddfbd816273b4e9c9b836f5b8773664c6f40f807 ; affected 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 < 1403f1221a35a6caf959bb7bf005741f17263c66 ; affected 7f024fcd5c97dc70bb9121c80407cf3cf9be7159 < 1161c4b5bd0048c8148e919f818a33cff3623ef0
Linux · Linuxaffected 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

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