CVE-2024-35919
published high CVSS 3.1 · 7.8media: mediatek: vcodec: adding lock to protect encoder context list
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1972e32431ed14682909ad568c6fd660572ae6ab to < 41671f0c0182b2bae74ca7e3b0f155559e3e2fc5 · 1972e32431ed14682909ad568c6fd660572ae6ab to < 51c84a8aac6e3b59af2b0e92ba63cabe2e641a2d · 1972e32431ed14682909ad568c6fd660572ae6ab to < afaaf3a0f647a24a7bf6a2145d8ade37baaf75ad · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.6.27 through 6.6.* (unaffected · semver) · 6.8.6 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| linux | — | linux_kernel1972e32431ed to < 41671f0c0182 · 1972e32431ed to < 51c84a8aac6e · 1972e32431ed to < afaaf3a0f647 · 6.6 · 0 to < 6.6* · 6.6.27 through 6.6* · 6.8.6 through 6.8* · 6.9 and later · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-aws | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-aws-cloud-tools-6.8.0-1011 | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-aws-headers-6.8.0-1011 | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-aws-tools-6.8.0-1011 | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-azure-cloud-tools-6.8.0-1010 | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-azure-headers-6.8.0-1010 | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-azure-tools-6.8.0-1010 | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-gke | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1007-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1007-raspi | Advisory build | 6.8.0-1007.7 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-ibm | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-oem | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-oracle | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-oracle-64k | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1009-nvidia | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1009-nvidia-64k | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-gcp | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1011-aws | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-buildinfo-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-38-generic-64k | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-38-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-38-lowlatency-64k | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1007-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1010-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1011-aws | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-38 | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-38-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-common | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-gcp | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-gcp-headers-6.8.0-1010 | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-gcp-tools-6.8.0-1010 | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-gke | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-gke-headers-6.8.0-1006 | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-gke-tools-6.8.0-1006 | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-headers-6.8.0-1006-gke | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-headers-6.8.0-1007-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-1007-raspi | Advisory build | 6.8.0-1007.7 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-1008-ibm | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-1008-oem | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-1008-oracle | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-headers-6.8.0-1008-oracle-64k | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-headers-6.8.0-1009-nvidia | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-headers-6.8.0-1009-nvidia-64k | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-headers-6.8.0-1010-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-1010-gcp | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-1011-aws | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-headers-6.8.0-38 | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-38-generic-64k | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-38-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-38-lowlatency-64k | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-ibm | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-ibm-cloud-tools-common | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-ibm-headers-6.8.0-1008 | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-ibm-source-6.8.0 | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-ibm-tools-6.8.0-1008 | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-image-6.8.0-1007-raspi | Advisory build | 6.8.0-1007.7 | USN-6893-1 |
| Ubuntu | noble | linux-image-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1006-gke | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1007-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-ibm | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-oem | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-oracle | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-oracle-64k | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1009-nvidia | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1009-nvidia-64k | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1010-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1010-gcp | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1011-aws | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-38-generic-64k | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-38-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-38-lowlatency-64k | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-intel-cloud-tools-6.8.0-1007 | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-intel-headers-6.8.0-1007 | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-intel-tools-6.8.0-1007 | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-lib-rust-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-6.8.0-38 | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-common | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-headers-6.8.0-38 | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-lib-rust-6.8.0-38-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-tools-6.8.0-38 | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-tools-common | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-tools-host | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-modules-6.8.0-1006-gke | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-modules-6.8.0-1007-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-modules-6.8.0-1007-raspi | Advisory build | 6.8.0-1007.7 | USN-6893-1 |
| Ubuntu | noble | linux-modules-6.8.0-1008-ibm | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-modules-6.8.0-1008-oem | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-modules-6.8.0-1008-oracle | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-modules-6.8.0-1008-oracle-64k | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-modules-6.8.0-1009-nvidia | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-modules-6.8.0-1009-nvidia-64k | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-modules-6.8.0-1010-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable code is reached by opening the MediaTek V4L2 encoder device node (/dev/videoN) and issuing encode ioctls that trigger SCP/VPU IPI replies into vpu_enc_ipi_handler(); no network or physical access is involved. AC:L - The attacker controls both sides of the race — one thread issues encode operations generating asynchronous SCP IPI callbacks while another thread repeatedly opens/closes encoder contexts to free the ctx mid-traversal; the handler runs in IRQ/workqueue context and can preempt the releasing task, and the window covers the whole unlocked list walk. PR:L - Requires only an unprivileged local process with access to the encoder video device node, which on Android and ChromeOS MediaTek devices is granted to ordinary media/codec HAL and sandboxed video processes; no CAP_SYS_ADMIN or root is needed. UI:N - The attacker's own processes perform every step — open, encode, and close — with no action required from any other user. S:U - The corruption and its consequences are confined to the kernel's own security authority; there is no crossing of a VM, IOMMU, or sandbox boundary. C:H - The unlocked traversal dereferences a freed mtk_vcodec_enc_ctx, and reclaiming that slab object lets the attacker control list.next, turning the walk into a controlled kernel-memory read oracle (comparing ctx->vpu_inst at attacker-chosen addresses) capable of disclosing arbitrary kernel data. I:H - vpu_enc_check_ap_inst() is the validation gate for the firmware-supplied venc_inst pointer; a spurious true from the use-after-free lets handle_enc_init_msg() and the error path write vpu->inst_addr/vpu->vsi/vpu->failure/vpu->signaled through an unvalidated pointer, and heap-spray reclamation of the freed ctx provides a write primitive usable for control-flow hijacking. A:H - The use-after-free reliably produces a NULL/wild pointer dereference and kernel oops — an actual panic backtrace in vpu_dec_ipi_handler on a shipping MT8183 Chromebook is documented for the identical decoder-side bug — and following a corrupted list.next can also hang the CPU in IRQ context.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.0 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1972e32431ed14682909ad568c6fd660572ae6ab to < 41671f0c0182b2bae74ca7e3b0f155559e3e2fc5 (affected · git)1972e32431ed14682909ad568c6fd660572ae6ab to < 51c84a8aac6e3b59af2b0e92ba63cabe2e641a2d (affected · git)1972e32431ed14682909ad568c6fd660572ae6ab to < afaaf3a0f647a24a7bf6a2145d8ade37baaf75ad (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.6 (affected)0 to < 6.6 (unaffected · semver)6.6.27 through 6.6.* (unaffected · semver)6.8.6 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| linux | linux_kernel | 1972e32431ed to < 41671f0c0182 (affected · custom)1972e32431ed to < 51c84a8aac6e (affected · custom)1972e32431ed to < afaaf3a0f647 (affected · custom)6.6 (affected)0 to < 6.6* (affected · custom)6.6.27 through 6.6* (affected · custom)6.8.6 through 6.8* (affected · custom)6.9 and later (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-noinfo Not enough information
References
3Provider assertions
3Linux · cna
media: mediatek: vcodec: adding lock to protect encoder context list
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0b90a459376c3ecf67715432bfd829c1ca63ac6bff820b99dfa9bc081f874aa5
- Ingested
- 23 Sep 2026, 08:23:51 UTC
- Source record
- Official CVE record