Skip to content
7.8 High

CVE-2025-39825 In the Linux kernel, the following vulnerability has been resolved: smb: client: fix race with concurrent opens in…

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.

Affected products and versions

Product Affected versions Fixed in
Linux 6.17 earliest → < 6.17 6.17
Linux 6.16 earliest → < 6.16.5 6.16.5
Linux 6.12 earliest → < 6.12.45 6.12.45
Linux 6.6 earliest → < 6.6.104 6.6.104
Linux 6.1 earliest → < 6.1.150 6.1.150
Linux 5.13 No fix stated
SIMATIC CN 4100 5.0 earliest → < 5.0 5.0
The 18286 CVEs of Linux →
Track this CVE