Skip to main content
Mallory
MediumVulnerability

CVE-2025-39697: Linux Kernel NFS Write-Request Race Condition

Published Sep 5, 2025 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS4.7Medium · v3.1
EPSS0.21%6th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendors
Debian ProjectLinux
IdentifiersCVE-2025-39697CWE-362 · Concurrent Execution using Shared…

CVE-2025-39697 is a race condition in the Linux kernel NFS client write path when updating an existing write request. After nfs_lock_and_join_requests() checks that a request remains attached to its mapping, nfs_inode_remove_request() can remove it before the page-group lock is acquired. This occurs because the removal caller does not necessarily hold the page-group-head lock. The resulting request-lifetime race can cause use-after-free and kernel crashes. The issue was introduced in Linux 4.14.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can crash the affected kernel, causing system-wide denial of service and interrupting workloads. Confidentiality compromise, attacker-controlled memory corruption, privilege escalation, and arbitrary code execution are not established. Attack-vector assessments differ: some classify exploitation as local, high complexity, and requiring low privileges, while Red Hat describes a remote denial-of-service scenario involving NFS write access.

Mitigation

If you can’t patch tonight, do this now.

Where NFS client functionality is unnecessary, prevent the nfs kernel module from loading. On systems that require NFS, restrict untrusted users and workloads from writing to NFS-mounted filesystems and minimize unnecessary NFS usage until the kernel is patched. Disabling NFS functionality may disrupt dependent applications.

Remediation

Patch, then assume compromise.

Upgrade to a supported kernel containing the fix and reboot into the updated kernel. Upstream fixed releases include Linux 6.12.44 and 6.16.4; the fix is also included in 6.17-rc3. Prefer the latest supported stable kernel or the distribution's applicable security update rather than cherry-picking individual commits. The fix acquires the page-group lock earlier in nfs_lock_and_join_requests() and holds it across request removal in nfs_inode_remove_request(). Distribution backports include RHEL 8.10 kernel 4.18.0-553.85.1.el8_10, RHEL 9.6 kernel 5.14.0-570.79.1.el9_6, and SLES/SLED 15 SP6 kernel-default 6.4.0-150600.23.78.1; use the update appropriate to the deployed product and support stream.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Debian ProjectDebian Linuxoperating_system
LinuxLinux Kerneloperating_system
FAQ

Frequently asked questions

Is CVE-2025-39697 exploited in the wild?
As of Oct 26, 2026, Mallory has no reports of CVE-2025-39697 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2025-39697?
As of Oct 26, 2026, Mallory has found no public exploit for CVE-2025-39697.
Is there a patch for CVE-2025-39697?
Upgrade to a supported kernel containing the fix and reboot into the updated kernel. Upstream fixed releases include Linux 6.12.44 and 6.16.4; the fix is also included in 6.17-rc3.
What products are affected by CVE-2025-39697?
Linux Kernel and Debian Project Debian Linux.
How severe is CVE-2025-39697?
CVE-2025-39697 has a CVSS v3.1 score of 4.7 (Medium) and an EPSS score of 0.21% (6th percentile) as of Oct 26, 2026.
Activity feed

Recent activity

35 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+15 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.