nfsd: fix possible badness in FREE_STATEID
CVE-2024-50043 · published 21 Oct 2024
How serious is it
- Severity: critical, CVSS score 9.8 out of 10.
- No exploit prediction (EPSS) score yet.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2024-50043?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
- Linux Linux: 3f29cc82a84c23cfd12b903029dd26002ca825f5 to < 7ca9e472ce5c67daa3188a348ece8c02a0765039, 3f29cc82a84c23cfd12b903029dd26002ca825f5 to < c88c150a467fcb670a1608e2272beeee3e86df6e, 172d038b7c4d3cfa9fc5ac210577c5c4f8256320, 6.6.160 to < 6.7
- Linux Linux: 6.9
How to check
- Find out whether you run the affected product and which version, then compare it with the versions above.
How to fix
Copies a prompt for Claude Code, Cursor or Codex that asks it to check whether you run this product.
- Apply the vendor's update or mitigation from the references below. If there is none yet, limit exposure of the affected service until there is.
- If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
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.
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- git.kernel.org/stable/c/7ca9e472ce5c67daa3188a348ece8c02a0765039
- git.kernel.org/stable/c/c88c150a467fcb670a1608e2272beeee3e86df6e
Merged from CVE List. Last updated 25 Oct 2026. All vulnerabilities · RSS · JSON