CVE Catalog

CVE-2025-37954

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.30%

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

Summary

In the Linux kernel's SMB client, a race condition exists in open_cached_dir with lease breaks. A valid cfid entry may be considered invalid, causing a dentry reference leak if allocation occurs before the queued lease break work runs.

Risk Assessment

The organization may face memory leaks and potential performance degradation in environments using SMB mounts, especially under frequent lease breaks.

Recommendation

Apply the Linux kernel patch that extends the cfid_list_lock to cover find_or_create_cached_dir and the result check to prevent the race.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS