nfsd: Fix id-to-name cache entry leak in idtoname_parse() (Linux Linux)

CVE-2026-99365
Not available

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 17 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: nfsd: Fix id-to-name cache entry leak in idtoname_parse() idtoname_lookup() returns the id-to-name cache entry with a new reference. The name is parsed between the lookup and the update call, and when the parsed name is malformed (negative length or longer than IDMAP_NAMESZ), idtoname_parse() jumps to the error label without dropping the reference returned by idtoname_lookup(), leaking the cache entry. Release the reference with cache_put() before taking the error exit.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ f9ecc921b5b5e135050e7f22fef873c249aee3fc < 1faf4158d9f6953fe8c8a7401434fcbded7a1fd3
affected : ≥ f9ecc921b5b5e135050e7f22fef873c249aee3fc < 43f06992d9c717368b3635d9a177e610cf2b063c
affected : ≥ f9ecc921b5b5e135050e7f22fef873c249aee3fc < cb3edcc87e81c24b8cb7ebc3c52c1f2b65f9beb2
affected : ≥ f9ecc921b5b5e135050e7f22fef873c249aee3fc < 1cccc9de860073d23aae780a6eae5bf668c2cf1f
affected : ≥ f9ecc921b5b5e135050e7f22fef873c249aee3fc < c480c7bea087d923f97a0fd88e51943c3a9cb407
affected : ≥ f9ecc921b5b5e135050e7f22fef873c249aee3fc < e48996466d78606890613a950fcddbdaa8fd41e8
affected : ≥ f9ecc921b5b5e135050e7f22fef873c249aee3fc < 24a2a428cb2a95cabdeccd98912b41bc13907065
affected : ≥ f9ecc921b5b5e135050e7f22fef873c249aee3fc < 8ca3b74c0c447af17d0e27e76658a3d4cae3c5ba
Other versions : unaffected
Linux · Linux
affected : 2.6.17
unaffected : ≥ 0 < 2.6.17
unaffected : ≥ 5.10.275 ≤ 5.10.*
unaffected : ≥ 5.15.226 ≤ 5.15.*
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.117 ≤ 6.12.*
unaffected : ≥ 6.18.61 ≤ 6.18.*
unaffected : ≥ 7.3.2 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

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