CVE-2025-68242
JSON

Not scored

NFS: Fix LTP test failures when timestamps are delegated

Severity
Not scored
Exploit likelihood
0.20% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: NFS: Fix LTP test failures when timestamps are delegated The utimes01 and utime06 tests fail when delegated timestamps are enabled, specifically in subtests that modify the atime and mtime fields using the 'nobody' user ID. The problem can be reproduced as follow: # echo "/media *(rw,no_root_squash,sync)" >> /etc/exports # export -ra # mount -o rw,nfsvers=4.2 127.0.0.1:/media /tmpdir # cd /opt/ltp # ./runltp -d /tmpdir -s utimes01 # ./runltp -d /tmpdir -s utime06 This issue occurs because nfs_setattr does not verify the inode's UID against the caller's fsuid when delegated timestamps are permitted for the inode. This patch adds the UID check and if it does not match then the request is sent to the server for permission checking.

Affected

Product or packageVersionsReported by
Linux Linuxfrom e12912d94137ab36ee704a91f465ff15c8b423da before b2e4cda71ed062c87573b016d2d956a62f4258ed, from e12912d94137ab36ee704a91f465ff15c8b423da before 0e9be902041c6b9f0ed4b72764187eed1067a42f, from e12912d94137ab36ee704a91f465ff15c8b423da before b623390045a81fc559decb9bfeb79319721d3dfb, 6.11
Not affected: before 6.11, from 6.12.59 up to 6.12.*, from 6.17.9 up to 6.17.*, from 6.18 up to *
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: NFS: Fix LTP test failures when timestamps are delegated The utimes01 and utime06 tests fail when delegated timestamps are enabled, specifically in subtests that modify the atime and mtime fields using the 'nobody' user ID. The problem can be reproduced as follow: # echo "/media *(rw,no_root_squash,sync)" >> /etc/exports # export -ra # mount -o rw,nfsvers=4.2 127.0.0.1:/media /tmpdir # cd /opt/ltp # ./runltp -d /tmpdir -s utimes01 # ./runltp -d /tmpdir -s utime06 This issue occurs because nfs_setattr does not verify the inode's UID against the caller's fsuid when delegated timestamps are permitted for the inode. This patch adds the UID check and if it does not match then the request is sent to the server for permission checking.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: NFS: Corrige fallos en las pruebas LTP cuando las marcas de tiempo son delegadas Las pruebas utimes01 y utime06 fallan cuando las marcas de tiempo delegadas están habilitadas, específicamente en subpruebas que modifican los campos atime y mtime usando el ID de usuario 'nobody'. El problema puede reproducirse como sigue: # echo “/media *(rw,no_root_squash,sync)” >> /etc/exports # export -ra # mount -o rw,nfsvers=4.2 127.0.0.1:/media /tmpdir # cd /opt/ltp # ./runltp -d /tmpdir -s utimes01 # ./runltp -d /tmpdir -s utime06 Este problema ocurre porque nfs_setattr no verifica el UID del inodo contra el fsuid del llamador cuando las marcas de tiempo delegadas están permitidas para el inodo. Este parche añade la verificación del UID y si no coincide, entonces la solicitud es enviada al servidor para la verificación de permisos.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68242 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-68242 changed 2026-10-14Public domain