Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-99365

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • f9ecc921b5b5e135050e7f22fef873c249aee3fc to < c480c7bea087d923f97a0fd88e51943c3a9cb407affected
  • f9ecc921b5b5e135050e7f22fef873c249aee3fc to < e48996466d78606890613a950fcddbdaa8fd41e8affected
  • f9ecc921b5b5e135050e7f22fef873c249aee3fc to < 24a2a428cb2a95cabdeccd98912b41bc13907065affected
  • f9ecc921b5b5e135050e7f22fef873c249aee3fc to < 8ca3b74c0c447af17d0e27e76658a3d4cae3c5baaffected

Linux Linux

Default version status: affected

  • 2.6.17affected
  • 0 to < 2.6.17unaffected
  • 6.12.117 to ≤ 6.12.*unaffected
  • 6.18.61 to ≤ 6.18.*unaffected
  • 7.3.2 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References