diff options
author | Hangyu Hua <hbh25y@gmail.com> | 2022-05-19 05:17:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-05 11:37:43 +0300 |
commit | d18565280076197dc675047d533de8c2ce60badf (patch) | |
tree | 185d6dc12b07e13452914163f405a3105da58a4f /arch/arm/boot/dts/am335x-boneblue.dts | |
parent | 0f4634f70bfddae26be6600ff1504fc4efa5deff (diff) | |
download | linux-d18565280076197dc675047d533de8c2ce60badf.tar.xz |
media: dvb_vb2: fix possible out of bound access
commit 37238699073e7e93f05517e529661151173cd458 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/boot/dts/am335x-boneblue.dts')
0 files changed, 0 insertions, 0 deletions