Skip to main content
← All vulnerabilities
CVE-2025-37954

smb: client: Avoid race in open_cached_dir with lease breaks

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6, 6.6.91, 6.12.29, 6.14.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 81ba10959970d15c388bf29866b01b62f387e6a3 · fixed in 2ed98e89ebc2e1bc73534dc3c18cb7843a889ff9; From 81ba10959970d15c388bf29866b01b62f387e6a3 · fixed in 571dcf3d27b24800c171aea7b5e04ff06d10e2e9; From 81ba10959970d15c388bf29866b01b62f387e6a3 · fixed in 2407265dc32bc8cc45b62a612c2a214ba9038e8b; From 81ba10959970d15c388bf29866b01b62f387e6a3 · fixed in 3ca02e63edccb78ef3659bebc68579c7224a6ca2; From 6.5.10 · fixed in 6.6

  • Linux Linux

    6.6

  • KernelLinux

    From 6.6.0 · fixed in 6.6.91; From 6.7.0 · fixed in 6.12.29; From 6.13.0 · fixed in 6.14.7

References 4

git.kernel.org