Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-35920

published high CVSS 3.1 · 7.8

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

Published
19 May 2024, 10:10:32 UTC
Updated
05 Aug 2026, 11:30:59 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux655b86e52eacdce79c2e02c5ec7258a97fcc2e4a to < 0a2dc707aa42214f9c4827bd57e344e29a0841d6 · 655b86e52eacdce79c2e02c5ec7258a97fcc2e4a to < 23aaf824121055ba81b55f75444355bd83c8eb38 · 655b86e52eacdce79c2e02c5ec7258a97fcc2e4a to < 6467cda18c9f9b5f2f9a0aa1e2861c653e41f382 · 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
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
Ubuntu noble linux-aws-headers-6.8.0-1011 Advisory build 6.8.0-1011.12 USN-6893-3
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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 decoder context list Add a lock for the ctx_list, to avoid accessing a NULL pointer within the 'vpu_dec_ipi_handler' function when the ctx_list has been deleted due to an unexpected behavior on the SCP IP block. Hardware name: Google juniper sku16 board (DT) pstate: 20400005 (nzCv daif +PAN -UAO -TCO BTYPE=--) pc : vpu_dec_ipi_handler+0x58/0x1f8 [mtk_vcodec_dec] lr : scp_ipi_handler+0xd0/0x194 [mtk_scp] sp : ffffffc0131dbbd0 x29: ffffffc0131dbbd0 x28: 0000000000000000 x27: ffffff9bb277f348 x26: ffffff9bb242ad00 x25: ffffffd2d440d3b8 x24: ffffffd2a13ff1d4 x23: ffffff9bb7fe85a0 x22: ffffffc0133fbdb0 x21: 0000000000000010 x20: ffffff9b050ea328 x19: ffffffc0131dbc08 x18: 0000000000001000 x17: 0000000000000000 x16: ffffffd2d461c6e0 x15: 0000000000000242 x14: 000000000000018f x13: 000000000000004d x12: 0000000000000000 x11: 0000000000000001 x10: fffffffffffffff0 x9 : ffffff9bb6e793a8 x8 : 0000000000000000 x7 : 0000000000000000 x6 : 000000000000003f x5 : 0000000000000040 x4 : fffffffffffffff0 x3 : 0000000000000020 x2 : ffffff9bb6e79080 x1 : 0000000000000010 x0 : ffffffc0131dbc08 Call trace: vpu_dec_ipi_handler+0x58/0x1f8 [mtk_vcodec_dec (HASH:6c3f 2)] scp_ipi_handler+0xd0/0x194 [mtk_scp (HASH:7046 3)] mt8183_scp_irq_handler+0x44/0x88 [mtk_scp (HASH:7046 3)] scp_irq_handler+0x48/0x90 [mtk_scp (HASH:7046 3)] irq_thread_fn+0x38/0x94 irq_thread+0x100/0x1c0 kthread+0x140/0x1fc ret_from_fork+0x10/0x30 Code: 54000088 f94ca50a eb14015f 54000060 (f9400108) ---[ end trace ace43ce36cbd5c93 ]--- Kernel panic - not syncing: Oops: Fatal exception SMP: stopping secondary CPUs Kernel Offset: 0x12c4000000 from 0xffffffc010000000 PHYS_OFFSET: 0xffffffe580000000 CPU features: 0x08240002,2188200c Memory Limit: none

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

4

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/closing and driving the MediaTek V4L2 decoder node `/dev/videoN`, i.e. local syscalls on the device file. There is no network-facing path into `vpu_dec_check_ap_inst()`. AC:L - The attacker controls both sides of the race — an `open()`/`close()` loop mutates the shared `dev->ctx_list` while decode jobs it submitted drive the SCP IPI ACKs that enter the unlocked `list_for_each_entry()`. It can also deterministically widen the window by opening many contexts and by forcing the 2000 ms `scp_ipi_send()` ACK timeout so late ACKs arrive after the context was freed. PR:L - `fops_vcodec_open()` enforces no capability check; any local user with access to the `/dev/video*` node (video group, and the sandboxed media/GPU processes on ChromeOS and Android that routinely hold it) can reach it. No root or CAP_* privilege is needed. UI:N - The attacking process performs every step itself — opening the decoder, submitting a bitstream, and closing the fd concurrently. No victim action or interaction is required. S:U - The corruption and the vulnerable code are both in the kernel's own security authority; the SCP co-processor merely delivers the IPI that triggers it. No VM, IOMMU, or sandbox boundary is crossed. C:H - The unlocked traversal reads `ctx->list.next` and `ctx->vpu_inst` out of a `mtk_vcodec_dec_ctx` that was just `kfree()`d, a use-after-free read of a reallocatable slab object. Heap grooming lets the attacker supply the link pointer, turning the loop into a controlled-address dereference usable for kernel memory disclosure. I:H - Because the staleness guard is racy, `vpu_dec_ipi_handler()` proceeds against a freed `vdec_vpu_inst` (freed with its containing `vdec_h264_inst`/`vdec_vp9_inst` in `fops_vcodec_release()`), writing `vpu->failure`, `vpu->signaled`, and on INIT_ACK `vpu->vsi`/`vpu->inst_addr`/`vpu->inst_id` into memory that may already be reallocated. That is a use-after-free write at fixed offsets, exploitable for cross-object corruption and control-flow hijack. A:H - The commit records a reproduced fatal oops in `vpu_dec_ipi_handler+0x58` ending in "Kernel panic - not syncing: Oops: Fatal exception" with secondary CPUs stopped. Any local user able to open the decoder node can trigger this repeatedly for a full system crash.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 655b86e52eacdce79c2e02c5ec7258a97fcc2e4a to < 0a2dc707aa42214f9c4827bd57e344e29a0841d6 (affected · git)655b86e52eacdce79c2e02c5ec7258a97fcc2e4a to < 23aaf824121055ba81b55f75444355bd83c8eb38 (affected · git)655b86e52eacdce79c2e02c5ec7258a97fcc2e4a to < 6467cda18c9f9b5f2f9a0aa1e2861c653e41f382 (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

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

3

Linux · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
7fafaab346bb99dc494982296c2baec3312595400fe7754e6a8c9dd91fa3cf8b
Ingested
23 Sep 2026, 08:23:51 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected