aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/debug/debug_core.c
diff options
context:
space:
mode:
authorHangyu Hua <hbh25y@gmail.com>2022-05-19 03:17:43 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-06-10 18:54:23 +0100
commitd3daf73380ce50f89f07954a2160a5fd414f8725 (patch)
treedbbbd7832290f8ca78f49bbe1d43bef3885868d1 /kernel/debug/debug_core.c
parentea37ee3a1561355fa94dbf574305c568fc23d560 (diff)
media: dvb_vb2: fix possible out of bound access
vb2_core_qbuf and vb2_core_querybuf don't check the range of b->index controlled by the user. Fix this by adding range checking code before using them. Fixes: 57868acc369a ("media: videobuf2: Add new uAPI for DVB streaming I/O") Signed-off-by: Hangyu Hua <hbh25y@gmail.com> Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'kernel/debug/debug_core.c')
0 files changed, 0 insertions, 0 deletions

Privacy Policy