CVE-2026-99539 is a vulnerability in the Linux kernel's ksmbd component that causes a session reference leak during compounded SESSION_SETUP requests. The flaw occurs because an inherited session reference is not properly released when overwritten, leading to a memory leak of the session, its connection, and socket. The issue has been fixed by saving and correctly releasing the inherited session reference after processing the request.