SessionId Verification Flaw in Linux Kernel's ksmbd Component
CVE-2026-99531
What is CVE-2026-99531?
A session management vulnerability exists in the Linux kernel's ksmbd subsystem that can lead to potential misuse of encrypted requests. The flaw arises from the failure to verify if the SessionId in the transform header corresponds with the SessionId in the decrypted inner header. This oversight enables a client to have an encrypted request decrypted with a session key from one context and executed under another session, thus bypassing expected authorization checks. This vulnerability can be particularly concerning in environments where multiple sessions are active, as it undermines the integrity of session-based authentication, leading to unauthorized actions being performed. Moreover, it is essential for the server to ensure that each request and its corresponding SessionId are appropriately validated to prevent potential exploitation. The fix involves implementing checks in the decryption and session management processes to ensure that mismatched SessionIds are treated as protocol errors.
Affected Version(s)
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < 7f30b886c5a1a2b3d9342ea82d0699eff812a472
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < 8c5f62dd9a0b61e0082d419796e0743e820bd002