CVE-2026-52911: ksmbd: scope conn->binding slowpath to bound sessions only
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: scope conn->binding slowpath to bound sessions only
When the binding SESSIONSETUP sets conn->binding = true, the flag stays set after the call so that the global session lookup in ksmbdsessionlookupall() can find the session, which was not added to conn->sessions. Because the flag is connection-wide, the global lookup path will also resolve any other session by id if asked.
Tighten the global lookup so that the returned session must have this connection registered in its channel xarray (sess->ksmbdchannlist). The channel entry is installed by the existing bindingsession path in ntlmauthenticate()/krb5authenticate() when a SESSIONSETUP completes successfully, so this condition is a strict equivalent of "this connection has been accepted as a channel of this session". Connections that have not bound to a given session cannot reach it via the global table.
The existing conn->binding gate for entering the slowpath is preserved so that non-binding connections keep the fast-path-only behavior, and the session->state check is unchanged.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-52911?
The severity of CVE-2026-52911 is rated at 47.
How do I fix CVE-2026-52911?
To fix CVE-2026-52911, update your Linux kernel to the latest version that has addressed this vulnerability.
What systems are affected by CVE-2026-52911?
CVE-2026-52911 affects systems using the Linux ksmbd service in the Linux kernel.
What is the impact of CVE-2026-52911?
The impact of CVE-2026-52911 is related to session management in ksmbd, which could lead to improper session handling.
When was CVE-2026-52911 published?
CVE-2026-52911 was published on June 21, 2026.