CVE-2026-31476

published 22 Apr 2026 · updated 13 Nov 2026

ksmbd: do not expire session on binding failure

8.2HighCVSS 8.2EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 6.1.168, Kernel 6.18.21, Kernel 6.19.11 and 10 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5.15.1 <6.1.168, >=6.13 <6.18.21, >=6.19 <6.19.11, >=6.2 <6.6.131, >=6.7 <6.12.80, =5.15, =7.0, >=f5a544e3bab78142207e0242d22442db85ba1eff <4642ea35c03cf3d3558c009df4757cdb7af3f82d, >=f5a544e3bab78142207e0242d22442db85ba1eff <6fafc4c4238e538969f1375f9ecdc6587c53f1cc, >=f5a544e3bab78142207e0242d22442db85ba1eff <9bbb19d21ded7d78645506f20d8c44895e3d0fb9, >=f5a544e3bab78142207e0242d22442db85ba1eff <a897064a457056acb976e20e3007cdf553de340f, >=f5a544e3bab78142207e0242d22442db85ba1eff <e0e5edc81b241c70355217de7e120c97c3429deb, >=f5a544e3bab78142207e0242d22442db85ba1eff <f5300690c23c5ac860499bb37dbc09cf43fd62e6, >=f5a544e3bab78142207e0242d22442db85ba1eff <1d1888b4a7aec518b707f6eca0bf08992c0e8da36.1.168, 6.18.21, 6.19.11, 6.6.131, 6.12.80, 4642ea35c03cf3d3558c009df4757cdb7af3f82d, 6fafc4c4238e538969f1375f9ecdc6587c53f1cc, 9bbb19d21ded7d78645506f20d8c44895e3d0fb9, a897064a457056acb976e20e3007cdf553de340f, e0e5edc81b241c70355217de7e120c97c3429deb, f5300690c23c5ac860499bb37dbc09cf43fd62e6, 1d1888b4a7aec518b707f6eca0bf08992c0e8da3
linux-kernel: Kernel>=5.15.0 <5.15.209, >=5.16.0 <6.1.168, >=6.13.0 <6.18.21, >=6.19.0 <6.19.11, >=6.2.0 <6.6.131, >=6.7.0 <6.12.805.15.209, 6.1.168, 6.18.21, 6.19.11, 6.6.131, 6.12.80

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-31476 severity on Zeptric[![CVE-2026-31476](https://zeptric.io/badge/cve/CVE-2026-31476.svg)](https://zeptric.io/cve/CVE-2026-31476)