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'
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | - | 4.14.324 |
| linux / linux_kernel | 4.15 | 4.19.293 |
| linux / linux_kernel | 4.20 | 5.4.255 |
| linux / linux_kernel | 5.5 | 5.10.192 |
| linux / linux_kernel | 5.11 | 5.15.128 |
| linux / linux_kernel | 5.16 | 6.1.47 |
| linux / linux_kernel | 6.2 | 6.4.12 |