CVE-2026-99536 (GCVE-0-2026-99536)
Vulnerability from cvelistv5 – Published: 2026-11-19 14:44 – Updated: 2026-11-22 11:08
VLAI
EPSS
VEX
Title
ksmbd: prevent session binding in compound requests
Summary
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.
Severity
7.1 (High)
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
4b706360ffb7e459cb3d3edae30b06a584f6eddd , < 4f148586c9cb18ad47b5f41153139d0fefa596d3
(git)
Affected: 4b706360ffb7e459cb3d3edae30b06a584f6eddd , < 19f8fd6b5ced33b02a083759e6901f9d6e8076df (git) Affected: a1f2ada2e4d33d316939dedefbfd2e7d94a0c61f (git) Affected: 7.1.5 , < 7.2 (semver) |
|
| Linux | Linux |
Affected:
7.2
Unaffected: 0 , < 7.2 (semver) Unaffected: 7.3.2 , ≤ 7.3.* (semver) Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/smb/server/smb2misc.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "4f148586c9cb18ad47b5f41153139d0fefa596d3",
"status": "affected",
"version": "4b706360ffb7e459cb3d3edae30b06a584f6eddd",
"versionType": "git"
},
{
"lessThan": "19f8fd6b5ced33b02a083759e6901f9d6e8076df",
"status": "affected",
"version": "4b706360ffb7e459cb3d3edae30b06a584f6eddd",
"versionType": "git"
},
{
"status": "affected",
"version": "a1f2ada2e4d33d316939dedefbfd2e7d94a0c61f",
"versionType": "git"
},
{
"lessThan": "7.2",
"status": "affected",
"version": "7.1.5",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/smb/server/smb2misc.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "7.2"
},
{
"lessThan": "7.2",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3.2",
"versionStartIncluding": "7.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.4-rc1",
"versionStartIncluding": "7.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "7.1.5",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"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-\u003esess.\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": {
"baseScore": 7.1,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:N - A remote client reaches ksmbd_smb2_check_message through ksmbd_conn_handler_loop\u0027s 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-\u003esess.\nAC:H - smb2_sess_setup keeps the looked-up session only after memcmp(conn-\u003eClientGUID, sess-\u003eClientGUID) 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\u0027s 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-\u003esess while its owner takes no part in the exchange.\nS:U - The substituted work-\u003esess and the tree left in work-\u003etcon 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-\u003esign, and __process_request rejects an unsigned follow-up only when sess-\u003esign is set, so smb2_open\u0027s smb_check_perm_dacl and ksmbd_override_fsids apply the bound sess-\u003euser 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-\u003euser 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\u0027s channels."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-22T11:08:48.417Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"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"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-99536",
"datePublished": "2026-11-19T14:44:49.602Z",
"dateReserved": "2026-09-25T10:25:14.420Z",
"dateUpdated": "2026-11-22T11:08:48.417Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-99536",
"date": "2026-11-22",
"epss": "0.00104",
"percentile": "0.01002"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/smb/server/smb2misc.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "4f148586c9cb18ad47b5f41153139d0fefa596d3",
"status": "affected",
"version": "4b706360ffb7e459cb3d3edae30b06a584f6eddd",
"versionType": "git"
},
{
"lessThan": "19f8fd6b5ced33b02a083759e6901f9d6e8076df",
"status": "affected",
"version": "4b706360ffb7e459cb3d3edae30b06a584f6eddd",
"versionType": "git"
},
{
"status": "affected",
"version": "a1f2ada2e4d33d316939dedefbfd2e7d94a0c61f",
"versionType": "git"
},
{
"lessThan": "7.2",
"status": "affected",
"version": "7.1.5",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/smb/server/smb2misc.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "7.2"
},
{
"lessThan": "7.2",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"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-\u003esess.\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."
}
],
"id": "CVE-2026-99536",
"lastModified": "2026-11-22T11:16:55.423",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 7.1,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L",
"version": "3.1"
},
"exploitabilityScore": 1.6,
"impactScore": 5.5,
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"type": "Secondary"
}
]
},
"published": "2026-11-19T15:18:09.553",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/19f8fd6b5ced33b02a083759e6901f9d6e8076df"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/4f148586c9cb18ad47b5f41153139d0fefa596d3"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
},
"redhat_vex": {
"aggregate_severity": "Important",
"current_release_date": "2026-11-22T11:31:24+00:00",
"cve": "CVE-2026-99536",
"id": "CVE-2026-99536",
"initial_release_date": "2026-11-19T14:44:49.602000+00:00",
"product_status:known_not_affected": "204",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: kernel: ksmbd: unauthorized access via compound request session binding",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99536.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…