Null Pointer Dereference in mtk_vcodec_fw_vpu_init() Function

Null Pointer Dereference in mtk_vcodec_fw_vpu_init() Function

CVE-2022-3113 · MEDIUM Severity

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

An issue was discovered in the Linux kernel through 5.16-rc6. mtk_vcodec_fw_vpu_init in drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_vpu.c lacks check of the return value of devm_kzalloc() and will cause the null pointer dereference.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.