nfsd: Fix cred ref leak in nfsd_nl_listener_set_doit().
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.12.78, Kernel 6.18.19, Kernel 6.19.9 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: nfsd: Fix cred ref leak in nfsd_nl_listener_set_doit(). nfsd_nl_listener_set_doit() uses get_current_cred() without put_cred(). As we can see from other callers, svc_xprt_create_from_sa() does not require the extra refcount. nfsd_nl_listener_set_doit() is always in the process context, sendmsg(), and current->cred does not go away. Let's use current_cred() in nfsd_nl_listener_set_doit().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.10 <6.12.78, >=6.13 <6.18.19, >=6.19 <6.19.9, =7.0, >=16a471177496c8e04a9793812c187a2c1a2192fa <02e87ec0bc706cb93fa47b43d18c4d10102c7d54, >=16a471177496c8e04a9793812c187a2c1a2192fa <92978c83bb4eef55d02a6c990c01c423131eefa7, >=16a471177496c8e04a9793812c187a2c1a2192fa <cba413765376bb466035c9160fa3130402971e2c, =6.10, >=16a471177496c8e04a9793812c187a2c1a2192fa <019debe5851d7355bea9ff0248cc317878924d8f | 6.12.78, 6.18.19, 6.19.9, 02e87ec0bc706cb93fa47b43d18c4d10102c7d54, 92978c83bb4eef55d02a6c990c01c423131eefa7, cba413765376bb466035c9160fa3130402971e2c, 019debe5851d7355bea9ff0248cc317878924d8f |
| linux-kernel: Kernel | >=6.10.0 <6.12.78, >=6.13.0 <6.18.19, >=6.19.0 <6.19.9 | 6.12.78, 6.18.19, 6.19.9 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket