ksmbd: prevent session binding in compound requests
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 19, 2026
- Updated
- Nov 22, 2026
- Reserved
- Sep 25, 2026
Description
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.
| Product | Versions |
|---|---|
| Linux Linux | 4b706360ffb7e459cb3d3edae30b06a584f6eddd to before 4f148586c9cb18ad47b5f41153139d0fefa596d3 Affected4b706360ffb7e459cb3d3edae30b06a584f6eddd to before 19f8fd6b5ced33b02a083759e6901f9d6e8076df Affecteda1f2ada2e4d33d316939dedefbfd2e7d94a0c61f Affected7.1.5 to before 7.2 Affected |
| Linux Linux | 7.2 Affectedbefore 7.2 Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.1 High | Linux |
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.