CVE Catalog

CVE-2025-39825

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.11%

1th percentile - higher than 1% of all known CVEs

Summary

In the SMB client of the Linux kernel, a race condition was found during rename operations that allows concurrent opens on the target file. The rename process involves closing deferred closes and marking handles as deleted, widening the race window.

Risk Assessment

The organization may face data inconsistency or unexpected file access errors in SMB environments, especially under heavy concurrent access.

Recommendation

Update the Linux kernel to a version containing the fix that prevents concurrent opens on the target file by unhashing the dentry in advance.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS