diff options
author | Rohith Surabattula <rohiths@microsoft.com> | 2020-10-08 09:58:41 +0000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-10-21 17:56:23 -0500 |
commit | 62593011247c8a8cfeb0c86aff84688b196727c2 (patch) | |
tree | c4503eb6e1fee404f1bce4a8b793427123c46d24 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 3ece60e3e78e6066b4ea02dea6687e5d373c6a77 (diff) |
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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions