{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-53399","published":"2026-07-19T12:16:51.063000Z","last_modified":"2026-10-19T20:19:18.683000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","primary":false},"auth":false,"cwes":["CWE-476","CWE-416"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.0","version_end_excluding":"5.10.261"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.15.212"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"6.1.178"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.2","version_end_excluding":"6.6.145"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.7","version_end_excluding":"6.12.96"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.13","version_end_excluding":"6.18.39"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.19","version_end_excluding":"7.1.3"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-53399/","html_en":"/en/cve/CVE-2026-53399/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-53399","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-53399"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: release layout stid on setlease failure\n\nnfs4_alloc_stid() publishes the new stid into cl->cl_stateids via\nidr_alloc_cyclic() under cl_lock before returning to\nnfsd4_alloc_layout_stateid(). When nfsd4_layout_setlease() then\nfails, the error path frees the layout stateid directly with\nkmem_cache_free() without ever calling idr_remove(), leaving the\nIDR slot pointing at freed slab memory. Any subsequent IDR walker\n(states_show, client teardown) dereferences the dangling pointer.\n\nThe correct teardown for an IDR-published stid is nfs4_put_stid(),\nwhich removes the IDR slot under cl_lock, dispatches sc_free\n(nfsd4_free_layout_stateid) to release ls->ls_file via\nnfsd4_close_layout(), and drops the nfs4_file reference in its\ntail.\n\nA second issue blocks that switch: nfsd4_free_layout_stateid()\nunconditionally inspects ls->ls_fence_work via\ndelayed_work_pending() under ls_lock, but\nINIT_DELAYED_WORK(&ls->ls_fence_work, ...) currently runs only\nafter the setlease call. On the setlease-failure path the\ndestructor would touch an uninitialized delayed_work.\n\n    nfsd4_alloc_layout_stateid()\n      nfs4_alloc_stid()           /* idr_alloc_cyclic under cl_lock */\n      nfsd4_layout_setlease()     /* fails */\n        nfs4_put_stid()\n          nfsd4_free_layout_stateid()\n            delayed_work_pending(&ls->ls_fence_work)  /* needs INIT */\n            nfsd4_close_layout()  /* nfsd_file_put(ls->ls_file) */\n          put_nfs4_file()\n\nFix by hoisting the ls_fenced / ls_fence_delay / INIT_DELAYED_WORK\ninitialization above the nfsd4_layout_setlease() call, and replace\nthe manual nfsd_file_put + put_nfs4_file + kmem_cache_free cleanup\nwith a single nfs4_put_stid(stp).","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/2e0a5d6d62600b8c614d1b55e50ef94035d6adf9","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/30d55c8aabb261bc3f427d6b9aae7ef6206063f9","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/48a586e382e4db1dbf958d44b63e081df5f8ed04","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/7bbb7ce74051c8be4b69ff44ce3db370600dae61","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/83c2b7797742339bb768f83935f7ca33950db138","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/8dee7c278f1c2b5bb80e17a6281c3812fc8b0cdd","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/d369e5edfaaf83a448016e2f1da392b2174be801","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/d788ef40a7517d22c97ab01700e4ae4c611b6f2f","tags":["Patch"]}]},"bulletins":[{"source":"redhat","id":"RHSA-2026:104030","url":"https://access.redhat.com/errata/RHSA-2026:104030","published":"2026-11-28T10:05:09+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kernel security, bug fix, and enhancement update"}},{"source":"redhat","id":"RHSA-2026:63129","url":"https://access.redhat.com/errata/RHSA-2026:63129","published":"2026-09-04T10:13:54+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kernel security, bug fix, and enhancement update"}},{"source":"redhat","id":"RHSA-2026:63014","url":"https://access.redhat.com/errata/RHSA-2026:63014","published":"2026-09-03T10:14:43+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kernel security, bug fix, and enhancement update"}},{"source":"suse","id":"SUSE-SU-2026:3810-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20263810-1/","published":"2026-08-26T10:47:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:3790-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20263790-1/","published":"2026-08-25T12:24:44+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:23244-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202623244-1/","published":"2026-08-18T20:52:35+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}}]}