CVE-2026-53399
published critical CVSS 3.1 · 9.8nfsd: release layout stid on setlease failure
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc5c707f96fc9a6e5a57ca5baac892673270abe3d to < d788ef40a7517d22c97ab01700e4ae4c611b6f2f · c5c707f96fc9a6e5a57ca5baac892673270abe3d to < 2e0a5d6d62600b8c614d1b55e50ef94035d6adf9 · c5c707f96fc9a6e5a57ca5baac892673270abe3d to < 7bbb7ce74051c8be4b69ff44ce3db370600dae61 · c5c707f96fc9a6e5a57ca5baac892673270abe3d to < 48a586e382e4db1dbf958d44b63e081df5f8ed04 · c5c707f96fc9a6e5a57ca5baac892673270abe3d to < d369e5edfaaf83a448016e2f1da392b2174be801 · c5c707f96fc9a6e5a57ca5baac892673270abe3d to < 8dee7c278f1c2b5bb80e17a6281c3812fc8b0cdd · c5c707f96fc9a6e5a57ca5baac892673270abe3d to < 83c2b7797742339bb768f83935f7ca33950db138 · c5c707f96fc9a6e5a57ca5baac892673270abe3d to < 30d55c8aabb261bc3f427d6b9aae7ef6206063f9 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.0 (affected) · 0 to < 4.0 (unaffected · semver) · 5.10.261 through 5.10.* (unaffected · semver) · 5.15.212 through 5.15.* (unaffected · semver) · 6.1.178 through 6.1.* (unaffected · semver) · 6.6.145 through 6.6.* (unaffected · semver) · 6.12.96 through 6.12.* (unaffected · semver) · 6.18.39 through 6.18.* (unaffected · semver) · 7.1.3 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2026-129 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-211.50.1.el10_2 | ALSA-2026:61887 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-211.50.1.el10_2 | ALSA-2026:61887 |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.159.1.rt7.500.el8_10 | ALSA-2026:63013 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.159.1.el8_10 | ALSA-2026:63014 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-687.44.1.el9_8 | ALSA-2026:63129 |
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: release layout stid on setlease failure nfs4_alloc_stid() publishes the new stid into cl->cl_stateids via idr_alloc_cyclic() under cl_lock before returning to nfsd4_alloc_layout_stateid(). When nfsd4_layout_setlease() then fails, the error path frees the layout stateid directly with kmem_cache_free() without ever calling idr_remove(), leaving the IDR slot pointing at freed slab memory. Any subsequent IDR walker (states_show, client teardown) dereferences the dangling pointer. The correct teardown for an IDR-published stid is nfs4_put_stid(), which removes the IDR slot under cl_lock, dispatches sc_free (nfsd4_free_layout_stateid) to release ls->ls_file via nfsd4_close_layout(), and drops the nfs4_file reference in its tail. A second issue blocks that switch: nfsd4_free_layout_stateid() unconditionally inspects ls->ls_fence_work via delayed_work_pending() under ls_lock, but INIT_DELAYED_WORK(&ls->ls_fence_work, ...) currently runs only after the setlease call. On the setlease-failure path the destructor would touch an uninitialized delayed_work. nfsd4_alloc_layout_stateid() nfs4_alloc_stid() /* idr_alloc_cyclic under cl_lock */ nfsd4_layout_setlease() /* fails */ nfs4_put_stid() nfsd4_free_layout_stateid() delayed_work_pending(&ls->ls_fence_work) /* needs INIT */ nfsd4_close_layout() /* nfsd_file_put(ls->ls_file) */ put_nfs4_file() Fix by hoisting the ls_fenced / ls_fence_delay / INIT_DELAYED_WORK initialization above the nfsd4_layout_setlease() call, and replace the manual nfsd_file_put + put_nfs4_file + kmem_cache_free cleanup with a single nfs4_put_stid(stp).
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 bug is reached through nfsd's NFSv4 OP_LAYOUTGET handler, which processes attacker-controlled RPC compounds over the network on TCP port 2049. AC:L - An authenticated NFS client can reliably trigger the fault by issuing LAYOUTGET on block/SCSI pNFS exports so that nfsd4_layout_setlease() fails (e.g., -ENOMEM or -EINVAL), and can retry, spray the slab, and race concurrent compounds to exploit the dangling IDR entry. PR:N - Exploitation requires only the ability to act as a remote NFSv4 client against an export with pNFS enabled, not local shell access or elevated privileges on the Linux host. UI:N - No end-user or administrator action on the server is required; the vulnerability is triggered entirely through malicious NFS protocol traffic from a network client. S:U - Impact is confined to kernel memory corruption and nfsd state within the same kernel security boundary, not a cross-boundary escape such as VM or container breakout. C:H - The IDR retains a pointer to freed layout stateid slab memory, creating a use-after-free that can be leveraged for arbitrary kernel memory reads after heap reuse. I:H - UAF on the layout stateid object enables controlled slab reuse and corruption of adjacent kernel structures, supporting arbitrary write or control-flow hijack primitives. A:H - Dereferencing the dangling IDR pointer during state iteration or stateid lookup can cause kernel oops/panic, and UAF exploitation can crash or hang the server.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c5c707f96fc9a6e5a57ca5baac892673270abe3d to < d788ef40a7517d22c97ab01700e4ae4c611b6f2f (affected · git)c5c707f96fc9a6e5a57ca5baac892673270abe3d to < 2e0a5d6d62600b8c614d1b55e50ef94035d6adf9 (affected · git)c5c707f96fc9a6e5a57ca5baac892673270abe3d to < 7bbb7ce74051c8be4b69ff44ce3db370600dae61 (affected · git)c5c707f96fc9a6e5a57ca5baac892673270abe3d to < 48a586e382e4db1dbf958d44b63e081df5f8ed04 (affected · git)c5c707f96fc9a6e5a57ca5baac892673270abe3d to < d369e5edfaaf83a448016e2f1da392b2174be801 (affected · git)c5c707f96fc9a6e5a57ca5baac892673270abe3d to < 8dee7c278f1c2b5bb80e17a6281c3812fc8b0cdd (affected · git)c5c707f96fc9a6e5a57ca5baac892673270abe3d to < 83c2b7797742339bb768f83935f7ca33950db138 (affected · git)c5c707f96fc9a6e5a57ca5baac892673270abe3d to < 30d55c8aabb261bc3f427d6b9aae7ef6206063f9 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.0 (affected)0 to < 4.0 (unaffected · semver)5.10.261 through 5.10.* (unaffected · semver)5.15.212 through 5.15.* (unaffected · semver)6.1.178 through 6.1.* (unaffected · semver)6.6.145 through 6.6.* (unaffected · semver)6.12.96 through 6.12.* (unaffected · semver)6.18.39 through 6.18.* (unaffected · semver)7.1.3 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
8- https://git.kernel.org/stable/c/2e0a5d6d62600b8c614d1b55e50ef94035d6adf9
- https://git.kernel.org/stable/c/30d55c8aabb261bc3f427d6b9aae7ef6206063f9
- https://git.kernel.org/stable/c/48a586e382e4db1dbf958d44b63e081df5f8ed04
- https://git.kernel.org/stable/c/7bbb7ce74051c8be4b69ff44ce3db370600dae61
- https://git.kernel.org/stable/c/83c2b7797742339bb768f83935f7ca33950db138
- https://git.kernel.org/stable/c/8dee7c278f1c2b5bb80e17a6281c3812fc8b0cdd
- https://git.kernel.org/stable/c/d369e5edfaaf83a448016e2f1da392b2174be801
- https://git.kernel.org/stable/c/d788ef40a7517d22c97ab01700e4ae4c611b6f2f
Provider assertions
2Linux · cna
nfsd: release layout stid on setlease failure
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8d1f36646c1099f800c9148837409229b7536704bffb46cfaa6ca4a62ca2ac42
- Ingested
- 19 Oct 2026, 20:18:30 UTC
- Source record
- Official CVE record