nfsd: Fix id-to-name cache entry leak in idtoname_parse()
- State
- Published
- Severity
- Not Scored
- Published
- Nov 19, 2026
- Updated
- Nov 23, 2026
- Reserved
- Sep 25, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | f9ecc921b5b5e135050e7f22fef873c249aee3fc to before 1faf4158d9f6953fe8c8a7401434fcbded7a1fd3 Affectedf9ecc921b5b5e135050e7f22fef873c249aee3fc to before 43f06992d9c717368b3635d9a177e610cf2b063c Affectedf9ecc921b5b5e135050e7f22fef873c249aee3fc to before cb3edcc87e81c24b8cb7ebc3c52c1f2b65f9beb2 Affectedf9ecc921b5b5e135050e7f22fef873c249aee3fc to before 1cccc9de860073d23aae780a6eae5bf668c2cf1f Affectedf9ecc921b5b5e135050e7f22fef873c249aee3fc to before c480c7bea087d923f97a0fd88e51943c3a9cb407 Affectedf9ecc921b5b5e135050e7f22fef873c249aee3fc to before e48996466d78606890613a950fcddbdaa8fd41e8 Affectedf9ecc921b5b5e135050e7f22fef873c249aee3fc to before 24a2a428cb2a95cabdeccd98912b41bc13907065 Affectedf9ecc921b5b5e135050e7f22fef873c249aee3fc to before 8ca3b74c0c447af17d0e27e76658a3d4cae3c5ba Affected |
| Linux Linux | 2.6.17 Affectedbefore 2.6.17 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/1faf4158d9f6953fe8c8a7401434fcbded7a1fd3
- https://git.kernel.org/stable/c/43f06992d9c717368b3635d9a177e610cf2b063c
- https://git.kernel.org/stable/c/cb3edcc87e81c24b8cb7ebc3c52c1f2b65f9beb2
- https://git.kernel.org/stable/c/1cccc9de860073d23aae780a6eae5bf668c2cf1f
- 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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.