CVE-2025-39697

NFS: Fix a race when updating an existing write

MEDIUM
4.7
CVSS Score
Published: September 5, 2025 at 05:21 PM UTC
Updated: October 19, 2026 at 09:10 PM UTC
6 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.7
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: NFS: Fix a race when updating an existing write After nfs_lock_and_join_requests() tests for whether the request is still attached to the mapping, nothing prevents a call to nfs_inode_remove_request() from succeeding until we actually lock the page group. The reason is that whoever called nfs_inode_remove_request() doesn't necessarily have a lock on the page group head. So in order to avoid races, let's take the page group lock earlier in nfs_lock_and_join_requests(), and hold it across the removal of the request in nfs_inode_remove_request().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.14 ≤ v < 5.10.2425.11 ≤ v < 5.15.1915.16 ≤ v < 6.1.1506.13 ≤ v < 6.16.46.2 ≤ v < 6.6.1046.7 ≤ v < 6.12.446.176.17 rc16.17 rc2bd37d6fce184836bd5e7cd90ce40116a4fadaf2a
Vendor states this is fixed in 0ff42a32784e0f2cb46a46da8e9f473538c13e1b (fixed)
Vendor states this is fixed in 181feb41f0b268e6288bf9a7b984624d7fe2031d (fixed)
Vendor states this is fixed in 202a3432d21ac060629a760fff3b0a39859da3ea (fixed)
Vendor states this is fixed in 76d2e3890fb169168c73f2e4f8375c7cc24a765e (fixed)
Vendor states this is fixed in 92278ae36935a54e65fef9f8ea8efe7e80481ace (fixed)
Vendor states this is fixed in c32e3c71aaa1c1ba05da88605e2ddd493c58794f (fixed)
Vendor states this is fixed in f230d40147cc37eb3aef4d50e2e2c06ea73d9a77 (fixed)
Vendor states this is fixed in 4.14 (unaffected)
Vendor states this is fixed in 5.10.242 (unaffected)
Vendor states this is fixed in 5.15.191 (unaffected)
Vendor states this is fixed in 6.1.150 (unaffected)
Vendor states this is fixed in 6.12.44 (unaffected)
Vendor states this is fixed in 6.16.4 (unaffected)
Vendor states this is fixed in 6.17 (unaffected)
Vendor states this is fixed in 6.6.104 (unaffected)
v < V5.0
Affected range stops below V5.0, so it looks safe — our inference, not a vendor statement

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0ff42a32784e0f2cb46a46da8e9f473538c13e1b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/181feb41f0b268e6288bf9a7b984624d7fe2031d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/202a3432d21ac060629a760fff3b0a39859da3ea
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/76d2e3890fb169168c73f2e4f8375c7cc24a765e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/92278ae36935a54e65fef9f8ea8efe7e80481ace
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c32e3c71aaa1c1ba05da88605e2ddd493c58794f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f230d40147cc37eb3aef4d50e2e2c06ea73d9a77
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card