What’s Vulnerable › Vulnerabilities

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

How to fix

Upgrade to a fixed version: Linux 7.4-rc1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-99365 or the next vulnerability affects your stack