{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-39697","id":"CVE-2025-39697","title":"NFS: Fix a race when updating an existing write","description":"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't\nneces","descriptionLong":"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't\nnecessarily have a lock on the page group head.\n\nSo in order to avoid races, let's 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().","published":"2025-09-05T17:21:03.178Z","updated":"2026-10-28T02:30:31.687772556Z","reserved":"2025-04-16T07:20:57.115Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"bd37d6fce184836bd5e7cd90ce40116a4fadaf2a","lessThan":"0ff42a32784e0f2cb46a46da8e9f473538c13e1b","status":"affected","versionType":"git"},{"version":"bd37d6fce184836bd5e7cd90ce40116a4fadaf2a","lessThan":"f230d40147cc37eb3aef4d50e2e2c06ea73d9a77","status":"affected","versionType":"git"},{"version":"bd37d6fce184836bd5e7cd90ce40116a4fadaf2a","lessThan":"c32e3c71aaa1c1ba05da88605e2ddd493c58794f","status":"affected","versionType":"git"},{"version":"bd37d6fce184836bd5e7cd90ce40116a4fadaf2a","lessThan":"181feb41f0b268e6288bf9a7b984624d7fe2031d","status":"affected","versionType":"git"},{"version":"bd37d6fce184836bd5e7cd90ce40116a4fadaf2a","lessThan":"92278ae36935a54e65fef9f8ea8efe7e80481ace","status":"affected","versionType":"git"},{"version":"bd37d6fce184836bd5e7cd90ce40116a4fadaf2a","lessThan":"202a3432d21ac060629a760fff3b0a39859da3ea","status":"affected","versionType":"git"},{"version":"bd37d6fce184836bd5e7cd90ce40116a4fadaf2a","lessThan":"76d2e3890fb169168c73f2e4f8375c7cc24a765e","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.14","status":"affected"},{"version":"0","lessThan":"4.14","status":"unaffected","versionType":"semver"},{"version":"5.10.242","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.191","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.150","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.104","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.44","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.16.4","lessThanOrEqual":"6.16.*","status":"unaffected","versionType":"semver"},{"version":"6.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-362"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/0ff42a32784e0f2cb46a46da8e9f473538c13e1b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f230d40147cc37eb3aef4d50e2e2c06ea73d9a77","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c32e3c71aaa1c1ba05da88605e2ddd493c58794f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/181feb41f0b268e6288bf9a7b984624d7fe2031d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/92278ae36935a54e65fef9f8ea8efe7e80481ace","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/202a3432d21ac060629a760fff3b0a39859da3ea","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/76d2e3890fb169168c73f2e4f8375c7cc24a765e","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39697.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39697","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00159,"epssPercentile":0.05135,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-39697","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39697","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-39697","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-39697","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}