ksmbd: prevent session binding in compound requests
NIST has received this entry but not started reviewing it.
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.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 2 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Linux Linux | Software | from 4b706360ffb7e459cb3d3edae30b06a584f6eddd, before 4f148586c9cb18ad47b5f41153139d0fefa596d3; from 4b706360ffb7e459cb3d3edae30b06a584f6eddd, before 19f8fd6b5ced33b02a083759e6901f9d6e8076df; a1f2ada2e4d33d316939dedefbfd2e7d94a0c61f; from 7.1.5, before 7.2 | 4f148586c9cb18ad47b5f41153139d0fefa596d3; 19f8fd6b5ced33b02a083759e6901f9d6e8076df; 7.2 |
| Linux Linux | Software | 7.2 | not recorded |
The 7.1 severity score (high) from the company that reported it, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | High | Hard to carry out. It depends on conditions the attacker cannot control. |
| Login needed | Low | The attacker needs an ordinary user account. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Unchanged | The damage stays inside the vulnerable program. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | Low | The attacker can slow the service or interrupt it briefly. |
| Ease of attack | 1.6 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 5.5 | A score for how bad the harm is if it works. Higher is worse. |
NIST lists 2 sources for this flaw, none tagged as a vendor patch.