diff options
author | 2023-07-20 17:46:54 +0000 | |
---|---|---|
committer | 2023-09-14 23:31:55 +0200 | |
commit | 41ebaa5e0eebea4c3bac96b72f9f8ae0d77c0bdb (patch) | |
tree | 394eed45f5f67ea549c1a87ff3c5b95bbefc79d6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | media: bt8xx: bttv_risc_packed(): remove field checks (diff) | |
download | wireguard-linux-41ebaa5e0eebea4c3bac96b72f9f8ae0d77c0bdb.tar.xz wireguard-linux-41ebaa5e0eebea4c3bac96b72f9f8ae0d77c0bdb.zip |
media: uvcvideo: Fix OOB read
If the index provided by the user is bigger than the mask size, we might do
an out of bound read.
CC: stable@kernel.org
Fixes: 40140eda661e ("media: uvcvideo: Implement mask for V4L2_CTRL_TYPE_MENU")
Reported-by: Zubin Mithra <zsm@chromium.org>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions