Tracker / CVE-2026-31476
CVE-2026-31476
In the Linux kernel, the following vulnerability has been resolved: ksmbd: do not expire session on binding failure When a multichannel session binding request fails (e.g. wrong password), the error path unconditionally sets sess->state = SMB2_SESSION_EXPIRED. However, during binding, sess points to the target session looked up via ksmbd_session_lookup_slowpath() -- which belongs to another connection's user. This allows a remote attacker to invalidate any active session by simply sending a binding request with a wrong password (DoS). Fix this by skipping session expiration when the failed request was a binding attempt, since the session does not belong to the current connection. The reference taken by ksmbd_session_lookup_slowpath() is still correctly released via ksmbd_user_session_put().
Affected products and versions
| linux | linux_kernel |
|---|---|
| linux | linux_kernel · 5.15.1 → 6.1.168 |
| linux | linux_kernel · 6.13 → 6.18.21 |
| linux | linux_kernel · 6.19 → 6.19.11 |
| linux | linux_kernel · 6.2 → 6.6.131 |
| linux | linux_kernel · 6.7 → 6.12.80 |