CVE-2024-40973
kernel: media: mtk-vcodec: potential null pointer deference in SCP
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 12, 2024
Updated · November 21, 2025
Description
A flaw was found in the mtk-vcodec module in the Linux kernel. The mtk_vcodec_fw_scp_init function in the drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_scp.c file does not check the return value of the devm_kzalloc function, potentially resulting in a NULL pointer dereference.
Statement
The mtk-vcodec module is not built in the kernel shipped in Red Hat Enterprise Linux, so it is not affected by this vulnerability.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-252 · Unchecked Return Value