aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-03-01 08:04:24 +0000
committerGreg Kroah-Hartman <[email protected]>2022-03-15 14:48:57 +0000
commit65f3324f4b6fed78b8761c3b74615ecf0ffa81fa (patch)
treeb690a681262c2385e1f68e86085137d41821b824 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentLinux 5.17-rc6 (diff)
downloadkernel-65f3324f4b6fed78b8761c3b74615ecf0ffa81fa.tar.gz
kernel-65f3324f4b6fed78b8761c3b74615ecf0ffa81fa.zip
usb: gadget: rndis: prevent integer overflow in rndis_set_response()
If "BufOffset" is very large the "BufOffset + 8" operation can have an integer overflow. Cc: [email protected] Fixes: 38ea1eac7d88 ("usb: gadget: rndis: check size of RNDIS_MSG_SET command") Signed-off-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/20220301080424.GA17208@kili Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions