{"id":"CVE-2024-50043","published":"2024-10-21T19:39:41Z","modified":"2026-10-21T12:35:27Z","title":"nfsd: fix possible badness in FREE_STATEID","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: fix possible badness in FREE_STATEID\n\nWhen multiple FREE_STATEIDs are sent for the same delegation stateid,\nit can lead to a possible either use-after-free or counter refcount\nunderflow errors.\n\nIn nfsd4_free_stateid() under the client lock we find a delegation\nstateid, however the code drops the lock before calling nfs4_put_stid(),\nthat allows another FREE_STATE to find the stateid again. The first one\nwill proceed to then free the stateid which leads to either\nuse-after-free or decrementing already zeroed counter.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00704,"percentile":0.48866,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/7ca9e472ce5c67daa3188a348ece8c02a0765039","tags":[]},{"url":"https://git.kernel.org/stable/c/c88c150a467fcb670a1608e2272beeee3e86df6e","tags":[]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":9.77},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 3f29cc82a84c23cfd12b903029dd26002ca825f5, < 7ca9e472ce5c67daa3188a348ece8c02a0765039",">= 3f29cc82a84c23cfd12b903029dd26002ca825f5, < c88c150a467fcb670a1608e2272beeee3e86df6e","172d038b7c4d3cfa9fc5ac210577c5c4f8256320",">= 6.6.160, < 6.7"]},{"vendor":"Linux","product":"Linux","versions":["6.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-22T13:24:30.411615Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-44980","exploited":false,"provenance":"source"}}