CVE-2026-99531 (GCVE-0-2026-99531)
Vulnerability from cvelistv5 – Published: 2026-11-19 14:44 – Updated: 2026-11-23 08:03
VLAI
EPSS
VEX
Title
ksmbd: verify transform SessionId matches the decrypted header
Summary
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: verify transform SessionId matches the decrypted header
When an encrypted request comes in, the decryption key is picked by
the SessionId in the transform header, but the request is then
authorized under whatever session the decrypted inner header names.
Nothing ever compares the two, so on a connection with more than
one session a client can get a request decrypted with one session's
key and run it as another session. Encrypted requests are exempt
from signing too, so a valid AEAD tag is the only proof of session
identity, and it is checked against the wrong session.
MS-SMB2 says the server must check that the transform SessionId
matches the one in the decrypted SMB2 header and treat a mismatch
as a protocol error. Add that check in __handle_ksmbd_work() after
decryption, before dispatching: the message has to be at least one
fixed SMB2 header, the first operation must not set
SMB2_FLAGS_RELATED_OPERATIONS and its SessionId must match the
transform SessionId, and every following non-related operation in
a compound chain must carry the same SessionId. NextCommand
offsets must be 8-byte aligned and stay inside the message; the
bounds check is done by subtraction so it cannot wrap.
When the decrypted payload is a compression transform, the
existing decompression step runs first and the decompressed SMB2
message is checked instead, since a compression transform header
carries no SessionId.
Severity
No CVSS data available.
Assigner
References
7 references
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 , < aff28f0f92ab3f9809ccab5075724ab54809378f
(git)
Affected: e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 , < 1ab4528483a8307787ad66457045ebfb7c652d16 (git) Affected: e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 , < 62af7b1179fb0155ecda158b6e02e145d1abdc99 (git) Affected: e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 , < b150049dffd0865fb6e60ce843299216687f02ad (git) Affected: e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 , < 7f30b886c5a1a2b3d9342ea82d0699eff812a472 (git) Affected: e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 , < 8c5f62dd9a0b61e0082d419796e0743e820bd002 (git) Affected: e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 , < 798214e6fafcdcc29f5ba2661a473232b5e70cfb (git) |
|
| Linux | Linux |
Affected:
5.15
Unaffected: 0 , < 5.15 (semver) Unaffected: 5.15.226 , ≤ 5.15.* (semver) Unaffected: 6.1.193 , ≤ 6.1.* (semver) Unaffected: 6.6.163 , ≤ 6.6.* (semver) Unaffected: 6.12.117 , ≤ 6.12.* (semver) Unaffected: 6.18.61 , ≤ 6.18.* (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/server.c",
"fs/smb/server/smb2pdu.c",
"fs/smb/server/smb2pdu.h"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "aff28f0f92ab3f9809ccab5075724ab54809378f",
"status": "affected",
"version": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9",
"versionType": "git"
},
{
"lessThan": "1ab4528483a8307787ad66457045ebfb7c652d16",
"status": "affected",
"version": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9",
"versionType": "git"
},
{
"lessThan": "62af7b1179fb0155ecda158b6e02e145d1abdc99",
"status": "affected",
"version": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9",
"versionType": "git"
},
{
"lessThan": "b150049dffd0865fb6e60ce843299216687f02ad",
"status": "affected",
"version": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9",
"versionType": "git"
},
{
"lessThan": "7f30b886c5a1a2b3d9342ea82d0699eff812a472",
"status": "affected",
"version": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9",
"versionType": "git"
},
{
"lessThan": "8c5f62dd9a0b61e0082d419796e0743e820bd002",
"status": "affected",
"version": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9",
"versionType": "git"
},
{
"lessThan": "798214e6fafcdcc29f5ba2661a473232b5e70cfb",
"status": "affected",
"version": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/smb/server/server.c",
"fs/smb/server/smb2pdu.c",
"fs/smb/server/smb2pdu.h"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.15"
},
{
"lessThan": "5.15",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.226",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.193",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.61",
"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": "5.15.226",
"versionStartIncluding": "5.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.193",
"versionStartIncluding": "5.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.163",
"versionStartIncluding": "5.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.117",
"versionStartIncluding": "5.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.61",
"versionStartIncluding": "5.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3.2",
"versionStartIncluding": "5.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.4-rc1",
"versionStartIncluding": "5.15",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: verify transform SessionId matches the decrypted header\n\nWhen an encrypted request comes in, the decryption key is picked by\nthe SessionId in the transform header, but the request is then\nauthorized under whatever session the decrypted inner header names.\nNothing ever compares the two, so on a connection with more than\none session a client can get a request decrypted with one session\u0027s\nkey and run it as another session. Encrypted requests are exempt\nfrom signing too, so a valid AEAD tag is the only proof of session\nidentity, and it is checked against the wrong session.\n\nMS-SMB2 says the server must check that the transform SessionId\nmatches the one in the decrypted SMB2 header and treat a mismatch\nas a protocol error. Add that check in __handle_ksmbd_work() after\ndecryption, before dispatching: the message has to be at least one\nfixed SMB2 header, the first operation must not set\nSMB2_FLAGS_RELATED_OPERATIONS and its SessionId must match the\ntransform SessionId, and every following non-related operation in\na compound chain must carry the same SessionId. NextCommand\noffsets must be 8-byte aligned and stay inside the message; the\nbounds check is done by subtraction so it cannot wrap.\n\nWhen the decrypted payload is a compression transform, the\nexisting decompression step runs first and the decompressed SMB2\nmessage is checked instead, since a compression transform header\ncarries no SessionId."
}
],
"providerMetadata": {
"dateUpdated": "2026-11-23T08:03:55.725Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/aff28f0f92ab3f9809ccab5075724ab54809378f"
},
{
"url": "https://git.kernel.org/stable/c/1ab4528483a8307787ad66457045ebfb7c652d16"
},
{
"url": "https://git.kernel.org/stable/c/62af7b1179fb0155ecda158b6e02e145d1abdc99"
},
{
"url": "https://git.kernel.org/stable/c/b150049dffd0865fb6e60ce843299216687f02ad"
},
{
"url": "https://git.kernel.org/stable/c/7f30b886c5a1a2b3d9342ea82d0699eff812a472"
},
{
"url": "https://git.kernel.org/stable/c/8c5f62dd9a0b61e0082d419796e0743e820bd002"
},
{
"url": "https://git.kernel.org/stable/c/798214e6fafcdcc29f5ba2661a473232b5e70cfb"
}
],
"title": "ksmbd: verify transform SessionId matches the decrypted header",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-99531",
"datePublished": "2026-11-19T14:44:42.467Z",
"dateReserved": "2026-09-25T10:25:14.420Z",
"dateUpdated": "2026-11-23T08:03:55.725Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-99531",
"date": "2026-11-22",
"epss": "0.00174",
"percentile": "0.06941"
},
"microsoft_vex": {
"current_release_date": "2026-11-21T01:21:12.000Z",
"cve": "CVE-2026-99531",
"id": "msrc_CVE-2026-99531",
"initial_release_date": "2026-11-21T01:21:12.000Z",
"product_status:known_affected": "1",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "ksmbd: verify transform SessionId matches the decrypted header",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99531.json",
"version": "1"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/smb/server/server.c",
"fs/smb/server/smb2pdu.c",
"fs/smb/server/smb2pdu.h"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "aff28f0f92ab3f9809ccab5075724ab54809378f",
"status": "affected",
"version": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9",
"versionType": "git"
},
{
"lessThan": "1ab4528483a8307787ad66457045ebfb7c652d16",
"status": "affected",
"version": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9",
"versionType": "git"
},
{
"lessThan": "62af7b1179fb0155ecda158b6e02e145d1abdc99",
"status": "affected",
"version": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9",
"versionType": "git"
},
{
"lessThan": "b150049dffd0865fb6e60ce843299216687f02ad",
"status": "affected",
"version": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9",
"versionType": "git"
},
{
"lessThan": "7f30b886c5a1a2b3d9342ea82d0699eff812a472",
"status": "affected",
"version": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9",
"versionType": "git"
},
{
"lessThan": "8c5f62dd9a0b61e0082d419796e0743e820bd002",
"status": "affected",
"version": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9",
"versionType": "git"
},
{
"lessThan": "798214e6fafcdcc29f5ba2661a473232b5e70cfb",
"status": "affected",
"version": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/smb/server/server.c",
"fs/smb/server/smb2pdu.c",
"fs/smb/server/smb2pdu.h"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.15"
},
{
"lessThan": "5.15",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.226",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.193",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.61",
"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: verify transform SessionId matches the decrypted header\n\nWhen an encrypted request comes in, the decryption key is picked by\nthe SessionId in the transform header, but the request is then\nauthorized under whatever session the decrypted inner header names.\nNothing ever compares the two, so on a connection with more than\none session a client can get a request decrypted with one session\u0027s\nkey and run it as another session. Encrypted requests are exempt\nfrom signing too, so a valid AEAD tag is the only proof of session\nidentity, and it is checked against the wrong session.\n\nMS-SMB2 says the server must check that the transform SessionId\nmatches the one in the decrypted SMB2 header and treat a mismatch\nas a protocol error. Add that check in __handle_ksmbd_work() after\ndecryption, before dispatching: the message has to be at least one\nfixed SMB2 header, the first operation must not set\nSMB2_FLAGS_RELATED_OPERATIONS and its SessionId must match the\ntransform SessionId, and every following non-related operation in\na compound chain must carry the same SessionId. NextCommand\noffsets must be 8-byte aligned and stay inside the message; the\nbounds check is done by subtraction so it cannot wrap.\n\nWhen the decrypted payload is a compression transform, the\nexisting decompression step runs first and the decompressed SMB2\nmessage is checked instead, since a compression transform header\ncarries no SessionId."
}
],
"id": "CVE-2026-99531",
"lastModified": "2026-11-23T08:17:55.150",
"metrics": {},
"published": "2026-11-19T15:18:08.913",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/1ab4528483a8307787ad66457045ebfb7c652d16"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/62af7b1179fb0155ecda158b6e02e145d1abdc99"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/798214e6fafcdcc29f5ba2661a473232b5e70cfb"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/7f30b886c5a1a2b3d9342ea82d0699eff812a472"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/8c5f62dd9a0b61e0082d419796e0743e820bd002"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/aff28f0f92ab3f9809ccab5075724ab54809378f"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/b150049dffd0865fb6e60ce843299216687f02ad"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
},
"redhat_vex": {
"aggregate_severity": "Important",
"current_release_date": "2026-11-19T21:25:59+00:00",
"cve": "CVE-2026-99531",
"id": "CVE-2026-99531",
"initial_release_date": "2026-11-19T14:44:42.467000+00:00",
"product_status:known_not_affected": "204",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: kernel: ksmbd: privilege escalation via session ID mismatch in encrypted SMB requests",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99531.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…