Medium severity · published Sep 16, 2025
CVE-2025-39825
smb: client: fix race with concurrent opens in rename(2)
4.7
CVSS
0.1%
EPSS
No
On KEV
Description
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix race with concurrent opens in rename(2)
Besides sending the rename request to the server, the rename process
also involves closing any deferred close, waiting for outstanding I/O
to complete as well as marking all existing open handles as deleted to
prevent them from deferring closes, which increases the race window
for potential concurrent opens on the target file.
Fix this by unhashing the dentry in advance to prevent any concurrent
opens on the target.
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
High
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.1% · higher than 2% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
5.13 before 6.1.150; 6.2 before 6.6.104; 6.7 before 6.12.45; 6.13 before 6.16.5; 6.17 · source: NVD
LI
Linux · Linux
78c09634f7dc061a3bd09704cdbebb3762a45cdf before c9e7de284da0be5b44dbe79d71573f9f7f9b144c; 78c09634f7dc061a3bd09704cdbebb3762a45cdf before 24b9ed739c8c5b464d983e12cf308982f3ae93c2; 78c09634f7dc061a3bd09704cdbebb3762a45cdf before c9991af5e09924f6f3b3e6996a5e09f9504b4358; 78c09634f7dc061a3bd09704cdbebb3762a45cdf before 289f945acb20b9b54fe4d13895e44aa58965ddb2; 78c09634f7dc061a3bd09704cdbebb3762a45cdf before d84291fc7453df7881a970716f8256273aca5747; 5.13 · source: vendor
DL
Debian Linux · Debian
11.0 · source: NVD
SC
SIMATIC CN 4100 · Siemens
before V5.0 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-39825
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-39825
Patch
https://git.kernel.org/stable/c/24b9ed739c8c5b464d983e12cf308982f3ae93c2
Patch
https://git.kernel.org/stable/c/289f945acb20b9b54fe4d13895e44aa58965ddb2
Patch
https://git.kernel.org/stable/c/c9991af5e09924f6f3b3e6996a5e09f9504b4358
Patch
https://git.kernel.org/stable/c/c9e7de284da0be5b44dbe79d71573f9f7f9b144c
Patch
https://git.kernel.org/stable/c/d84291fc7453df7881a970716f8256273aca5747
Mailing List
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
