Linux aws: In the Linux kernel, the following vulnerability has been resolved: nfsd: release layout stid on setlease failure nfs4_alloc_stid() publishes the… (CVE-2026-53399)
A vulnerability in the Linux kernel's NFS server (nfsd) component involves improper release of layout state IDs (stids) on setlease failure. The flaw causes an IDR slot to point to freed memory, leading to potential use-after-free dereferences. The issue is fixed by properly initializing delayed work structures and replacing manual cleanup with a correct teardown function.
AI Analysis
Technical Summary
The Linux kernel's nfsd subsystem had a vulnerability where the layout state ID (stid) was published into an IDR structure but not properly removed on setlease failure. Instead of calling the correct teardown function nfs4_put_stid(), the error path freed memory directly, leaving dangling pointers in the IDR. Subsequent operations that walk the IDR could dereference these dangling pointers. Additionally, the delayed work structure ls_fence_work was accessed uninitialized on the failure path. The fix involves initializing the delayed work before the setlease call and replacing manual cleanup with a single call to nfs4_put_stid(), ensuring proper removal and resource release.
Potential Impact
This vulnerability can lead to use-after-free conditions in the kernel, potentially causing system crashes or memory corruption. Given the CVSS score of 9.8 with high confidentiality, integrity, and availability impact, exploitation could allow an attacker to execute arbitrary code or cause denial of service. However, no known exploits are reported in the wild at this time.
Mitigation Recommendations
A fix is available that corrects the cleanup process by initializing delayed work structures before use and replacing manual memory release with the proper nfs4_put_stid() function. Users should update their Linux kernel to a version that includes this fix. Since this is a Linux kernel vulnerability, check your distribution's security advisories for patched kernel versions and apply updates accordingly.
Linux aws: In the Linux kernel, the following vulnerability has been resolved: nfsd: release layout stid on setlease failure nfs4_alloc_stid() publishes the… (CVE-2026-53399)
Description
A vulnerability in the Linux kernel's NFS server (nfsd) component involves improper release of layout state IDs (stids) on setlease failure. The flaw causes an IDR slot to point to freed memory, leading to potential use-after-free dereferences. The issue is fixed by properly initializing delayed work structures and replacing manual cleanup with a correct teardown function.
CVSS v3.1
Score 9.8critical
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's nfsd subsystem had a vulnerability where the layout state ID (stid) was published into an IDR structure but not properly removed on setlease failure. Instead of calling the correct teardown function nfs4_put_stid(), the error path freed memory directly, leaving dangling pointers in the IDR. Subsequent operations that walk the IDR could dereference these dangling pointers. Additionally, the delayed work structure ls_fence_work was accessed uninitialized on the failure path. The fix involves initializing the delayed work before the setlease call and replacing manual cleanup with a single call to nfs4_put_stid(), ensuring proper removal and resource release.
Potential Impact
This vulnerability can lead to use-after-free conditions in the kernel, potentially causing system crashes or memory corruption. Given the CVSS score of 9.8 with high confidentiality, integrity, and availability impact, exploitation could allow an attacker to execute arbitrary code or cause denial of service. However, no known exploits are reported in the wild at this time.
Mitigation Recommendations
A fix is available that corrects the cleanup process by initializing delayed work structures before use and replacing manual memory release with the proper nfs4_put_stid() function. Users should update their Linux kernel to a version that includes this fix. Since this is a Linux kernel vulnerability, check your distribution's security advisories for patched kernel versions and apply updates accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-f4wg-8884-3qg5
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-53399"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a5d27ad2a4a8d5989131bed
Added to database: 07/19/2026, 19:38:21 UTC
Last enriched: 08/15/2026, 03:38:27 UTC
Last updated: 09/01/2026, 22:52:12 UTC
Views: 105
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.