CVE-2026-143239: NFS: update ctime for atime-only UTIME_NOW requests
In the Linux kernel, the following vulnerability has been resolved:
NFS: update ctime for atime-only UTIMENOW requests
When an NFS client holds a timestamp delegation, utimensat() with atime set to UTIMENOW and mtime set to UTIMEOMIT reaches nfssetattr() with ATTRTIMESSET but without ATTRATIMESET.
There may be other paths that can reach here as well.
The delegated-atime fast path treats this as an implicit atime update, clears ATTRATIME and returns success without updating ctime.
Add check for ATTRTIMESSET along with ATTRATIMESET (OR) so explicit timestamp requests use the normal SETATTR path while incidental atime updates can keep using the local shortcut.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
Update the delegated-atime check to test ATTR_TIMES_SET as well as ATTR_ATIME_SET (logical OR), so explicit timestamp requests use the normal SETATTR path.
Event History
Frequently Asked Questions
What conditions are required to trigger the incorrect timestamp handling?
An NFS client must hold a timestamp delegation, and an explicit timestamp update must set atime to UTIME_NOW while omitting mtime with UTIME_OMIT. This reaches the delegated-atime fast path without ATTR_ATIME_SET despite having ATTR_TIMES_SET.
What is the observable impact before the fix?
The request can succeed after updating atime locally, but ctime is not updated. Explicit timestamp requests that meet these conditions therefore do not receive the expected ctime update.
Is every NFS atime update affected?
No. The issue concerns explicit timestamp requests identified by ATTR_TIMES_SET in the timestamp-delegation fast path. Incidental atime updates are intended to continue using the local shortcut.
What behavior does the fix change?
The fix makes the fast-path check account for ATTR_TIMES_SET as well as ATTR_ATIME_SET. Explicit timestamp requests are sent through the normal SETATTR path, while incidental atime updates retain the local fast path.