Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-39697

HIGH 7.8EPSS 6%

NFS: Fix a race when updating an existing write

Mitigation

  • Upgrade Linux to 76d2e3890fb169168c73f2e4f8375c7cc24a765e or later.

Who should check

  • Anyone running Linux >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 0ff42a32784e0f2cb46a46da8e9f473538c13e1b; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < f230d40147cc37eb3aef4d50e2e2c06ea73d9a77; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < c32e3c71aaa1c1ba05da88605e2ddd493c58794f; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 181feb41f0b268e6288bf9a7b984624d7fe2031d; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 92278ae36935a54e65fef9f8ea8efe7e80481ace; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 202a3432d21ac060629a760fff3b0a39859da3ea; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 76d2e3890fb169168c73f2e4f8375c7cc24a765e
  • Anyone running Linux 4.14

Vulnerability facts

Affected
Linux >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 0ff42a32784e0f2cb46a46da8e9f473538c13e1b; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < f230d40147cc37eb3aef4d50e2e2c06ea73d9a77; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < c32e3c71aaa1c1ba05da88605e2ddd493c58794f; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 181feb41f0b268e6288bf9a7b984624d7fe2031d; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 92278ae36935a54e65fef9f8ea8efe7e80481ace; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 202a3432d21ac060629a760fff3b0a39859da3ea; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 76d2e3890fb169168c73f2e4f8375c7cc24a765e; Linux 4.14
Fixed in
Linux 0ff42a32784e0f2cb46a46da8e9f473538c13e1b, Linux 181feb41f0b268e6288bf9a7b984624d7fe2031d, Linux 92278ae36935a54e65fef9f8ea8efe7e80481ace, Linux 202a3432d21ac060629a760fff3b0a39859da3ea, Linux 76d2e3890fb169168c73f2e4f8375c7cc24a765e
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
CWE
CWE-362
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Linux>= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 0ff42a32784e0f2cb46a46da8e9f473538c13e1b; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < f230d40147cc37eb3aef4d50e2e2c06ea73d9a77; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < c32e3c71aaa1c1ba05da88605e2ddd493c58794f; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 181feb41f0b268e6288bf9a7b984624d7fe2031d; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 92278ae36935a54e65fef9f8ea8efe7e80481ace; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 202a3432d21ac060629a760fff3b0a39859da3ea; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 76d2e3890fb169168c73f2e4f8375c7cc24a765e—cvelist
Linux4.14—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-39697. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39697.md
Affected: Linux >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 0ff42a32784e0f2cb46a46da8e9f473538c13e1b; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < f230d40147cc37eb3aef4d50e2e2c06ea73d9a77; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < c32e3c71aaa1c1ba05da88605e2ddd493c58794f; >= bd37d6fce184836bd5e7cd9…
Fixed in: Linux 0ff42a32784e0f2cb46a46da8e9f473538c13e1b, Linux 181feb41f0b268e6288bf9a7b984624d7fe2031d, Linux 92278ae36935a54e65fef9f8ea8efe7e80481ace, Linux 202a3432d21ac060629a760fff3b0a39859da3ea, Linux 76d2e3890fb169168c73f2e4f8375c7cc24a765e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-39697 being exploited?

There is no confirmed exploitation: CVE-2025-39697 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-39697?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-39697?

Linux >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 0ff42a32784e0f2cb46a46da8e9f473538c13e1b; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < f230d40147cc37eb3aef4d50e2e2c06ea73d9a77; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < c32e3c71aaa1c1ba05da88605e2ddd493c58794f; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 181feb41f0b268e6288bf9a7b984624d7fe2031d; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 92278ae36935a54e65fef9f8ea8efe7e80481ace; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 202a3432d21ac060629a760fff3b0a39859da3ea; >= bd37d6fce184836bd5e7cd90ce40116a4fadaf2a, < 76d2e3890fb169168c73f2e4f8375c7cc24a765e; Linux 4.14.

Is there a fix for CVE-2025-39697?

Yes. Fixed in Linux 0ff42a32784e0f2cb46a46da8e9f473538c13e1b, Linux 181feb41f0b268e6288bf9a7b984624d7fe2031d, Linux 92278ae36935a54e65fef9f8ea8efe7e80481ace, Linux 202a3432d21ac060629a760fff3b0a39859da3ea, Linux 76d2e3890fb169168c73f2e4f8375c7cc24a765e. Upgrade Linux to 76d2e3890fb169168c73f2e4f8375c7cc24a765e or later.

How do I check if I'm affected by CVE-2025-39697?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors