{"id":"CVE-2025-39697","published":"2025-09-05T17:21:03Z","modified":"2026-10-15T01:08:03Z","title":"NFS: Fix a race when updating an existing write","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00159,"percentile":0.05188,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/0ff42a32784e0f2cb46a46da8e9f473538c13e1b","tags":[]},{"url":"https://git.kernel.org/stable/c/f230d40147cc37eb3aef4d50e2e2c06ea73d9a77","tags":[]},{"url":"https://git.kernel.org/stable/c/c32e3c71aaa1c1ba05da88605e2ddd493c58794f","tags":[]},{"url":"https://git.kernel.org/stable/c/181feb41f0b268e6288bf9a7b984624d7fe2031d","tags":[]},{"url":"https://git.kernel.org/stable/c/92278ae36935a54e65fef9f8ea8efe7e80481ace","tags":[]},{"url":"https://git.kernel.org/stable/c/202a3432d21ac060629a760fff3b0a39859da3ea","tags":[]},{"url":"https://git.kernel.org/stable/c/76d2e3890fb169168c73f2e4f8375c7cc24a765e","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":1.04},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 0ff42a32784e0f2cb46a46da8e9f473538c13e1b",">= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < f230d40147cc37eb3aef4d50e2e2c06ea73d9a77",">= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < c32e3c71aaa1c1ba05da88605e2ddd493c58794f",">= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 181feb41f0b268e6288bf9a7b984624d7fe2031d",">= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 92278ae36935a54e65fef9f8ea8efe7e80481ace",">= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 202a3432d21ac060629a760fff3b0a39859da3ea",">= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 76d2e3890fb169168c73f2e4f8375c7cc24a765e"]},{"vendor":"Linux","product":"Linux","versions":["4.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-10T20:42:24.236193Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-31528","exploited":false,"provenance":"source"}}