NFS: Fix LTP test failures when timestamps are delegated
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.59, 6.17.9
- CVEs
- CVE-2025-68242
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 10:33 UTC · Revision 1
Source evidence
NFS: Fix LTP test failures when timestamps are delegated
core-osv · Original sourcePublished 16 Dec 2025, 14:21 UTC
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.
osv:CVE-2025-68242
Kernel
Fixed versions: 6.12.59, 6.17.9
Complete source record
{
"id": "ee9db10e1bc439adfc492dd5fb296e7a80d361fae01e41f090c5909c18448c82",
"url": "https://osv.dev/vulnerability/CVE-2025-68242",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "NFS: Fix LTP test failures when timestamps are delegated",
"summary": "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.",
"evidence": "osv:CVE-2025-68242",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.59",
"evidence": "/affected/1/ranges"
},
{
"value": "6.17.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-68242",
"aliases": [
"CVE-2025-68242"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "e12912d94137ab36ee704a91f465ff15c8b423da"
},
{
"fixed": "b2e4cda71ed062c87573b016d2d956a62f4258ed"
},
{
"fixed": "0e9be902041c6b9f0ed4b72764187eed1067a42f"
},
{
"fixed": "b623390045a81fc559decb9bfeb79319721d3dfb"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68242.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.11.0"
},
{
"fixed": "6.12.59"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.17.9"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68242.json"
}
}
],
"modified": "2026-10-28T02:30:28.184709527Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/0e9be902041c6b9f0ed4b72764187eed1067a42f",
"https://git.kernel.org/stable/c/b2e4cda71ed062c87573b016d2d956a62f4258ed",
"https://git.kernel.org/stable/c/b623390045a81fc559decb9bfeb79319721d3dfb",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68242.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-68242",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68242.json"
}
},
"related_cves": [
{
"value": "CVE-2025-68242",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 494546,
"published_at": "2025-12-16T14:21:19.558+00:00"
}