ksmbd: prevent session binding in compound requests
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4f148586c9cb18ad47b5f41153139d0fefa596d3, Kernel 7.2, Kernel 19f8fd6b5ced33b02a083759e6901f9d6e8076df and 1 more.
In the Linux kernel, the following vulnerability has been resolved: ksmbd: prevent session binding in compound requests A failed multichannel binding can retain its target session on the work item so that the error response can be signed. Subsequent compound commands can then use that session together with a tree connection left over from an earlier command. Limit binding SESSION_SETUP requests to standalone messages during message validation, before smb2_sess_setup() can replace work->sess. Check both NextCommand and the current request offset to cover binding in the first, middle and last positions of a compound. The existing validation error path returns STATUS_INVALID_PARAMETER and stops processing the remaining commands. This intentionally limits support for compounded binding. It is not a protocol requirement that binding be standalone. Standalone binding and non-binding compounds retain their existing behavior, without changing session, tree or response encryption handling.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =a1f2ada2e4d33d316939dedefbfd2e7d94a0c61f, >=4b706360ffb7e459cb3d3edae30b06a584f6eddd <4f148586c9cb18ad47b5f41153139d0fefa596d3, >=7.1.5 <7.2, =7.2, >=4b706360ffb7e459cb3d3edae30b06a584f6eddd <19f8fd6b5ced33b02a083759e6901f9d6e8076df | 4f148586c9cb18ad47b5f41153139d0fefa596d3, 7.2, 19f8fd6b5ced33b02a083759e6901f9d6e8076df |
| linux-kernel: Kernel | >=7.2.0 <7.3.2, >=7.1.5 <7.2 | 7.3.2, 7.2 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket