summaryrefslogtreecommitdiff
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-10-04 13:22:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-21 10:34:55 +0100
commit1a9dc2ed5fe6a15bc57603340b739ffe4006db1f (patch)
tree7adf93be2dcd9aa854be4646c5291cbeabafa696 /fs/buffer.c
parent799a03be21afbd82d3633228ff2b889e223405a6 (diff)
drm/i810: Prevent underflow in ioctl
commit 4f69851fbaa26b155330be35ce8ac393e93e7442 upstream. 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 <dan.carpenter@oracle.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20191004102251.GC823@mwanda Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions