In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF and double free in smb2openfile() Zero out @erriov and @errbuftype before retrying SMB2_open() to prevent an UAF bug if @data != NULL, otherwise a double free.