Vulnerability in Linux
CVE-2025-39825
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.
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.001, 1.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 78c09634f7dc061a3bd09704cdbebb3762a45cdf, 5.13, 0
- Linux Kernel — versions 6.17
- Debian Linux — versions 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/c9e7de284da0be5b44dbe79d71573f9f7f9b144c (Patch)
- git.kernel.org/stable/c/24b9ed739c8c5b464d983e12cf308982f3ae93c2 (Patch)
- git.kernel.org/stable/c/c9991af5e09924f6f3b3e6996a5e09f9504b4358 (Patch)
- git.kernel.org/stable/c/289f945acb20b9b54fe4d13895e44aa58965ddb2 (Patch)
- git.kernel.org/stable/c/d84291fc7453df7881a970716f8256273aca5747 (Patch)
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html (Mailing List, Third Party Advisory)
- cert-portal.siemens.com/productcert/html/ssa-032379.html