2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-10 06:34:17 +08:00
linux-next/drivers/media/platform/mediatek
Yunfei Dong 1972e32431 media: mediatek: vcodec: Fix possible invalid memory access for encoder
The vpu maybe null pointer or unreasonable value when scp crash, need to
validate that the vpu pointer and the vpu instance within this context is
valid in case of leading to kernel reboot.

Fixes: 27a274db6b ("[media] vcodec: mediatek: Add Mediatek VP8 Video Encoder Driver")
Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com>
Reported-by: Steve Cho <stevecho@google.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-08-10 07:58:34 +02:00
..
jpeg media: mtk-jpeg: Fix use after free bug due to uncanceled work 2023-07-25 09:31:48 +02:00
mdp media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
mdp3 media: mdp3: Fix resource leaks in of_find_device_by_node 2023-07-19 12:57:47 +02:00
vcodec media: mediatek: vcodec: Fix possible invalid memory access for encoder 2023-08-10 07:58:34 +02:00
vpu media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
Kconfig media: platform: mtk-mdp3: add MediaTek MDP3 driver 2022-08-30 16:25:51 +02:00
Makefile media: platform: mtk-mdp3: add MediaTek MDP3 driver 2022-08-30 16:25:51 +02:00