# CVE-2024-35919: media: mediatek: vcodec: adding lock to protect encoder context list

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.33%, higher than 19% of CVEs (2026-11-30)
- Published: 2024-05-19T10:10:31.707Z
- Modified: 2026-08-05T11:30:58.513Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

media: mediatek: vcodec: adding lock to protect encoder context list

Add a lock for the ctx_list, to avoid accessing a NULL pointer
within the 'vpu_enc_ipi_handler' function when the ctx_list has
been deleted due to an unexpected behavior on the SCP IP block.

(As written by CVE List.)

## Affected

- Linux Linux: from 1972e32431ed14682909ad568c6fd660572ae6ab before 41671f0c0182b2bae74ca7e3b0f155559e3e2fc5; from 1972e32431ed14682909ad568c6fd660572ae6ab before 51c84a8aac6e3b59af2b0e92ba63cabe2e641a2d; from 1972e32431ed14682909ad568c6fd660572ae6ab before afaaf3a0f647a24a7bf6a2145d8ade37baaf75ad; 6.6 (not affected: before 6.6; from 6.6.27 up to 6.6.*; from 6.8.6 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 1972e32431ed before 41671f0c0182; from 1972e32431ed before 51c84a8aac6e; from 1972e32431ed before afaaf3a0f647; 6.6; before 6.6*; from 6.6.27 up to 6.6*; from 6.8.6 up to 6.8*; from 6.9 up to *; from 6.6 before 6.6.27; from 6.7 before 6.8.6; 6.9

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/41671f0c0182b2bae74ca7e3b0f155559e3e2fc5> (patch)
- <https://git.kernel.org/stable/c/51c84a8aac6e3b59af2b0e92ba63cabe2e641a2d> (patch)
- <https://git.kernel.org/stable/c/afaaf3a0f647a24a7bf6a2145d8ade37baaf75ad> (patch)

## Sources

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

---

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