CVE-2025-39697CWE-362

CVE-2025-39697

High · published September 5, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
4.1
In the wild
Unconfirmed
What it is

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().

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00153 · 4.1th percentile
Weakness
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Published
2025-09-05T22:15Z
Affected products (9)
ProductVersionsFixed in
linux/linux_kernel≥ 4.14, < 5.10.2425.10.242
linux/linux_kernel≥ 5.11, < 5.15.1915.15.191
linux/linux_kernel≥ 5.16, < 6.1.1506.1.150
linux/linux_kernel≥ 6.2, < 6.6.1046.6.104
linux/linux_kernel≥ 6.7, < 6.12.446.12.44
linux/linux_kernel≥ 6.13, < 6.16.46.16.4
linux/linux_kernelall versions—
linux/linux_kernelall versions—
debian/debian_linuxall versions—
References (11)
EPSS history
Timeline
  • 05 SEP 17:21Z
    NFS: Fix a race when updating an existing write
    cvelistv5