ksmbd: safely drain sessions during logoff
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d12168084c8c1b6d883c8eca5853929ac5136a9e, Kernel 6.11, Kernel 6.7 and 2 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=76e98a158b207771a6c9a0de0a60522a446a3447 <d12168084c8c1b6d883c8eca5853929ac5136a9e, >=6.10.7 <6.11, >=6.6.48 <6.7, >=76e98a158b207771a6c9a0de0a60522a446a3447 <a7e6df0bb92642bee4431b2b85c69ada1e463b21, =118fd997612d1efc94a86c307c6c6d659ebe29fc, =6.11, =c1e55020534c4aafbc38d8f5c4583ff30755ac18 | d12168084c8c1b6d883c8eca5853929ac5136a9e, 6.11, 6.7, a7e6df0bb92642bee4431b2b85c69ada1e463b21 |
| linux-kernel: Kernel | >=6.11.0 <7.2.7, >=6.6.48 <6.7, >=6.10.7 <6.11 | 7.2.7, 6.7, 6.11 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket