CVE-2024-50043
nfsd: fix possible badness in FREE_STATEID
Reported by linux · Published October 21, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.11.4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 3f29cc82a84c23cfd12b903029dd26002ca825f5, 3f29cc82a84c23cfd12b903029dd26002ca825f5, 172d038b7c4d3cfa9fc5ac210577c5c4f8256320 |
| Linux | Linux | 6.9, 0, 6.11.4 |
| linux | linux_kernel | 6.9, 6.9, 6.6.160 |
| Linux | Linux | 3f29cc82a84c23cfd12b903029dd26002ca825f5, 6.9, 0 |
Timeline
- Oct 21, 2024 CVE Published
- Oct 22, 2024 EPSS Score (30 in total, the first dated here)
- Oct 24, 2024 Coalition ESS Score (15 in total, the first dated here)
- Jan 2, 2026 Security Advisory (425 in total, the first dated here)
- Jan 2, 2026 CVE Updated
- Apr 29, 2026 Distribution Patch (358 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-50043
vulnetix vdb fixes CVE-2024-50043
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-50043/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart