PoC Monitor
← All CVEs
CVE-2025-37954published 20 May 2025 16:01 UTCData: JSON · API

Linux

smb: client: Avoid race in open_cached_dir with lease breaks

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 81ba10959970d15c388bf29866b01b62f387e6a3, < 2ed98e89ebc2e1bc73534dc3c18cb7843a889ff9
  • >= 81ba10959970d15c388bf29866b01b62f387e6a3, < 571dcf3d27b24800c171aea7b5e04ff06d10e2e9
  • >= 81ba10959970d15c388bf29866b01b62f387e6a3, < 2407265dc32bc8cc45b62a612c2a214ba9038e8b
  • >= 81ba10959970d15c388bf29866b01b62f387e6a3, < 3ca02e63edccb78ef3659bebc68579c7224a6ca2
  • 436be190fbf81e5d84040dabf9cb7be06a94dc5d
  • >= 6.5.10, < 6.6

Fixed in 2ed98e89ebc2e1bc73534dc3c18cb7843a889ff9, 571dcf3d27b24800c171aea7b5e04ff06d10e2e9, 2407265dc32bc8cc45b62a612c2a214ba9038e8b, 3ca02e63edccb78ef3659bebc68579c7224a6ca2, 6.6

Linux Linux
  • 6.6

Fixed in 0, 6.6.91, 6.12.29, 6.14.7, 6.15

Mitigation

Upgrade Linux to 2ed98e89ebc2e1bc73534dc3c18cb7843a889ff9 or 571dcf3d27b24800c171aea7b5e04ff06d10e2e9 or 2407265dc32bc8cc45b62a612c2a214ba9038e8b or 3ca02e63edccb78ef3659bebc68579c7224a6ca2 or 6.6 or later.

Upgrade Linux to 0 or 6.6.91 or 6.12.29 or 6.14.7 or 6.15 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published20 May 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.