{"id":"CVE-2025-68242","aliases":["CVE-2025-68242"],"related":[],"kind":"vulnerability","state":"published","title":"NFS: Fix LTP test failures when timestamps are delegated","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFS: Fix LTP test failures when timestamps are delegated\n\nThe utimes01 and utime06 tests fail when delegated timestamps are\nenabled, specifically in subtests that modify the atime and mtime\nfields using the 'nobody' user ID.\n\nThe problem can be reproduced as follow:\n\n# echo \"/media *(rw,no_root_squash,sync)\" >> /etc/exports\n# export -ra\n# mount -o rw,nfsvers=4.2 127.0.0.1:/media /tmpdir\n# cd /opt/ltp\n# ./runltp -d /tmpdir -s utimes01\n# ./runltp -d /tmpdir -s utime06\n\nThis issue occurs because nfs_setattr does not verify the inode's\nUID against the caller's fsuid when delegated timestamps are\npermitted for the inode.\n\nThis patch adds the UID check and if it does not match then the\nrequest is sent to the server for permission checking.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFS: Fix LTP test failures when timestamps are delegated\n\nThe utimes01 and utime06 tests fail when delegated timestamps are\nenabled, specifically in subtests that modify the atime and mtime\nfields using the 'nobody' user ID.\n\nThe problem can be reproduced as follow:\n\n# echo \"/media *(rw,no_root_squash,sync)\" >> /etc/exports\n# export -ra\n# mount -o rw,nfsvers=4.2 127.0.0.1:/media /tmpdir\n# cd /opt/ltp\n# ./runltp -d /tmpdir -s utimes01\n# ./runltp -d /tmpdir -s utime06\n\nThis issue occurs because nfs_setattr does not verify the inode's\nUID against the caller's fsuid when delegated timestamps are\npermitted for the inode.\n\nThis patch adds the UID check and if it does not match then the\nrequest is sent to the server for permission checking.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nNFS: Corrige fallos en las pruebas LTP cuando las marcas de tiempo son delegadas\n\nLas 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'.\n\nEl problema puede reproducirse como sigue:\n\n# echo “/media *(rw,no_root_squash,sync)” >> /etc/exports\n# export -ra\n# mount -o rw,nfsvers=4.2 127.0.0.1:/media /tmpdir\n# cd /opt/ltp\n# ./runltp -d /tmpdir -s utimes01\n# ./runltp -d /tmpdir -s utime06\n\nEste 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.\n\nEste 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.","source":"nvd"}],"published":"2025-12-16T14:21:19.558Z","modified":"2026-10-14T13:10:00.187Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e12912d94137ab36ee704a91f465ff15c8b423da","fixed":"b2e4cda71ed062c87573b016d2d956a62f4258ed","status":"affected"},{"type":"git","introduced":"e12912d94137ab36ee704a91f465ff15c8b423da","fixed":"0e9be902041c6b9f0ed4b72764187eed1067a42f","status":"affected"},{"type":"git","introduced":"e12912d94137ab36ee704a91f465ff15c8b423da","fixed":"b623390045a81fc559decb9bfeb79319721d3dfb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"6.12.59","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.9","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b2e4cda71ed062c87573b016d2d956a62f4258ed","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0e9be902041c6b9f0ed4b72764187eed1067a42f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b623390045a81fc559decb9bfeb79319721d3dfb","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68242","url":"https://www.cve.org/CVERecord?id=CVE-2025-68242","licence":"CVE Terms of Use","modified":"2026-05-11T21:49:34.952Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68242","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68242","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:09.509Z","epss":{"score":0.00197,"percentile":0.09878,"date":"2026-12-01T12:00:22.000Z"}}