CVE-2024-50043

published 21 Oct 2024 · updated 17 Nov 2026

nfsd: fix possible badness in FREE_STATEID

9.8CriticalCVSS 9.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c88c150a467fcb670a1608e2272beeee3e86df6e, Kernel 6.7, Kernel 7ca9e472ce5c67daa3188a348ece8c02a0765039 and 1 more.

In the Linux kernel, the following vulnerability has been resolved: nfsd: fix possible badness in FREE_STATEID When multiple FREE_STATEIDs are sent for the same delegation stateid, it can lead to a possible either use-after-free or counter refcount underflow errors. In nfsd4_free_stateid() under the client lock we find a delegation stateid, however the code drops the lock before calling nfs4_put_stid(), that allows another FREE_STATE to find the stateid again. The first one will proceed to then free the stateid which leads to either use-after-free or decrementing already zeroed counter.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.9, >=3f29cc82a84c23cfd12b903029dd26002ca825f5 <c88c150a467fcb670a1608e2272beeee3e86df6e, >=6.6.160 <6.7, =172d038b7c4d3cfa9fc5ac210577c5c4f8256320, >=3f29cc82a84c23cfd12b903029dd26002ca825f5 <7ca9e472ce5c67daa3188a348ece8c02a0765039c88c150a467fcb670a1608e2272beeee3e86df6e, 6.7, 7ca9e472ce5c67daa3188a348ece8c02a0765039
linux-kernel: Kernel>=6.9.0 <6.11.4, >=6.6.160 <6.76.11.4, 6.7

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-50043 severity on Zeptric[![CVE-2024-50043](https://zeptric.io/badge/cve/CVE-2024-50043.svg)](https://zeptric.io/cve/CVE-2024-50043)