summaryrefslogtreecommitdiff
path: root/fs/cifs/cifsacl.c
diff options
context:
space:
mode:
authorRohith Surabattula <rohiths@microsoft.com>2020-10-29 09:07:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-02 10:49:45 +0300
commit56f639aa0b5d2469ec8d14f1f01d1a969d1652f3 (patch)
tree5546220bfa146a9b9e62fb4b8a4abda67025ee15 /fs/cifs/cifsacl.c
parentafa51221b911a57645a7295db4ef6537509f508d (diff)
downloadlinux-56f639aa0b5d2469ec8d14f1f01d1a969d1652f3.tar.xz
smb3: Handle error case during offload read path
commit 1254100030b3377e8302f9c75090ab191d73ee7c upstream. Mid callback needs to be called only when valid data is read into pages. These patches address a problem found during decryption offload: CIFS: VFS: trying to dequeue a deleted mid that could cause a refcount use after free: Workqueue: smb3decryptd smb2_decrypt_offload [cifs] Signed-off-by: Rohith Surabattula <rohiths@microsoft.com> Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com> CC: Stable <stable@vger.kernel.org> #5.4+ Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/cifs/cifsacl.c')
0 files changed, 0 insertions, 0 deletions