diff options
author | Rohith Surabattula <rohiths@microsoft.com> | 2020-10-08 11:58:41 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-10-22 00:56:23 +0200 |
commit | 62593011247c8a8cfeb0c86aff84688b196727c2 (patch) | |
tree | c4503eb6e1fee404f1bce4a8b793427123c46d24 /usr/include/Makefile | |
parent | cifs: make const array static, makes object smaller (diff) | |
download | linux-62593011247c8a8cfeb0c86aff84688b196727c2.tar.xz linux-62593011247c8a8cfeb0c86aff84688b196727c2.zip |
SMB3: Resolve data corruption of TCP server info fields
TCP server info field server->total_read is modified in parallel by
demultiplex thread and decrypt offload worker thread. server->total_read
is used in calculation to discard the remaining data of PDU which is
not read into memory.
Because of parallel modification, server->total_read can get corrupted
and can result in discarding the valid data of next PDU.
Signed-off-by: Rohith Surabattula <rohiths@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
CC: Stable <stable@vger.kernel.org> #5.4+
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'usr/include/Makefile')
0 files changed, 0 insertions, 0 deletions