CVE-2025-39825
MEDIUM 4.7CVSS 3.1In 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.
- Published
- 16 Sep 2025
- Last modified
- 19 Oct 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-362
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.13, < 6.1.150 | 6.1.150 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.2, < 6.6.104 | 6.6.104 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.12.45 | 6.12.45 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.13, < 6.16.5 | 6.16.5 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:* |
= 6.17 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 |
References
- 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 · Patch
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html · Mailing List, Third Party Advisory
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 16 Sep 2025)