CVE-2026-31476

ksmbd: do not expire session on binding failure

High · published April 22, 2026

CVSS v3.1
8.2
EPSS
1%
Percentile
53.1
In the wild
Unconfirmed
What it is

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().

The record
Technical detail
CVSS v3.1
8.2 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
CVSS v4.0
Not supplied
EPSS
0.00714 · 53.1th percentile
Published
2026-04-22T13:54Z
EPSS history
Timeline
  • 22 APR 13:54Z
    ksmbd: do not expire session on binding failure
    cvelistv5