smb: client: Avoid race in open_cached_dir with lease breaks
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6, 6.6.91, 6.12.29, 6.14.7
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- 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