Description
In the Linux kernel, the following vulnerability has been resolved: NFS: update ctime for atime-only UTIME_NOW requests When an NFS client holds a timestamp delegation, utimensat() with atime set to UTIME_NOW and mtime set to UTIME_OMIT reaches nfs_setattr() with ATTR_TIMES_SET but without ATTR_ATIME_SET. There may be other paths that can reach here as well. The delegated-atime fast path treats this as an implicit atime update, clears ATTR_ATIME and returns success without updating ctime. Add check for ATTR_TIMES_SET along with ATTR_ATIME_SET (OR) so explicit timestamp requests use the normal SETATTR path while incidental atime updates can keep using the local shortcut.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
e12912d94137ab36ee704a91f465ff15c8b423da to < e61cfa34c0e9b8d7242f969838766fc17f550b1eaffectede12912d94137ab36ee704a91f465ff15c8b423da to < 7ea0eb5e60b37d0e277bfc4546cea4f647ef2e5daffectede12912d94137ab36ee704a91f465ff15c8b423da to < 80b1402861c667d8c28297aedd5dd343fde36530affectede12912d94137ab36ee704a91f465ff15c8b423da to < a38d7cc8c90f0d093550487c2905b51db0be1522affected
Linux Linux
Default version status: affected
6.11affected0 to < 6.11unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected