# CVE-2026-52911: ksmbd: scope conn->binding slowpath to bound sessions only

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-06-21T06:18:49.342Z
- Modified: 2026-08-05T12:31:34.753Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from f5a544e3bab78142207e0242d22442db85ba1eff before e74c00c6af428a39e564cdc5bd3a3648c6d8de87; from f5a544e3bab78142207e0242d22442db85ba1eff before e3a93ce6e25757b8f375e38b8f91e1d9da4edc1a; from f5a544e3bab78142207e0242d22442db85ba1eff before 1ff46c9915c1cbf454db58a8cb87f7cac818e6a6; from f5a544e3bab78142207e0242d22442db85ba1eff before 974c1c224e85549dc3459f3bb2255bbbdd2b9372; from f5a544e3bab78142207e0242d22442db85ba1eff before 2cc8a4db633b10715450b291c1343859a4b2c509; from f5a544e3bab78142207e0242d22442db85ba1eff before 1e2bec062c5c9ec282636715166056d0998d746d; from f5a544e3bab78142207e0242d22442db85ba1eff before b0da97c034b6107d14e537e212d4ce8b22109a58; 5.15 (not affected: before 5.15; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.141 up to 6.6.*; from 6.12.91 up to 6.12.*; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 5.15 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.141; from 6.7 before 6.12.91; from 6.13 before 6.18.33; from 6.19 before 7.0.10

## References

- <https://git.kernel.org/stable/c/e74c00c6af428a39e564cdc5bd3a3648c6d8de87> (patch)
- <https://git.kernel.org/stable/c/e3a93ce6e25757b8f375e38b8f91e1d9da4edc1a> (patch)
- <https://git.kernel.org/stable/c/1ff46c9915c1cbf454db58a8cb87f7cac818e6a6> (patch)
- <https://git.kernel.org/stable/c/974c1c224e85549dc3459f3bb2255bbbdd2b9372> (patch)
- <https://git.kernel.org/stable/c/2cc8a4db633b10715450b291c1343859a4b2c509> (patch)
- <https://git.kernel.org/stable/c/1e2bec062c5c9ec282636715166056d0998d746d> (patch)
- <https://git.kernel.org/stable/c/b0da97c034b6107d14e537e212d4ce8b22109a58> (patch)

## Sources

- CVE List: [CVE-2026-52911](https://www.cve.org/CVERecord?id=CVE-2026-52911), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-52911](https://nvd.nist.gov/vuln/detail/CVE-2026-52911), Public domain, modified 2026-07-08

---

Page: https://cve.day/CVE-2026-52911 · Whole record: https://cve.day/CVE-2026-52911.json · Rebuilt by cve.day 2026-11-25T22:59:25.319Z
