aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2021-03-05 08:56:32 +0000
committerGreg Kroah-Hartman <[email protected]>2021-03-10 08:23:30 +0000
commitd4ac640322b06095128a5c45ba4a1e80929fe7f3 (patch)
tree464a1e1b67acc2276d5784383cfeefd6877d317e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentstaging: rtl8192u: fix ->ssid overflow in r8192_wx_set_scan() (diff)
downloadkernel-d4ac640322b06095128a5c45ba4a1e80929fe7f3.tar.gz
kernel-d4ac640322b06095128a5c45ba4a1e80929fe7f3.zip
staging: rtl8188eu: fix potential memory corruption in rtw_check_beacon_data()
The "ie_len" is a value in the 1-255 range that comes from the user. We have to cap it to ensure that it's not too large or it could lead to memory corruption. Fixes: 9a7fe54ddc3a ("staging: r8188eu: Add source files for new driver - part 1") Signed-off-by: Dan Carpenter <[email protected]> Cc: stable <[email protected]> Link: https://lore.kernel.org/r/YEHyQCrFZKTXyT7J@mwanda Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions