# CVE-2026-31409: ksmbd: unset conn->binding on failed binding request

- 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.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-04-06T07:38:21.223Z
- Modified: 2026-08-05T12:22:18.697Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: unset conn->binding on failed binding request

When a multichannel SMB2_SESSION_SETUP request with
SMB2_SESSION_REQ_FLAG_BINDING fails ksmbd sets conn->binding = true
but never clears it on the error path. This leaves the connection in
a binding state where all subsequent ksmbd_session_lookup_all() calls
fall back to the global sessions table. This fix it by clearing
conn->binding = false in the error path.

(As written by CVE List.)

## Affected

- Linux Linux: from f5a544e3bab78142207e0242d22442db85ba1eff before 7e8b270813079c785696bce8802a3f920665c88c; from f5a544e3bab78142207e0242d22442db85ba1eff before d073870dab8f6dadced81d13d273ff0b21cb7f4e; from f5a544e3bab78142207e0242d22442db85ba1eff before 6ebef4a220a1ebe345de899ebb9ae394206fe921; from f5a544e3bab78142207e0242d22442db85ba1eff before 89afe5e2dbea6e9d8e5f11324149d06fa3a4efca; from f5a544e3bab78142207e0242d22442db85ba1eff before 9feb2d1bf86d9e5e66b8565f37f8d3a7d281a772; from f5a544e3bab78142207e0242d22442db85ba1eff before 6260fc85ed1298a71d24a75d01f8b2e56d489a60; from f5a544e3bab78142207e0242d22442db85ba1eff before 282343cf8a4a5a3603b1cb0e17a7083e4a593b03; 5.15 (not affected: before 5.15; from 5.15.209 up to 5.15.*; from 6.1.167 up to 6.1.*; from 6.6.130 up to 6.6.*; from 6.12.78 up to 6.12.*; from 6.18.20 up to 6.18.*; from 6.19.10 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.15 before 6.1.167; from 6.2 before 6.6.130; from 6.7 before 6.12.78; from 6.13 before 6.18.20; from 6.19 before 6.19.10; 7.0

## References

- <https://git.kernel.org/stable/c/7e8b270813079c785696bce8802a3f920665c88c>
- <https://git.kernel.org/stable/c/d073870dab8f6dadced81d13d273ff0b21cb7f4e> (patch)
- <https://git.kernel.org/stable/c/6ebef4a220a1ebe345de899ebb9ae394206fe921> (patch)
- <https://git.kernel.org/stable/c/89afe5e2dbea6e9d8e5f11324149d06fa3a4efca> (patch)
- <https://git.kernel.org/stable/c/9feb2d1bf86d9e5e66b8565f37f8d3a7d281a772> (patch)
- <https://git.kernel.org/stable/c/6260fc85ed1298a71d24a75d01f8b2e56d489a60> (patch)
- <https://git.kernel.org/stable/c/282343cf8a4a5a3603b1cb0e17a7083e4a593b03> (patch)

## Sources

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

---

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