CVE-2025-37954: smb: client: Avoid race in open_cached_dir with lease breaks
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.
Security readout for executives and security teams
Plain-English summary
A race condition in the Linux SMB client can leak filesystem references when directory caching overlaps an SMB lease break. Repeated triggering could consume resources and reduce system availability. The supplied CVSS score is 7.5, with no indicated confidentiality or integrity impact.
Executive priority
Treat as a high-priority availability issue for Linux systems actively using SMB shares. Patch exposed and business-critical hosts promptly, while avoiding emergency escalation unsupported by exploitation evidence. Systems without kernel SMB client use are less likely to be affected.
Technical view
A cached-file identifier returned by find_or_create_cached_dir can become invalid during a concurrent lease break. open_cached_dir may then mistake it for a newly constructed object and leak a dentry reference. The kernel fix keeps cfid_list_lock held while finding and validating the cached directory.
Likely exposure
Potential exposure is limited to Linux systems running affected kernels and using the kernel SMB client. The bundle flags 6.6, 6.6.91, 6.12.29, 6.14.7, and 6.15, but lacks sufficient range semantics to determine every affected build reliably.
Exploitation context
The supplied CVSS vector describes network-reachable, low-complexity, unauthenticated availability impact. However, KEV is false and the provided sources do not establish active exploitation or a public exploit. Practical trigger conditions and resource-exhaustion rate are not documented in the bundle.
Researcher notes
No CWE is assigned in the supplied record. The flaw is a lock-scope race causing a dentry reference leak, not a documented memory-corruption or code-execution primitive. Four stable-kernel fix commits are provided. Exact affected-version boundaries require confirmation from kernel or distribution advisories.
Mitigation direction
Install a vendor-supported kernel update containing the applicable cited stable fix.
Check distribution security guidance to map packaged kernel versions to the upstream fixes.
Prioritize systems actively mounting SMB shares, especially availability-sensitive servers.
If patching is delayed, assess whether unnecessary SMB client access can be temporarily disabled.
Validation and detection
Inventory kernel versions across systems that use Linux SMB mounts.
Identify hosts using kernel SMB directory caching and lease functionality.
Verify distributor changelogs include the applicable upstream fix commit.
After updating, confirm the running kernel matches the remediated package.
Monitor affected hosts for unusual reference growth or availability degradation.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-37954 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
0ADP providers
5Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.