What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.167, 6.12.78, 6.18.20, 6.19.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-31409 or the next vulnerability affects your stack