CVE-2026-99536
ksmbd: prevent session binding in compound requests
What happened?
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 software and versions
| Software | Version information | Fixed version |
|---|---|---|
| LinuxLinux | affected: 4b706360ffb7e459cb3d3edae30b06a584f6eddd to < 4f148586c9cb18ad47b5f41153139d0fefa596d3; affected: 4b706360ffb7e459cb3d3edae30b06a584f6eddd to < 19f8fd6b5ced33b02a083759e6901f9d6e8076df; affected: a1f2ada2e4d33d316939dedefbfd2e7d94a0c61f; affected: 7.1.5 to < 7.2 | See vendor advisory |
| LinuxLinux | affected: 7.2; unaffected: 0 to < 7.2; unaffected: 7.3.2 to ≤ 7.3.*; unaffected: 7.4-rc1 to ≤ * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.