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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-07-12 · Modified: 2026-08-23
- Aliases: UBUNTU-CVE-2024-40973, DEBIAN-CVE-2024-40973
- Record: https://cvemate.com/vulnerability/CVE-2024-40973 · JSON: https://cvemate.com/vulnerability/CVE-2024-40973/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.293%, percentile 23.471%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 120)

- debian linux (Debian): \< 6.1.133-1 \| \< 6.9.7-1
- ubuntu linux (Ubuntu): \< 5.15.0-130.140 \| \< 6.8.0-44.44
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1076.83 \| \< 6.8.0-1015.16
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1075.82~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1015.16~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1076.83+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1078.87 \| \< 6.8.0-1014.16
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1078.87~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 25)

- <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>
- <https://git.kernel.org/stable/c/3a693c7e243b932faee5c1fb728efa73f0abc39b>
- <https://git.kernel.org/stable/c/53dbe08504442dc7ba4865c09b3bbf5fe849681b>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- <https://ubuntu.com/security/CVE-2024-40973>
- <https://www.cve.org/CVERecord?id=CVE-2024-40973>
- <https://git.kernel.org/linus/53dbe08504442dc7ba4865c09b3bbf5fe849681b>
- <https://ubuntu.com/security/notices/USN-6999-1>
- <https://ubuntu.com/security/notices/USN-7004-1>
- <https://ubuntu.com/security/notices/USN-7005-1>
- <https://ubuntu.com/security/notices/USN-7008-1>
- <https://ubuntu.com/security/notices/USN-7005-2>
- <https://ubuntu.com/security/notices/USN-6999-2>
- <https://ubuntu.com/security/notices/USN-7029-1>
- <https://ubuntu.com/security/notices/USN-7179-1>
- <https://ubuntu.com/security/notices/USN-7179-2>
- <https://ubuntu.com/security/notices/USN-7186-1>

---

Data as of 2026-12-05T03:51:09.550Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
