CVE-2026-99536
published high CVSS 3.1 · 7.1ksmbd: prevent session binding in compound requests
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux4b706360ffb7e459cb3d3edae30b06a584f6eddd to < 4f148586c9cb18ad47b5f41153139d0fefa596d3 · 4b706360ffb7e459cb3d3edae30b06a584f6eddd to < 19f8fd6b5ced33b02a083759e6901f9d6e8076df · a1f2ada2e4d33d316939dedefbfd2e7d94a0c61f · 7.1.5 to < 7.2 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.2 (affected) · 0 to < 7.2 (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 12 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
- Scenarios
- en: AV:N - A remote client reaches ksmbd_smb2_check_message through ksmbd_conn_handler_loop's TCP read and __handle_ksmbd_work; the triggering input is an SMB2 compound whose SESSION_SETUP carries SMB2_SESSION_REQ_FLAG_BINDING, which smb2_sess_setup uses to replace work->sess. AC:H - smb2_sess_setup keeps the looked-up session only after memcmp(conn->ClientGUID, sess->ClientGUID) on the multichannel bind path, and that GUID is never sent back to other clients, so a caller who did not open the target session cannot produce the match. PR:L - Later commands reach smb2_open only after smb2_check_user_session sees ksmbd_conn_good; that state is set in smb2_sess_setup only once the attacker's own NTLM or Kerberos authentication has succeeded on this connection. UI:N - The attacker sends the compound on the connection they already authenticated, and the follow-up smb2_open or smb2_session_logoff uses the retained work->sess while its owner takes no part in the exchange. S:U - The substituted work->sess and the tree left in work->tcon are both ksmbd session state on the same host; ksmbd_override_fsids only changes the fsuid used for that share. C:H - smb3_encryption_negotiated clears sess->sign, and __process_request rejects an unsigned follow-up only when sess->sign is set, so smb2_open's smb_check_perm_dacl and ksmbd_override_fsids apply the bound sess->user to files on the leftover tree. I:H - smb2_open creates or truncates with that substituted fsuid, and smb2_write and smb2_set_info update bytes and metadata as the bound user; tree_conn->user is stored in ksmbd_tree_conn_connect and not consulted again. A:L - A trailing SMB2 LOGOFF in the same compound calls smb2_session_logoff on the retained session, which sets SMB2_SESSION_EXPIRED and ksmbd_all_conn_set_status to NEED_SETUP, dropping that user's channels.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 4b706360ffb7e459cb3d3edae30b06a584f6eddd to < 4f148586c9cb18ad47b5f41153139d0fefa596d3 (affected · git)4b706360ffb7e459cb3d3edae30b06a584f6eddd to < 19f8fd6b5ced33b02a083759e6901f9d6e8076df (affected · git)a1f2ada2e4d33d316939dedefbfd2e7d94a0c61f (affected · git)7.1.5 to < 7.2 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 7.2 (affected)0 to < 7.2 (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
ksmbd: prevent session binding in compound requests
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d477e85c6eb0c7246635743b56c13691048716da82bce0b4bdc8e4de6fbad27e
- Ingested
- 23 Nov 2026, 14:35:29 UTC
- Source record
- Official CVE record