android_kernel_motorola_sm6375/drivers/media
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Vikash Garodia 339d7d40d3 media: venus: hfi: add checks to handle capabilities from firmware
commit 8d0b89398b7ebc52103e055bf36b60b045f5258f upstream.

The hfi parser, parses the capabilities received from venus firmware and
copies them to core capabilities. Consider below api, for example,
fill_caps - In this api, caps in core structure gets updated with the
number of capabilities received in firmware data payload. If the same api
is called multiple times, there is a possibility of copying beyond the max
allocated size in core caps.
Similar possibilities in fill_raw_fmts and fill_profile_level functions.

Cc: stable@vger.kernel.org
Fixes: 1a73374a04 ("media: venus: hfi_parser: add common capability parser")
Signed-off-by: Vikash Garodia <quic_vgarodia@quicinc.com>
Signed-off-by: Stanimir Varbanov <stanimir.k.varbanov@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-28 16:50:21 +00:00
..
cec media: cec: core: don't set last_initiator if tx in progress 2023-06-28 10:18:40 +02:00
common
dvb-core media: dvb-core: Fix use-after-free due to race at dvb_register_device() 2023-06-28 10:18:36 +02:00
dvb-frontends media: dvb: symbol fixup for dvb_attach() 2023-09-23 10:59:55 +02:00
firewire
i2c media: ov2680: Fix regulators being left enabled on ov2680_power_on() errors 2023-09-23 10:59:51 +02:00
mc
mmc
pci media: cobalt: Use FIELD_GET() to extract Link Width 2023-11-28 16:50:16 +00:00
platform media: venus: hfi: add checks to handle capabilities from firmware 2023-11-28 16:50:21 +00:00
radio media: radio-shark: Add endpoint checks 2023-05-30 12:44:10 +01:00
rc media: sharp: fix sharp encoding 2023-11-28 16:50:21 +00:00
spi
tuners media: tuners: qt1010: replace BUG_ON with a regular error 2023-09-23 11:00:04 +02:00
usb media: gspca: cpia1: shift-out-of-bounds in set_flicker 2023-11-28 16:50:15 +00:00
v4l2-core media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link() 2023-09-23 10:59:49 +02:00
Kconfig
Makefile