CVE-2026-99531

Not scored yetLast modified Nov 23, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < b150049dffd0865fb6e60ce843299216687f02ad; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 7f30b886c5a1a2b3d9342ea82d0699eff812a472; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 8c5f62dd9a0b61e0082d419796e0743e820bd002; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 798214e6fafcdcc29f5ba2661a473232b5e70cfb
LinuxLinux5.15

References

Timeline

Published
Nov 19, 2026
Last modified
Nov 23, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-99532In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate security descriptor offsets before pointer arithmetic CVE-2026-99533In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate AppInstanceId takeover target AppInstanceId lookup curCVE-2026-99534In the Linux kernel, the following vulnerability has been resolved: ksmbd: prevent stale data from being written by SMB2 WRITE requests InCVE-2026-99535In the Linux kernel, the following vulnerability has been resolved: ksmbd: prevent share root removal through empty paths A FileLinkInformCVE-2026-995367.1In the Linux kernel, the following vulnerability has been resolved: ksmbd: prevent session binding in compound requests A failed multichanCVE-2026-99537In the Linux kernel, the following vulnerability has been resolved: ksmbd: preserve unreadable named streams on open A write-only client cCVE-2026-99538In the Linux kernel, the following vulnerability has been resolved: ksmbd: ignore network devices of other namespaces With no interface liCVE-2026-99539In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix session reference leak on compounded SESSION_SETUP A compouCVE-2026-99547.5Use after free in TabStrip in Google Chrome prior to 148.0.7778.216 allowed a remote attacker who convinced a user to engage in specific UI CVE-2026-995408.8In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix parent dentry lifetime in directory enumeration ksmbd_populCVE-2026-995418.3In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix OOB read and cross-share confusion in ksmbd_validate_name_reCVE-2026-99542In the Linux kernel, the following vulnerability has been resolved: ksmbd: deny access for an empty DACL instead of granting the request s
CVE-2026-99531: Unscored | Vulnix