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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.15:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*

History

01 Jun 2026, 17:16

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/4642ea35c03cf3d3558c009df4757cdb7af3f82d -

27 Apr 2026, 23:25

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.15:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/1d1888b4a7aec518b707f6eca0bf08992c0e8da3 - () https://git.kernel.org/stable/c/1d1888b4a7aec518b707f6eca0bf08992c0e8da3 - Patch
References () https://git.kernel.org/stable/c/6fafc4c4238e538969f1375f9ecdc6587c53f1cc - () https://git.kernel.org/stable/c/6fafc4c4238e538969f1375f9ecdc6587c53f1cc - Patch
References () https://git.kernel.org/stable/c/9bbb19d21ded7d78645506f20d8c44895e3d0fb9 - () https://git.kernel.org/stable/c/9bbb19d21ded7d78645506f20d8c44895e3d0fb9 - Patch
References () https://git.kernel.org/stable/c/a897064a457056acb976e20e3007cdf553de340f - () https://git.kernel.org/stable/c/a897064a457056acb976e20e3007cdf553de340f - Patch
References () https://git.kernel.org/stable/c/e0e5edc81b241c70355217de7e120c97c3429deb - () https://git.kernel.org/stable/c/e0e5edc81b241c70355217de7e120c97c3429deb - Patch
References () https://git.kernel.org/stable/c/f5300690c23c5ac860499bb37dbc09cf43fd62e6 - () https://git.kernel.org/stable/c/f5300690c23c5ac860499bb37dbc09cf43fd62e6 - Patch
First Time Linux
Linux linux Kernel
CWE NVD-CWE-noinfo

27 Apr 2026, 14:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.2

22 Apr 2026, 14:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-22 14:16

Updated : 2026-06-01 17:16


NVD link : CVE-2026-31476

Mitre link : CVE-2026-31476

CVE.ORG link : CVE-2026-31476


JSON object : View

Products Affected

linux

  • linux_kernel