CVE Vulnerabilities

CVE-2022-3113

NULL Pointer Dereference

Published: Dec 14, 2022 | Modified: Dec 16, 2022
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit.

Affected Software

Name Vendor Start Version End Version
Linux_kernel Linux * 5.16.0 (excluding)
Linux_kernel Linux 5.16.0 (including) 5.16.0 (including)
Linux_kernel Linux 5.16.0-rc1 (including) 5.16.0-rc1 (including)
Linux_kernel Linux 5.16.0-rc2 (including) 5.16.0-rc2 (including)
Linux_kernel Linux 5.16.0-rc3 (including) 5.16.0-rc3 (including)
Linux_kernel Linux 5.16.0-rc4 (including) 5.16.0-rc4 (including)
Linux_kernel Linux 5.16.0-rc5 (including) 5.16.0-rc5 (including)
Linux_kernel Linux 5.16.0-rc6 (including) 5.16.0-rc6 (including)

Potential Mitigations

References