aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2023-02-10 15:27:34 +0000
committerSteve French <[email protected]>2023-02-15 06:04:38 +0000
commitfb533473d1595fe79ecb528fda1de33552b07178 (patch)
tree6299989a902ccef938342075a5df43a0a495875c /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentksmbd: fix wrong data area length for smb2 lock request (diff)
downloadkernel-fb533473d1595fe79ecb528fda1de33552b07178.tar.gz
kernel-fb533473d1595fe79ecb528fda1de33552b07178.zip
ksmbd: do not allow the actual frame length to be smaller than the rfc1002 length
ksmbd allowed the actual frame length to be smaller than the rfc1002 length. If allowed, it is possible to allocates a large amount of memory that can be limited by credit management and can eventually cause memory exhaustion problem. This patch do not allow it except SMB2 Negotiate request which will be validated when message handling proceeds. Also, Allow a message that padded to 8byte boundary. Fixes: e2f34481b24d ("cifsd: add server-side procedures for SMB3") Cc: [email protected] 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