diff options
| author | Namjae Jeon <[email protected]> | 2023-01-24 15:13:20 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2023-01-26 00:22:54 +0000 |
| commit | 62c487b53a7ff31e322cf2874d3796b8202c54a5 (patch) | |
| tree | 67667fb01beaae35df28d02a7bdb06eece15179a /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | ksmbd: do not sign response to session request for guest login (diff) | |
| download | kernel-62c487b53a7ff31e322cf2874d3796b8202c54a5.tar.gz kernel-62c487b53a7ff31e322cf2874d3796b8202c54a5.zip | |
ksmbd: limit pdu length size according to connection status
Stream protocol length will never be larger than 16KB until session setup.
After session setup, the size of requests will not be larger than
16KB + SMB2 MAX WRITE size. This patch limits these invalidly oversized
requests and closes the connection immediately.
Fixes: 0626e6641f6b ("cifsd: add server handler for central processing and tranport layers")
Cc: [email protected]
Reported-by: [email protected] # ZDI-CAN-18259
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
