ksmbd: safely drain sessions during logoff
- 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.7, 6.11, 7.2.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
Summary
In the Linux kernel, the following vulnerability has been resolved: ksmbd: safely drain sessions during logoff SMB3 multichannel allows requests for one session to run on multiple connections. Wait for all channels bound to a session before freeing shared session objects. A deferred byte-range lock remains counted as a running request and only wakes when its file closes. Wake blocked locks during the drain without unpublishing or modifying their file objects. Synchronous CANCEL requests must invoke their cancellation callback to wake pending operations, while CHANGE_NOTIFY completion remains specific to the asynchronous path. Serialize session teardown with channel registration and previous-session cleanup, and use atomic work-state transitions so LOGOFF, CANCEL, and connection teardown invoke cancellation callbacks only once.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 76e98a158b207771a6c9a0de0a60522a446a3447 · fixed in a7e6df0bb92642bee4431b2b85c69ada1e463b21; From 76e98a158b207771a6c9a0de0a60522a446a3447 · fixed in d12168084c8c1b6d883c8eca5853929ac5136a9e; From 6.6.48 · fixed in 6.7; From 6.10.7 · fixed in 6.11
- Linux Linux
6.11
- KernelLinux
From 6.11.0 · fixed in 7.2.7