CVE-2025-37954
smb: client: Avoid race in open_cached_dir with lease breaks
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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.
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | May 20, 2025 |
| Last Updated | May 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new unknown vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
81ba10959970d15c388bf29866b01b62f387e6a3 < 2ed98e89ebc2e1bc73534dc3c18cb7843a889ff9 81ba10959970d15c388bf29866b01b62f387e6a3 < 571dcf3d27b24800c171aea7b5e04ff06d10e2e9 81ba10959970d15c388bf29866b01b62f387e6a3 < 2407265dc32bc8cc45b62a612c2a214ba9038e8b 81ba10959970d15c388bf29866b01b62f387e6a3 < 3ca02e63edccb78ef3659bebc68579c7224a6ca2 436be190fbf81e5d84040dabf9cb7be06a94dc5d
Linux / Linux
6.6
References
git.kernel.org: https://git.kernel.org/stable/c/2ed98e89ebc2e1bc73534dc3c18cb7843a889ff9 git.kernel.org: https://git.kernel.org/stable/c/571dcf3d27b24800c171aea7b5e04ff06d10e2e9 git.kernel.org: https://git.kernel.org/stable/c/2407265dc32bc8cc45b62a612c2a214ba9038e8b git.kernel.org: https://git.kernel.org/stable/c/3ca02e63edccb78ef3659bebc68579c7224a6ca2