Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Authenticated NFS client (PR:L) must win a TOCTOU race (AC:H); impact is integrity via unauthorized truncation of append-only data (I:H), with no confidentiality or availability effect.
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
6DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
NFSD: check truncate permission under inode lock
nfsd_setattr() checks whether a size update needs NFSD_MAY_TRUNC before it takes inode_lock(). The comparison uses the file size sampled by that unlocked read, but the actual ATTR_SIZE update is applied later under inode_lock() by notify_change().
This leaves a TOCTOU window for append-only files. If a client sends a SETATTR that does not shrink the file at the time of the unlocked sample, a concurrent append can extend the file before nfsd_setattr() takes inode_lock(). notify_change() then applies a real truncation without the NFSD_MAY_TRUNC check that rejects IS_APPEND(inode). The VFS truncate syscall paths perform their own append-only checks before calling notify_change(), so NFSD must make this decision against the locked size it is about to change.
Split the write-count acquisition from the truncation permission check. Keep get_write_access() before the locked setattr work, then recheck whether the requested size is below i_size_read(inode) after inode_lock() has been acquired and before notify_change(ATTR_SIZE). This also avoids the plain unlocked inode->i_size load.
AnalysisAI
Append-only file protection bypass in the Linux kernel NFS server (nfsd) allows an authenticated NFS client to truncate a file that the kernel would normally protect from truncation. nfsd_setattr() decides whether a SETATTR size change requires the NFSD_MAY_TRUNC permission using an i_size value read without inode_lock, but the actual ATTR_SIZE truncation is applied later under the lock by notify_change(); a concurrent append that extends the file between the two points causes notify_change() to truncate an IS_APPEND file without the check that would reject it. …
Unlock full vulnerability intelligence
- Risk assessment & exploitation conditions
- Attack chain visualization
- Remediation with exact patch versions
- Threat intelligence from 22 sources
- Personal watchlist & email alerts
Free forever · No credit card required
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata
Vulnerability AssessmentAI
| Exploitation | Requires an authenticated NFS client with SETATTR/write access to an export containing an append-only file (a file with the IS_APPEND / chattr +a attribute). … Additional conditions and limiting factors are described in the full assessment. |
| Risk Assessment | The input CVSS of 9.1 (AV:N/AC:L/PR:N/UI:N/C:N/I:H/A:H) substantially overstates real-world risk. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in. |
| Exploit Scenario | Full exploit scenario with step-by-step reproduction available after sign-in. |
| Remediation | Vendor-released patch: upgrade to Linux 6.12.109, 6.18.50, 7.2.4, or 7.3-rc1 (or the corresponding fixed build from your distribution), which splits get_write_access() from the truncation-permission check and re-evaluates whether the requested size is below i_size_read(inode) after inode_lock() is held and before notify_change(ATTR_SIZE). … Detailed patch versions, workarounds, and compensating controls in full report. |
Recommended ActionAI
Within 24 hours, inventory all Linux systems running NFS server (nfsd) and record kernel versions; determine which systems run versions prior to 6.12.109, 6.18.50, 7.2.4, or 7.3-rc1. …
Sign in for detailed remediation steps and compensating controls.
Threat intelligence, references, and detailed analysis are available after sign-in.
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-76625
GHSA-v99p-5h33-35p9