media: platform: mediatek: vpu: fix NULL ptr dereference
CVE-2023-53425
Currently unrated
What is CVE-2023-53425?
In the Linux kernel, the following vulnerability has been resolved:
media: platform: mediatek: vpu: fix NULL ptr dereference
If pdev is NULL, then it is still dereferenced.
This fixes this smatch warning:
drivers/media/platform/mediatek/vpu/mtk_vpu.c:570 vpu_load_firmware() warn: address of NULL pointer 'pdev'
Affected Version(s)
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 099e929e7477f37ca16738fc158d7101c0189ca1
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 1b3f25d3894a091abc247eadab266a2c9be64389
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2