CVE-2025-37954

smb: client: Avoid race in open_cached_dir with lease breaks

MEDIUM
5.5
CVSS Score
Published: May 20, 2025 at 04:01 PM UTC
Updated: October 15, 2026 at 10:18 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.6.916.13 ≤ v < 6.14.76.7 ≤ v < 6.12.29436be190fbf81e5d84040dabf9cb7be06a94dc5d6.156.15 rc16.15 rc26.15 rc36.15 rc46.15 rc56.5.1081ba10959970d15c388bf29866b01b62f387e6a3
Vendor states this is fixed in 2407265dc32bc8cc45b62a612c2a214ba9038e8b (fixed)
Vendor states this is fixed in 2ed98e89ebc2e1bc73534dc3c18cb7843a889ff9 (fixed)
Vendor states this is fixed in 3ca02e63edccb78ef3659bebc68579c7224a6ca2 (fixed)
Vendor states this is fixed in 571dcf3d27b24800c171aea7b5e04ff06d10e2e9 (fixed)
Vendor states this is fixed in 6.12.29 (unaffected)
Vendor states this is fixed in 6.14.7 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6 (unaffected)
Vendor states this is fixed in 6.6.91 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2407265dc32bc8cc45b62a612c2a214ba9038e8b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2ed98e89ebc2e1bc73534dc3c18cb7843a889ff9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3ca02e63edccb78ef3659bebc68579c7224a6ca2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/571dcf3d27b24800c171aea7b5e04ff06d10e2e9

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card