CVE-2026-99531
ksmbd: verify transform SessionId matches the decrypted header
Mitigation
- Upgrade Linux to 798214e6fafcdcc29f5ba2661a473232b5e70cfb or later.
Who should check
- Anyone running Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < aff28f0f92ab3f9809ccab5075724ab54809378f; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 1ab4528483a8307787ad66457045ebfb7c652d16; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 62af7b1179fb0155ecda158b6e02e145d1abdc99; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < b150049dffd0865fb6e60ce843299216687f02ad; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 7f30b886c5a1a2b3d9342ea82d0699eff812a472; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 8c5f62dd9a0b61e0082d419796e0743e820bd002; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 798214e6fafcdcc29f5ba2661a473232b5e70cfb
- Anyone running Linux 5.15
Vulnerability facts
- Affected
- Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < aff28f0f92ab3f9809ccab5075724ab54809378f; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 1ab4528483a8307787ad66457045ebfb7c652d16; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 62af7b1179fb0155ecda158b6e02e145d1abdc99; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < b150049dffd0865fb6e60ce843299216687f02ad; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 7f30b886c5a1a2b3d9342ea82d0699eff812a472; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 8c5f62dd9a0b61e0082d419796e0743e820bd002; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 798214e6fafcdcc29f5ba2661a473232b5e70cfb; Linux 5.15
- Fixed in
- Linux 1ab4528483a8307787ad66457045ebfb7c652d16, Linux 62af7b1179fb0155ecda158b6e02e145d1abdc99, Linux 7f30b886c5a1a2b3d9342ea82d0699eff812a472, Linux 8c5f62dd9a0b61e0082d419796e0743e820bd002, Linux 798214e6fafcdcc29f5ba2661a473232b5e70cfb
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 7, 2026-11-28)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < aff28f0f92ab3f9809ccab5075724ab54809378f; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 1ab4528483a8307787ad66457045ebfb7c652d16; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 62af7b1179fb0155ecda158b6e02e145d1abdc99; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < b150049dffd0865fb6e60ce843299216687f02ad; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 7f30b886c5a1a2b3d9342ea82d0699eff812a472; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 8c5f62dd9a0b61e0082d419796e0743e820bd002; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 798214e6fafcdcc29f5ba2661a473232b5e70cfb | — | cvelist |
| Linux | 5.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-99531. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99531.md Affected: Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < aff28f0f92ab3f9809ccab5075724ab54809378f; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 1ab4528483a8307787ad66457045ebfb7c652d16; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 62af7b1179fb0155ecda158b6e02e145d1abdc99; >= e2f34481b24db2fd634b5ed… Fixed in: Linux 1ab4528483a8307787ad66457045ebfb7c652d16, Linux 62af7b1179fb0155ecda158b6e02e145d1abdc99, Linux 7f30b886c5a1a2b3d9342ea82d0699eff812a472, Linux 8c5f62dd9a0b61e0082d419796e0743e820bd002, Linux 798214e6fafcdcc29f5ba2661a473232b5e70cfb Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Other
- https://git.kernel.org/stable/c/aff28f0f92ab3f9809ccab5075724ab54809378f
- https://git.kernel.org/stable/c/1ab4528483a8307787ad66457045ebfb7c652d16
- https://git.kernel.org/stable/c/62af7b1179fb0155ecda158b6e02e145d1abdc99
- https://git.kernel.org/stable/c/b150049dffd0865fb6e60ce843299216687f02ad
- https://git.kernel.org/stable/c/7f30b886c5a1a2b3d9342ea82d0699eff812a472
- https://git.kernel.org/stable/c/8c5f62dd9a0b61e0082d419796e0743e820bd002
- https://git.kernel.org/stable/c/798214e6fafcdcc29f5ba2661a473232b5e70cfb
FAQ
Is CVE-2026-99531 being exploited?
There is no confirmed exploitation: CVE-2026-99531 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-99531?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-99531?
Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < aff28f0f92ab3f9809ccab5075724ab54809378f; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 1ab4528483a8307787ad66457045ebfb7c652d16; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 62af7b1179fb0155ecda158b6e02e145d1abdc99; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < b150049dffd0865fb6e60ce843299216687f02ad; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 7f30b886c5a1a2b3d9342ea82d0699eff812a472; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 8c5f62dd9a0b61e0082d419796e0743e820bd002; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 798214e6fafcdcc29f5ba2661a473232b5e70cfb; Linux 5.15.
Is there a fix for CVE-2026-99531?
Yes. Fixed in Linux 1ab4528483a8307787ad66457045ebfb7c652d16, Linux 62af7b1179fb0155ecda158b6e02e145d1abdc99, Linux 7f30b886c5a1a2b3d9342ea82d0699eff812a472, Linux 8c5f62dd9a0b61e0082d419796e0743e820bd002, Linux 798214e6fafcdcc29f5ba2661a473232b5e70cfb. Upgrade Linux to 798214e6fafcdcc29f5ba2661a473232b5e70cfb or later.
How do I check if I'm affected by CVE-2026-99531?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | EPSS 31% | |
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | EPSS 11% | |
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | EPSS 11% | |
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | EPSS 24% | |
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 | EPSS 3% |