CVE-2025-39825

MEDIUM

Linux Kernel 5.13-6.1.149, 6.2-6.6.103, 6.7-6.12.44, 6.13-6.16.4 - Race Condition in SMB Client Rename Operation

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 4.7
EPSS 0.0001
EPSS Percentile 3.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-362
Status published
Products (19)
debian/debian_linux 11.0
linux/Kernel 5.13.0 - 6.1.150linux
linux/Kernel 6.13.0 - 6.16.5linux
linux/Kernel 6.2.0 - 6.6.104linux
linux/Kernel 6.7.0 - 6.12.45linux
Linux/Linux < 5.13
Linux/Linux 5.13
Linux/Linux 6.1.150 - 6.1.*
Linux/Linux 6.12.45 - 6.12.*
Linux/Linux 6.16.5 - 6.16.*
... and 9 more
Published Sep 16, 2025
Tracked Since Feb 18, 2026