aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorPeilin Ye <[email protected]>2020-07-27 10:00:02 +0200
committerMauro Carvalho Chehab <[email protected]>2020-08-26 16:29:36 +0200
commit4ffb879ea648c2b42da4ca992ed3db87e564af69 (patch)
tree3a7d497d8c8215edcbe5b466a71f759190689030 /include/linux/fpga/fpga-mgr.h
parentbec2ddfd39f07ac2c1dec9fd5299424ad75c0a9d (diff)
media: media/v4l2-core: Fix kernel-infoleak in video_put_user()
video_put_user() is copying uninitialized stack memory to userspace due to the compiler not initializing holes in the structures declared on the stack. Fix it by initializing `ev32` and `vb32` using memset(). Reported-and-tested-by: [email protected] Link: https://syzkaller.appspot.com/bug?extid=79d751604cb6f29fbf59 Cc: [email protected] Fixes: 1a6c0b36dd19 ("media: v4l2-core: fix VIDIOC_DQEVENT for time64 ABI") Fixes: 577c89b0ce72 ("media: v4l2-core: fix v4l2_buffer handling for time64 ABI") Reviewed-by: Laurent Pinchart <[email protected]> Reviewed-by: Arnd Bergmann <[email protected]> Signed-off-by: Peilin Ye <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions