In the Linux kernel, the following vulnerability has been resolved: smb/server: fix potential null-ptr-deref of leasectxinfo in smb2open() null-ptr-deref will occur when (reqoplevel == SMB2OPLOCKLEVELLEASE) and parseleasestate() return NULL. Fix this by check if 'leasectxinfo' is NULL. Additionally, remove the redundant parentheses in parsedurablehandle_context().