VDB

CVE-2025-39697

CVE-2025-39697 PUBLISHED CVSS 7.8 HIGH

NFS: Fix a race when updating an existing write

Reported by linux · Published September 5, 2025

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perfAmazon Linux1:6.1.150-174.273.amzn2023
kernel-develAmazon Linux1:6.1.150-174.273.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.46-66.121.amzn2023
perf6.12Amazon Linux1:6.12.46-66.121.amzn2023

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxbd37d6fce184836bd5e7cd90ce40116a4fadaf2a, bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, bd37d6fce184836bd5e7cd90ce40116a4fadaf2a
LinuxLinux4.14, 0, 5.10.242
amazon:2023perf0
amazon:2023kernel-devel0
amazon:2023kernel6.12-tools0
amazon:2023perf6.120
linuxlinux_kernel4.14, 4.14, 4.14
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.5
amazon:2023bpftool6.120
amazon:2023kernel-libbpf0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.5
amazon:2023python3-perf6.120
amazon:2023kernel6.12-libbpf0
amazon:2023kernel-tools0
SiemensSIMATIC CN 41000
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel0
amazon:2023kernel-headers0
amazon:2023kernel-modules-extra0
amazon:2023kernel6.12-tools-devel0

…and 16 more

Timeline

  • Sep 5, 2025 CVE Published
  • Sep 6, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (11 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (177 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (192 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-39697
vulnetix vdb fixes CVE-2025-39697

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-39697/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›