mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
The "used" variables here come from the user in the ioctl and it can be negative. It could result in an out of bounds write. Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/20191004102251.GC823@mwanda Cc: [email protected]