nfsd: Fix id-to-name cache entry leak in idtoname_parse()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e48996466d78606890613a950fcddbdaa8fd41e8, Kernel 24a2a428cb2a95cabdeccd98912b41bc13907065, Kernel 8ca3b74c0c447af17d0e27e76658a3d4cae3c5ba and 4 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=f9ecc921b5b5e135050e7f22fef873c249aee3fc <e48996466d78606890613a950fcddbdaa8fd41e8, >=f9ecc921b5b5e135050e7f22fef873c249aee3fc <24a2a428cb2a95cabdeccd98912b41bc13907065, >=f9ecc921b5b5e135050e7f22fef873c249aee3fc <8ca3b74c0c447af17d0e27e76658a3d4cae3c5ba, >=f9ecc921b5b5e135050e7f22fef873c249aee3fc <c480c7bea087d923f97a0fd88e51943c3a9cb407, =2.6.17 | e48996466d78606890613a950fcddbdaa8fd41e8, 24a2a428cb2a95cabdeccd98912b41bc13907065, 8ca3b74c0c447af17d0e27e76658a3d4cae3c5ba, c480c7bea087d923f97a0fd88e51943c3a9cb407 |
| linux-kernel: Kernel | >=6.13.0 <6.18.61, >=6.19.0 <7.3.2, >=2.6.17 <6.12.117 | 6.18.61, 7.3.2, 6.12.117 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket