CVE-2026-52911

ksmbd: scope conn->binding slowpath to bound sessions only

HIGH
8.8
CVSS Score
Published: June 21, 2026 at 06:18 AM UTC
Updated: August 5, 2026 at 01:24 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 0.7%

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: scope conn->binding slowpath to bound sessions only When the binding SESSION_SETUP sets conn->binding = true, the flag stays set after the call so that the global session lookup in ksmbd_session_lookup_all() 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->ksmbd_chann_list). The channel entry is installed by the existing binding_session path in ntlm_authenticate()/krb5_authenticate() when a SESSION_SETUP 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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15 ≤ v < 5.15.2095.15 ≤ v < 6.1.1755.15 ≤ v < 6.12.915.15 ≤ v < 6.18.335.15 ≤ v < 6.6.1415.15 ≤ v < 7.0.105.15 ≤ v < 7.15.16 ≤ v < 6.1.1756.13 ≤ v < 6.18.336.19 ≤ v < 7.0.106.2 ≤ v < 6.6.1416.7 ≤ v < 6.12.915.15f5a544e3bab78142207e0242d22442db85ba1eff
Vendor states this is fixed in 1e2bec062c5c9ec282636715166056d0998d746d (fixed)
Vendor states this is fixed in 1ff46c9915c1cbf454db58a8cb87f7cac818e6a6 (fixed)
Vendor states this is fixed in 2cc8a4db633b10715450b291c1343859a4b2c509 (fixed)
Vendor states this is fixed in 974c1c224e85549dc3459f3bb2255bbbdd2b9372 (fixed)
Vendor states this is fixed in b0da97c034b6107d14e537e212d4ce8b22109a58 (fixed)
Vendor states this is fixed in e3a93ce6e25757b8f375e38b8f91e1d9da4edc1a (fixed)
Vendor states this is fixed in e74c00c6af428a39e564cdc5bd3a3648c6d8de87 (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.15.209 (unaffected)
Vendor states this is fixed in 6.1.175 (unaffected)
Vendor states this is fixed in 6.12.91 (unaffected)
Vendor states this is fixed in 6.18.33 (unaffected)
Vendor states this is fixed in 6.6.141 (unaffected)
Vendor states this is fixed in 7.0.10 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

8.8HIGHLinux
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card