CVE-2025-39825: Concurrent-open race in Linux kernel SMB client rename processing
- Vendors
- Debian ProjectLinux
CVE-2025-39825 is a race condition in the Linux kernel SMB client that permits concurrent opens of a target file during rename(2) processing. In addition to sending the rename request to the server, the rename workflow handles deferred closes, waits for outstanding I/O, and marks existing open handles as deleted to prevent further deferred closes. These steps enlarge the window in which another operation can open the target, undermining the intended coordination between rename and open operations. The fix unhashes the target dentry before processing proceeds, preventing concurrent opens on that target.
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 disrupt availability through the SMB client rename/open race. NVD and Tenable assessments indicate high availability impact without confidentiality or integrity impact, while Red Hat assigns high impact across all three categories. The precise failure mode and mechanisms supporting confidentiality or integrity compromise are not established; arbitrary code execution or privilege escalation should not be treated as demonstrated outcomes.
Mitigation
If you can’t patch tonight, do this now.
No verified vulnerability-specific workaround is available. Pending patching, restrict untrusted local users and workloads from accessing affected SMB mounts and, where operationally feasible, avoid concurrent rename and open operations on the same target. These measures reduce exposure but do not correct the underlying race.
Remediation
Patch, then assume compromise.
Update to a supported kernel containing the fix. Upstream fixed releases include 6.1.150, 6.6.104, 6.12.45, 6.16.5, and 6.17-rc2; prefer the latest supported stable release rather than cherry-picking the individual change. Distribution kernels may contain backported fixes despite lower upstream version numbers, so verify the applicable vendor advisory. Examples include RHEL 8.10 kernel 4.18.0-553.87.1.el8_10, RHEL 8.6 kernel 4.18.0-372.173.1.el8_6, and RHEL 9.4 kernel 5.14.0-427.106.1.el9_4. Echo installations should update the linux package and related packages to 6.1.153-1 or later. Reboot after installing replacement kernel packages to activate the fix.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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.
References
Frequently asked questions
- Is CVE-2025-39825 exploited in the wild?
- As of Oct 25, 2026, Mallory has no reports of CVE-2025-39825 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-39825?
- As of Oct 25, 2026, Mallory has found no public exploit for CVE-2025-39825.
- Is there a patch for CVE-2025-39825?
- Update to a supported kernel containing the fix. Upstream fixed releases include 6.1.150, 6.6.104, 6.12.45, 6.16.5, and 6.17-rc2; prefer the latest supported stable release rather than cherry-picking the individual change.
- What products are affected by CVE-2025-39825?
- Linux Kernel and Debian Project Debian Linux.
- How severe is CVE-2025-39825?
- CVE-2025-39825 has a CVSS v3.1 score of 4.7 (Medium) and an EPSS score of 0.18% (5th percentile) as of Oct 25, 2026.
Recent activity
21 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.