CVE-2026-99365
nfsd: Fix id-to-name cache entry leak in idtoname_parse()
- CVSS
- —
- EPSS
- 0.24% (p17)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-12-01
- Product
- Linux Linux
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.
Fixed in
1cccc9de860073d23aae780a6eae5bf668c2cf1f · 1faf4158d9f6953fe8c8a7401434fcbded7a1fd3 · 24a2a428cb2a95cabdeccd98912b41bc13907065 · 43f06992d9c717368b3635d9a177e610cf2b063c · 5.10.275 · 5.15.226 · 6.1.193 · 6.12.117 · 6.18.61 · 6.6.163 · 7.3.2 · 8ca3b74c0c447af17d0e27e76658a3d4cae3c5ba · c480c7bea087d923f97a0fd88e51943c3a9cb407 · cb3edcc87e81c24b8cb7ebc3c52c1f2b65f9beb2 · e48996466d78606890613a950fcddbdaa8fd41e8
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=2.6.17, <5.10.275 | 5.10.275 |
| Linux | Kernel | >=5.11.0, <5.15.226 | 5.15.226 |
| Linux | Kernel | >=5.16.0, <6.1.193 | 6.1.193 |
| Linux | Kernel | >=6.13.0, <6.18.61 | 6.18.61 |
| Linux | Kernel | >=6.19.0, <7.3.2 | 7.3.2 |
| Linux | Kernel | >=6.2.0, <6.6.163 | 6.6.163 |
| Linux | Kernel | >=6.7.0, <6.12.117 | 6.12.117 |
| vendor | Linux | >=f9ecc921b5b5e135050e7f22fef873c249aee3fc, <1cccc9de860073d23aae780a6eae5bf668c2cf1f | 1cccc9de860073d23aae780a6eae5bf668c2cf1f |
| vendor | Linux | >=f9ecc921b5b5e135050e7f22fef873c249aee3fc, <1faf4158d9f6953fe8c8a7401434fcbded7a1fd3 | 1faf4158d9f6953fe8c8a7401434fcbded7a1fd3 |
| vendor | Linux | >=f9ecc921b5b5e135050e7f22fef873c249aee3fc, <24a2a428cb2a95cabdeccd98912b41bc13907065 | 24a2a428cb2a95cabdeccd98912b41bc13907065 |
| vendor | Linux | >=f9ecc921b5b5e135050e7f22fef873c249aee3fc, <43f06992d9c717368b3635d9a177e610cf2b063c | 43f06992d9c717368b3635d9a177e610cf2b063c |
| vendor | Linux | >=f9ecc921b5b5e135050e7f22fef873c249aee3fc, <8ca3b74c0c447af17d0e27e76658a3d4cae3c5ba | 8ca3b74c0c447af17d0e27e76658a3d4cae3c5ba |
| vendor | Linux | >=f9ecc921b5b5e135050e7f22fef873c249aee3fc, <c480c7bea087d923f97a0fd88e51943c3a9cb407 | c480c7bea087d923f97a0fd88e51943c3a9cb407 |
| vendor | Linux | >=f9ecc921b5b5e135050e7f22fef873c249aee3fc, <cb3edcc87e81c24b8cb7ebc3c52c1f2b65f9beb2 | cb3edcc87e81c24b8cb7ebc3c52c1f2b65f9beb2 |
| vendor | Linux | >=f9ecc921b5b5e135050e7f22fef873c249aee3fc, <e48996466d78606890613a950fcddbdaa8fd41e8 | e48996466d78606890613a950fcddbdaa8fd41e8 |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/c480c7bea087d923f97a0fd88e51943c3a9cb407 other
- https://git.kernel.org/stable/c/e48996466d78606890613a950fcddbdaa8fd41e8 other
- https://git.kernel.org/stable/c/24a2a428cb2a95cabdeccd98912b41bc13907065 other
- https://git.kernel.org/stable/c/8ca3b74c0c447af17d0e27e76658a3d4cae3c5ba other
- https://git.kernel.org/stable/c/1faf4158d9f6953fe8c8a7401434fcbded7a1fd3 other
- https://git.kernel.org/stable/c/43f06992d9c717368b3635d9a177e610cf2b063c other
- https://git.kernel.org/stable/c/cb3edcc87e81c24b8cb7ebc3c52c1f2b65f9beb2 other
- https://git.kernel.org/stable/c/1cccc9de860073d23aae780a6eae5bf668c2cf1f other
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99365.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99365 advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package