cve-2025-39697
Vulnerability from cvelistv5
Published
2025-09-05 17:21
Modified
2025-09-08 06:22
Severity ?
EPSS score ?
Summary
NFS: Fix a race when updating an existing write
References
{ "containers": { "cna": { "affected": [ { "defaultStatus": "unaffected", "product": "Linux", "programFiles": [ "fs/nfs/pagelist.c", "fs/nfs/write.c", "include/linux/nfs_page.h" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "lessThan": "0ff42a32784e0f2cb46a46da8e9f473538c13e1b", "status": "affected", "version": "bd37d6fce184836bd5e7cd90ce40116a4fadaf2a", "versionType": "git" }, { "lessThan": "f230d40147cc37eb3aef4d50e2e2c06ea73d9a77", "status": "affected", "version": "bd37d6fce184836bd5e7cd90ce40116a4fadaf2a", "versionType": "git" }, { "lessThan": "c32e3c71aaa1c1ba05da88605e2ddd493c58794f", "status": "affected", "version": "bd37d6fce184836bd5e7cd90ce40116a4fadaf2a", "versionType": "git" }, { "lessThan": "181feb41f0b268e6288bf9a7b984624d7fe2031d", "status": "affected", "version": "bd37d6fce184836bd5e7cd90ce40116a4fadaf2a", "versionType": "git" }, { "lessThan": "92278ae36935a54e65fef9f8ea8efe7e80481ace", "status": "affected", "version": "bd37d6fce184836bd5e7cd90ce40116a4fadaf2a", "versionType": "git" }, { "lessThan": "202a3432d21ac060629a760fff3b0a39859da3ea", "status": "affected", "version": "bd37d6fce184836bd5e7cd90ce40116a4fadaf2a", "versionType": "git" }, { "lessThan": "76d2e3890fb169168c73f2e4f8375c7cc24a765e", "status": "affected", "version": "bd37d6fce184836bd5e7cd90ce40116a4fadaf2a", "versionType": "git" } ] }, { "defaultStatus": "affected", "product": "Linux", "programFiles": [ "fs/nfs/pagelist.c", "fs/nfs/write.c", "include/linux/nfs_page.h" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "status": "affected", "version": "4.14" }, { "lessThan": "4.14", "status": "unaffected", "version": "0", "versionType": "semver" }, { "lessThanOrEqual": "5.10.*", "status": "unaffected", "version": "5.10.242", "versionType": "semver" }, { "lessThanOrEqual": "5.15.*", "status": "unaffected", "version": "5.15.191", "versionType": "semver" }, { "lessThanOrEqual": "6.1.*", "status": "unaffected", "version": "6.1.150", "versionType": "semver" }, { "lessThanOrEqual": "6.6.*", "status": "unaffected", "version": "6.6.104", "versionType": "semver" }, { "lessThanOrEqual": "6.12.*", "status": "unaffected", "version": "6.12.44", "versionType": "semver" }, { "lessThanOrEqual": "6.16.*", "status": "unaffected", "version": "6.16.4", "versionType": "semver" }, { "lessThanOrEqual": "*", "status": "unaffected", "version": "6.17-rc3", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.10.242", "versionStartIncluding": "4.14", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.15.191", "versionStartIncluding": "4.14", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.1.150", "versionStartIncluding": "4.14", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.6.104", "versionStartIncluding": "4.14", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.12.44", "versionStartIncluding": "4.14", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.16.4", "versionStartIncluding": "4.14", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.17-rc3", "versionStartIncluding": "4.14", "vulnerable": true } ], "negate": false, "operator": "OR" } ] } ], "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFS: Fix a race when updating an existing write\n\nAfter nfs_lock_and_join_requests() tests for whether the request is\nstill attached to the mapping, nothing prevents a call to\nnfs_inode_remove_request() from succeeding until we actually lock the\npage group.\nThe reason is that whoever called nfs_inode_remove_request() doesn\u0027t\nnecessarily have a lock on the page group head.\n\nSo in order to avoid races, let\u0027s take the page group lock earlier in\nnfs_lock_and_join_requests(), and hold it across the removal of the\nrequest in nfs_inode_remove_request()." } ], "providerMetadata": { "dateUpdated": "2025-09-08T06:22:02.034Z", "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux" }, "references": [ { "url": "https://git.kernel.org/stable/c/0ff42a32784e0f2cb46a46da8e9f473538c13e1b" }, { "url": "https://git.kernel.org/stable/c/f230d40147cc37eb3aef4d50e2e2c06ea73d9a77" }, { "url": "https://git.kernel.org/stable/c/c32e3c71aaa1c1ba05da88605e2ddd493c58794f" }, { "url": "https://git.kernel.org/stable/c/181feb41f0b268e6288bf9a7b984624d7fe2031d" }, { "url": "https://git.kernel.org/stable/c/92278ae36935a54e65fef9f8ea8efe7e80481ace" }, { "url": "https://git.kernel.org/stable/c/202a3432d21ac060629a760fff3b0a39859da3ea" }, { "url": "https://git.kernel.org/stable/c/76d2e3890fb169168c73f2e4f8375c7cc24a765e" } ], "title": "NFS: Fix a race when updating an existing write", "x_generator": { "engine": "bippy-1.2.0" } } }, "cveMetadata": { "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "assignerShortName": "Linux", "cveId": "CVE-2025-39697", "datePublished": "2025-09-05T17:21:03.178Z", "dateReserved": "2025-04-16T07:20:57.115Z", "dateUpdated": "2025-09-08T06:22:02.034Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2025-39697\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-09-05T18:15:46.623\",\"lastModified\":\"2025-09-08T16:25:38.810\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nNFS: Fix a race when updating an existing write\\n\\nAfter nfs_lock_and_join_requests() tests for whether the request is\\nstill attached to the mapping, nothing prevents a call to\\nnfs_inode_remove_request() from succeeding until we actually lock the\\npage group.\\nThe reason is that whoever called nfs_inode_remove_request() doesn\u0027t\\nnecessarily have a lock on the page group head.\\n\\nSo in order to avoid races, let\u0027s take the page group lock earlier in\\nnfs_lock_and_join_requests(), and hold it across the removal of the\\nrequest in nfs_inode_remove_request().\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0ff42a32784e0f2cb46a46da8e9f473538c13e1b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/181feb41f0b268e6288bf9a7b984624d7fe2031d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/202a3432d21ac060629a760fff3b0a39859da3ea\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/76d2e3890fb169168c73f2e4f8375c7cc24a765e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/92278ae36935a54e65fef9f8ea8efe7e80481ace\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c32e3c71aaa1c1ba05da88605e2ddd493c58794f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f230d40147cc37eb3aef4d50e2e2c06ea73d9a77\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}" } }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.