CVE-2026-99531: Linux kernel · ksmbd: verify transform SessionId matches the decrypted header
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.7 High.
Data as of 25 Nov 2026, 00:25 UTC
Thin evidence
One scorer or noneCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10linuxpkg:deb/ubuntu/linux?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-oraclepkg:deb/ubuntu/linux-oracle?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-99531 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-99531 (opens in a new tab)
- git.kernel.org/linus/798214e6fafcdcc29f5ba2661a473232b5e70cfb (opens in a new tab)
- git.kernel.org/stable/c/798214e6fafcdcc29f5ba2661a473232b5e70cfb (opens in a new tab)
- git.kernel.org/stable/c/7f30b886c5a1a2b3d9342ea82d0699eff812a472 (opens in a new tab)
- git.kernel.org/stable/c/8c5f62dd9a0b61e0082d419796e0743e820bd002 (opens in a new tab)
- git.kernel.org/stable/c/b150049dffd0865fb6e60ce843299216687f02ad (opens in a new tab)
- git.kernel.org/stable/c/1ab4528483a8307787ad66457045ebfb7c652d16 (opens in a new tab)
- git.kernel.org/stable/c/62af7b1179fb0155ecda158b6e02e145d1abdc99 (opens in a new tab)
- git.kernel.org/stable/c/aff28f0f92ab3f9809ccab5075724ab54809378f (opens in a new tab)