CVE-2025-37954 Details
Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: Avoid race in open_cached_dir with lease breaks A pre-existing valid cfid returned from find_or_create_cached_dir might race with a lease break, meaning open_cached_dir doesn't consider it valid, and thinks it's newly-constructed. This leaks a dentry reference if the allocation occurs before the queued lease break work runs. Avoid the race by extending holding the cfid_list_lock across find_or_create_cached_dir and when the result is checked.
A race condition vulnerability has been identified in the Linux kernel's SMB client implementation. This issue arises in the 'open_cached_dir' function, where a valid 'cfid' (cached file identifier) may incorrectly be treated as new due to a lease break. If the 'cfid' is allocated before the lease break is processed, it can lead to a reference leak of the directory entry. The vulnerability affects the handling of cached directories in relation to lease management, potentially causing inconsistencies in directory reference counting.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2407265dc32bc8cc45b62a612c2a214ba9038e8b | kernel.org | Patch |
| https://git.kernel.org/stable/c/2ed98e89ebc2e1bc73534dc3c18cb7843a889ff9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/3ca02e63edccb78ef3659bebc68579c7224a6ca2 | kernel.org | Patch |
| https://git.kernel.org/stable/c/571dcf3d27b24800c171aea7b5e04ff06d10e2e9 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 6.6.91 >= 6.7, < 6.12.29 >= 6.13, < 6.14.7 6.15 rc1 6.15 rc2 6.15 rc3 6.15 rc4 6.15 rc5 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 14, 2025 | Initial Analysis | [email protected] |
| May 20, 2025 | New CVE Received | kernel.org |