In the Linux kernel, the following vulnerability has been resolved: cifs: Fix lost destroy smbd connection when MR allocate failed If the MR allocate failed, the smb direct connection info is NULL, then smbddestroy() will directly return, then the connection info will be leaked. Let's set the smb direct connection info to the server before call smbddestroy().