In the Linux kernel, the following vulnerability has been resolved: ksmbd: free preauth sessions on connection teardown SMB3.1.1 multichannel binding preserves the preauthentication hash in a preauth_session between the NTLM negotiate and authenticate requests. The binding NTLM negotiate allocates this object and returns STATUS_MORE_PROCESSING_REQUIRED. If the client disconnects before it sends the authenticate request, neither the authenticate nor error cleanup paths free the object. Release any remaining preauthentication sessions when tearing down the connection. Initialize the list when allocating the connection so that this cleanup is safe regardless of the negotiated dialect.
https://git.kernel.org/stable/c/effcf48d79d8aa53113d8289e140746f25ceb62c
https://git.kernel.org/stable/c/b62b1ebb25f0a19067ed5b1a86036b2dc98be44f
https://git.kernel.org/stable/c/a41a98ee16ae038751b6639decadaa3ce15ca18a
https://git.kernel.org/stable/c/8e2ebc77678832e981adc008d25cd8f67d08ebc4
https://git.kernel.org/stable/c/06c7b1d731bc105a8644f1b70165ba8b9416cbab