{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99536","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.420Z","datePublished":"2026-11-19T14:44:49.602Z","dateUpdated":"2026-11-22T11:08:48.417Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-22T11:08:48.417Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: prevent session binding in compound requests\n\nA failed multichannel binding can retain its target session on the work\nitem so that the error response can be signed. Subsequent compound\ncommands can then use that session together with a tree connection left\nover from an earlier command.\n\nLimit binding SESSION_SETUP requests to standalone messages during\nmessage validation, before smb2_sess_setup() can replace work->sess.\nCheck both NextCommand and the current request offset to cover binding\nin the first, middle and last positions of a compound. The existing\nvalidation error path returns STATUS_INVALID_PARAMETER and stops\nprocessing the remaining commands.\n\nThis intentionally limits support for compounded binding. It is not a\nprotocol requirement that binding be standalone. Standalone binding and\nnon-binding compounds retain their existing behavior, without changing\nsession, tree or response encryption handling."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","baseScore":7.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"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.\nAC: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.\nPR: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.\nUI: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.\nS: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.\nC: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.\nI: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.\nA: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."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/server/smb2misc.c"],"versions":[{"version":"4b706360ffb7e459cb3d3edae30b06a584f6eddd","lessThan":"4f148586c9cb18ad47b5f41153139d0fefa596d3","status":"affected","versionType":"git"},{"version":"4b706360ffb7e459cb3d3edae30b06a584f6eddd","lessThan":"19f8fd6b5ced33b02a083759e6901f9d6e8076df","status":"affected","versionType":"git"},{"version":"a1f2ada2e4d33d316939dedefbfd2e7d94a0c61f","status":"affected","versionType":"git"},{"version":"7.1.5","lessThan":"7.2","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/server/smb2misc.c"],"versions":[{"version":"7.2","status":"affected"},{"version":"0","lessThan":"7.2","status":"unaffected","versionType":"semver"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.4-rc1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1.5"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/4f148586c9cb18ad47b5f41153139d0fefa596d3"},{"url":"https://git.kernel.org/stable/c/19f8fd6b5ced33b02a083759e6901f9d6e8076df"}],"title":"ksmbd: prevent session binding in compound requests","x_generator":{"engine":"bippy-1.2.0"}}}}