# CVE-2024-40973: media: mtk-vcodec: potential null pointer deference in SCP

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2024-07-12T12:32:10.763Z
- Modified: 2026-08-23T13:16:24.720Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

media: mtk-vcodec: potential null pointer deference in SCP

The return value of devm_kzalloc() needs to be checked to avoid
NULL pointer deference. This is similar to CVE-2022-3113.

(As written by CVE List.)

## Affected

- Linux Linux: from 590577a4e5257ac3ed72999a94666ad6ba8f24bc before ac79a923365ae1e524398087cf16313cdbd7a144; from 590577a4e5257ac3ed72999a94666ad6ba8f24bc before 19ef02106c990bf4235365a08b9d8d2fee37272a; from 590577a4e5257ac3ed72999a94666ad6ba8f24bc before eeb62bb4ca22db17f7dfe8fb8472e0442df3d92f; from 590577a4e5257ac3ed72999a94666ad6ba8f24bc before f066882293b5ad359e44c4ed24ab1811ffb0b354; from 590577a4e5257ac3ed72999a94666ad6ba8f24bc before 3a693c7e243b932faee5c1fb728efa73f0abc39b; from 590577a4e5257ac3ed72999a94666ad6ba8f24bc before 53dbe08504442dc7ba4865c09b3bbf5fe849681b; 4.10 (not affected: before 4.10; from 5.10.266 up to 5.10.*; from 5.15.217 up to 5.15.*; from 6.1.130 up to 6.1.*; from 6.6.36 up to 6.6.*; from 6.9.7 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: before 6.6.36; from 6.7 before 6.9.7

## References

- <https://git.kernel.org/stable/c/ac79a923365ae1e524398087cf16313cdbd7a144>
- <https://git.kernel.org/stable/c/19ef02106c990bf4235365a08b9d8d2fee37272a>
- <https://git.kernel.org/stable/c/eeb62bb4ca22db17f7dfe8fb8472e0442df3d92f>
- <https://git.kernel.org/stable/c/f066882293b5ad359e44c4ed24ab1811ffb0b354> (patch)
- <https://git.kernel.org/stable/c/3a693c7e243b932faee5c1fb728efa73f0abc39b> (patch)
- <https://git.kernel.org/stable/c/53dbe08504442dc7ba4865c09b3bbf5fe849681b> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>

## Sources

- CVE List: [CVE-2024-40973](https://www.cve.org/CVERecord?id=CVE-2024-40973), CVE Terms of Use, modified 2026-08-23
- NVD: [CVE-2024-40973](https://nvd.nist.gov/vuln/detail/CVE-2024-40973), Public domain, modified 2026-08-23

---

Page: https://cve.day/CVE-2024-40973 · Whole record: https://cve.day/CVE-2024-40973.json · Rebuilt by cve.day 2026-11-25T22:58:42.868Z
