CVE-2024-50043
published critical CVSS 3.1 · 9.8nfsd: fix possible badness in FREE_STATEID
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux3f29cc82a84c23cfd12b903029dd26002ca825f5 to < 7ca9e472ce5c67daa3188a348ece8c02a0765039 · 3f29cc82a84c23cfd12b903029dd26002ca825f5 to < c88c150a467fcb670a1608e2272beeee3e86df6e · 172d038b7c4d3cfa9fc5ac210577c5c4f8256320 · 6.6.160 to < 6.7 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.9 (affected) · 0 to < 6.9 (unaffected · semver) · 6.11.4 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| Ubuntu | noble | linux-buildinfo-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-320.202.8.2.el8uek | ELSA-2026-50261 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek64kaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek64k-coreaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek64k-develaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek64k-modulesaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| Oracle Linux | 9 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:5.15.0-320.202.8.2.el9uek | ELSA-2026-50261 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermaarch64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermppc64le | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longterms390x | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermx86_64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermaarch64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermppc64le | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longterms390x | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermx86_64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| Ubuntu | noble | linux-headers-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-image-unsigned-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-ipu6-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-ipu7-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-usbio-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-vision-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-oem-6.11 | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-oem-6.11-headers-6.11.0-1015 | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-oem-6.11-tools-6.11.0-1015 | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-tools-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | oracular | linux | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-aws | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - The vulnerable code is the NFSv4.1 FREE_STATEID compound operation in the in-kernel NFS server, driven entirely by RPC messages arriving from a remote client over TCP port 2049. No local access to the server is required. AC:L - The attacker controls both sides of the race — it creates the revoked delegation (by ignoring CB_RECALL until the laundromat revokes it) and then issues two concurrent FREE_STATEID compounds on separate session slots serviced by separate nfsd threads, retrying across arbitrarily many delegations. Concurrent stateid lookups that take transient references make the premature free reachable even without winning a tight window. PR:N - NFSv4.1 session establishment (EXCHANGE_ID/CREATE_SESSION) and AUTH_SYS access require no credential verification — the client simply asserts its own identity — so any host permitted to reach the export is effectively unauthenticated, consistent with prior kernel.org scoring of client-reachable nfsd state-handling flaws. UI:N - The entire sequence (obtain delegation, provoke recall, let it be revoked, send racing FREE_STATEIDs) is performed by the attacking client with no action by any server-side user or administrator. S:U - The corruption is confined to kernel memory within the NFS server's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - The double put frees a `nfs4_delegation` slab object while live references remain, giving a use-after-free that is reallocatable with attacker-groomed content and read back through `sc_file`/`sc_client`/`sc_stateid`, enabling disclosure of arbitrary kernel memory. I:H - The second `nfs4_put_stid()` writes into the freed object (`refcount_dec_and_lock`), spinlocks on a `clp` pointer read from freed memory, and can indirectly call `s->sc_free(s)` — a function pointer at a fixed offset in a reclaimable non-RCU slab object — yielding a control-flow-hijack/arbitrary-write primitive. A:H - Even unexploited, the refcount underflow trips a refcount_t WARN/saturation and the use-after-free on the delegation object corrupts the deleg_slab freelist and the client's stateid IDR, reliably oopsing or panicking the NFS server host.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 3f29cc82a84c23cfd12b903029dd26002ca825f5 to < 7ca9e472ce5c67daa3188a348ece8c02a0765039 (affected · git)3f29cc82a84c23cfd12b903029dd26002ca825f5 to < c88c150a467fcb670a1608e2272beeee3e86df6e (affected · git)172d038b7c4d3cfa9fc5ac210577c5c4f8256320 (affected · git)6.6.160 to < 6.7 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.9 (affected)0 to < 6.9 (unaffected · semver)6.11.4 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
2Linux · cna
nfsd: fix possible badness in FREE_STATEID
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 93030f37e5c12a89e2e989284a266bf742186cb77a136d6082a55482dbda01cb
- Ingested
- 21 Oct 2026, 12:48:59 UTC
- Source record
- Official CVE record