Linux kernel: nfsd: fix BUG_ON in nfsd4_alloc_layout_stateid on racing delegation revoke
Overview
In the Linux kernel, the following vulnerability has been resolved: nfsd: fix BUG_ON in nfsd4_alloc_layout_stateid on racing delegation revoke nfsd4_alloc_layout_stateid reads fp->fi_deleg_file without holding fi_lock when the parent stateid is a delegation. A concurrent delegation revoke via the laundromat can clear fi_deleg_file under fi_lock, causing nfsd_file_get() to return NULL and triggering the BUG_ON. This race is client-reachable: two NFS clients can trigger it by having one hold a delegation while another opens the same file to force a recall. When the first client doesn't respond to the recall, the laundromat revokes it. A concurrent LAYOUTGET from any client using the delegation stateid hits the race window. Fix this by taking fi_lock around the fi_deleg_file read in the SC_TYPE_DELEG path, matching the locking discipline of the find_any_file() arm, and replacing the BUG_ON with a graceful error return that cleans up the partially-initialized layout stateid.
- Published
- 9/11/2026
- Last modified
- 10/30/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ c5c707f96fc9a6e5a57ca5baac892673270abe3d, < f5011c26246d1abed3dc750c9744e33cb79ff9bc | Verify advisory | Source |
Linux Linux | ≥ c5c707f96fc9a6e5a57ca5baac892673270abe3d, < d12af460df27876661707efab3a8532146cb961f | Verify advisory | Source |
Linux Linux | ≥ c5c707f96fc9a6e5a57ca5baac892673270abe3d, < c517f27498757e616d2a8fe6d16caad1fee422e6 | Verify advisory | Source |
Linux Linux | ≥ c5c707f96fc9a6e5a57ca5baac892673270abe3d, < 607a56fea772c1f4f4989d8e255dd4f7192d9604 | Verify advisory | Source |
Linux Linux | ≥ c5c707f96fc9a6e5a57ca5baac892673270abe3d, < 97bda8b4284d90897a1f1922e5082ff9e35d7c7e | Verify advisory | Source |
Linux Linux | ≥ c5c707f96fc9a6e5a57ca5baac892673270abe3d, < ca94ba36172046be6a694a7986f6931e47ed4d51 | Verify advisory | Source |
Linux Linux | 4.0 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 9.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.