{"id":"CVE-2026-99365","state":"PUBLISHED","title":"nfsd: Fix id-to-name cache entry leak in idtoname_parse()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: Fix id-to-name cache entry leak in idtoname_parse()\n\nidtoname_lookup() returns the id-to-name cache entry with a new\nreference. The name is parsed between the lookup and the update call,\nand when the parsed name is malformed (negative length or longer than\nIDMAP_NAMESZ), idtoname_parse() jumps to the error label without\ndropping the reference returned by idtoname_lookup(), leaking the cache\nentry.\n\nRelease the reference with cache_put() before taking the error exit.","publishedAt":"2026-11-19T14:22:55.897Z","updatedAt":"2026-11-19T14:37:48.172Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f9ecc921b5b5e135050e7f22fef873c249aee3fc","status":"affected","lessThan":"c480c7bea087d923f97a0fd88e51943c3a9cb407","versionType":"git"},{"version":"f9ecc921b5b5e135050e7f22fef873c249aee3fc","status":"affected","lessThan":"e48996466d78606890613a950fcddbdaa8fd41e8","versionType":"git"},{"version":"f9ecc921b5b5e135050e7f22fef873c249aee3fc","status":"affected","lessThan":"24a2a428cb2a95cabdeccd98912b41bc13907065","versionType":"git"},{"version":"f9ecc921b5b5e135050e7f22fef873c249aee3fc","status":"affected","lessThan":"8ca3b74c0c447af17d0e27e76658a3d4cae3c5ba","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfsd/nfs4idmap.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.17","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfsd/nfs4idmap.c"]}],"references":["https://git.kernel.org/stable/c/c480c7bea087d923f97a0fd88e51943c3a9cb407","https://git.kernel.org/stable/c/e48996466d78606890613a950fcddbdaa8fd41e8","https://git.kernel.org/stable/c/24a2a428cb2a95cabdeccd98912b41bc13907065","https://git.kernel.org/stable/c/8ca3b74c0c447af17d0e27e76658a3d4cae3c5ba"],"weaknesses":[],"ingestedAt":"2026-11-19T14:42:06.048Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99365.json","commit":"ac44738435f10e6dbe2f4dd504cf13737f9cf963","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99365","state":"PUBLISHED","datePublished":"2026-11-19T14:22:55.897Z","dateUpdated":"2026-11-19T14:37:48.172Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.410Z"},"containers":{"cna":{"title":"nfsd: Fix id-to-name cache entry leak in idtoname_parse()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: Fix id-to-name cache entry leak in idtoname_parse()\n\nidtoname_lookup() returns the id-to-name cache entry with a new\nreference. The name is parsed between the lookup and the update call,\nand when the parsed name is malformed (negative length or longer than\nIDMAP_NAMESZ), idtoname_parse() jumps to the error label without\ndropping the reference returned by idtoname_lookup(), leaking the cache\nentry.\n\nRelease the reference with cache_put() before taking the error exit."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f9ecc921b5b5e135050e7f22fef873c249aee3fc","status":"affected","lessThan":"c480c7bea087d923f97a0fd88e51943c3a9cb407","versionType":"git"},{"version":"f9ecc921b5b5e135050e7f22fef873c249aee3fc","status":"affected","lessThan":"e48996466d78606890613a950fcddbdaa8fd41e8","versionType":"git"},{"version":"f9ecc921b5b5e135050e7f22fef873c249aee3fc","status":"affected","lessThan":"24a2a428cb2a95cabdeccd98912b41bc13907065","versionType":"git"},{"version":"f9ecc921b5b5e135050e7f22fef873c249aee3fc","status":"affected","lessThan":"8ca3b74c0c447af17d0e27e76658a3d4cae3c5ba","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfsd/nfs4idmap.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.17","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfsd/nfs4idmap.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c480c7bea087d923f97a0fd88e51943c3a9cb407"},{"url":"https://git.kernel.org/stable/c/e48996466d78606890613a950fcddbdaa8fd41e8"},{"url":"https://git.kernel.org/stable/c/24a2a428cb2a95cabdeccd98912b41bc13907065"},{"url":"https://git.kernel.org/stable/c/8ca3b74c0c447af17d0e27e76658a3d4cae3c5ba"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-19T14:37:48.172Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.17","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.17","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.17","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.17","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}