diff options
| author | Rohith Surabattula <[email protected]> | 2020-10-29 06:07:56 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2020-11-16 05:05:33 +0000 |
| commit | 1254100030b3377e8302f9c75090ab191d73ee7c (patch) | |
| tree | 3bfdd0d58a3026cdb5d39d37db087b1d759f85f7 /fs/btrfs/dev-replace.c | |
| parent | smb3: Avoid Mid pending list corruption (diff) | |
| download | kernel-1254100030b3377e8302f9c75090ab191d73ee7c.tar.gz kernel-1254100030b3377e8302f9c75090ab191d73ee7c.zip | |
smb3: Handle error case during offload read path
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 <[email protected]>
Reviewed-by: Pavel Shilovsky <[email protected]>
CC: Stable <[email protected]> #5.4+
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
