CVE-2026-53399
A use-after-free vulnerability in the Linux kernel's NFS daemon (CVE-2026-53399) allows an attacker to execute arbitrary code, cause a denial of service, or escalate privileges when setting a lease fails. The flaw occurs because the kernel frees a layout state ID without removing it from an internal IDR table, leaving a dangling pointer that subsequent code can dereference. The issue is fixed by initializing delayed work earlier and using the proper cleanup function (nfs4_put_stid) instead of manual freeing.
An official fix is available, so this entry is kept for 30 days and then removed automatically.
Who is affected
Linux kernel NFS daemon (nfsd) code paths that allocate layout state IDs and call nfsd4_layout_setlease().
Real-world impact
An attacker could exploit this to gain elevated privileges, crash the system, or run arbitrary code on affected Linux systems.
Why this severity
CVSS v3.1 base score 9.8 (Critical) due to network‑adjacent attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability.
What to do about it
- 01Apply the Linux kernel patch that moves the initialization of ls_fenced, ls_fence_delay, and INIT_DELAYED_WORK before the nfsd4_layout_setlease() call and replaces the manual cleanup sequence with a single nfs4_put_stid() call.
NVD description
Timeline
- Jul 19, 2026 · 11d agoPublishedDisclosed and added to the National Vulnerability Database.
- Jul 20, 2026 · 10d agoOfficial fix availableA vendor patch or mitigation now exists — see the remediation steps above.
- Jul 29, 2026 · 16h agoAdvisory updatedThe NVD record was last revised.
How it’s attacked
References & advisories
- git.kernel.org/stable/c/2e0a5d6d62600b8c61…patch
- git.kernel.org/stable/c/30d55c8aabb261bc3f…patch
- git.kernel.org/stable/c/48a586e382e4db1dbf…patch
- git.kernel.org/stable/c/7bbb7ce74051c8be4b…patch
- git.kernel.org/stable/c/83c2b7797742339bb7…patch
- git.kernel.org/stable/c/8dee7c278f1c2b5bb8…patch
- git.kernel.org/stable/c/d369e5edfaaf83a448…patch
- git.kernel.org/stable/c/d788ef40a7517d22c9…patch