Vulnerabilities · 2025 · Linux
CVE-2025-37954
Linux Kernel vulnerability
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 products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/2407265dc32bc8cc45b62a612c2a214ba9038e8b · Patch
- git.kernel.org/stable/c/2ed98e89ebc2e1bc73534dc3c18cb7843a889ff9 · Patch
- git.kernel.org/stable/c/3ca02e63edccb78ef3659bebc68579c7224a6ca2 · Patch
- git.kernel.org/stable/c/571dcf3d27b24800c171aea7b5e04ff06d10e2e9 · Patch
- nvd.nist.gov/vuln/detail/CVE-2025-37954
- cve.org/CVERecord?id=CVE-2025-37954
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.