Linux Kernel
CVE-2024-35919
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local shell on MediaTek SoC device
-
DeliveryLoad or exploit active vcodec encoder driver
-
ExploitTrigger unexpected SCP IP block condition
-
ExecutionRace ctx_list deletion against IPI handler
-
PersistDereference freed pointer in vpu_enc_ipi_handler
-
ImpactKernel panic (DoS) or potential kernel code execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Local authenticated access is required (CVSS PR:L), meaning the attacker must already have a shell or process execution on the target system. The target must be running the Linux kernel with the MediaTek vcodec encoder driver (mtk-vcodec) loaded and actively performing video encoding operations. The race condition is triggered specifically when the SCP (System Control Processor) IP block encounters unexpected behavior during encoder context lifecycle, causing ctx_list deletion to interleave with vpu_enc_ipi_handler execution. Systems not using MediaTek SoCs, or those where the vcodec driver is not loaded, are entirely unaffected. Remote exploitation is not possible due to the local attack vector. |
| Impact | The CVSS 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects a worst-case kernel-level impact but overstates real-world exploitability. The attack vector is local (AV:L), requiring an authenticated foothold on the target device; this alone substantially reduces exposure compared to network-exploitable flaws. AC:L in the vendor vector implies low complexity, but the trigger mechanism - inducing unexpected SCP IP block behavior during video encoding - suggests the race condition is not trivially reproducible on demand, which may warrant AC:H in practice. EPSS at 0.23% and 14th percentile confirms this is not being widely exploited in the wild. No CISA KEV listing, no public POC. The primary real-world impact is denial of service (kernel panic) on MediaTek-based embedded or mobile Linux systems. Privilege escalation to kernel context is theoretically possible but depends on memory layout conditions after the free. Net assessment: a maintenance-priority patch rather than an emergency response for most environments. |
| Exploit ScenarioDerived | An attacker with local user access on a MediaTek SoC-based Linux device (e.g., an embedded system, ARM developer board, or Android-adjacent platform with a mainline kernel) initiates a video encoding workload to load the vcodec driver, then triggers an unexpected SCP IP block condition - potentially via resource exhaustion or malformed encoder parameters - causing ctx_list deletion to race with the IPI handler, resulting in a kernel NULL pointer dereference. No public POC exists for this vulnerability. The race-condition nature of the trigger makes reliable exploitation uncertain without deep knowledge of the target's memory layout and SCP firmware behavior. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Aug 04, 2026
NULL pointer dereference in the MediaTek video codec (vcodec) kernel driver allows a local attacker to crash the system or potentially escalate privileges on devices powered by MediaTek SoCs. The flaw exists in the vpu_enc_ipi_handler function, which can dereference a freed encoder context list pointer (ctx_list) when the SCP IP block encounters unexpected behavior during video encoding operations. No public exploit exists and EPSS sits at 0.23% (14th percentile), indicating very low real-world exploitation probability despite the high CVSS base score. Upstream kernel patches are available via three stable-tree commits.
Earlier versions of this analysis (2)
NULL pointer dereference in the Linux kernel's MediaTek vcodec encoder driver exposes systems with MediaTek SoC hardware to local privilege escalation or kernel crash. The race condition in the vpu_enc_ipi_handler function arises when ctx_list entries are deleted due to unexpected SCP IP block behavior while the IPI handler is concurrently accessing them without a protecting lock. With an EPSS of 0.23% (14th percentile) and no CISA KEV listing, this is not actively exploited at time of analysis, but the CVSS 7.8 score reflects the full kernel-level impact achievable by a low-privileged local user on affected hardware.
NULL pointer dereference in the Linux kernel's MediaTek video codec (vcodec) driver allows a local, low-privileged attacker to crash the kernel or potentially escalate privileges on affected MediaTek SoC-based systems. The flaw exists in the vpu_enc_ipi_handler function, which processes Inter-Processor Interrupts from the Video Processing Unit without holding a lock on ctx_list; if an encoder context is concurrently deleted due to unexpected SCP IP block behavior, the handler dereferences a now-NULL pointer. No active exploitation has been identified and EPSS places this at only the 14th percentile, consistent with a race-condition driver flaw of limited reach.
RemediationAI
Apply one of the three upstream kernel stable patches: commit afaaf3a0f647a24a7bf6a2145d8ade37baaf75ad, 41671f0c0182b2bae74ca7e3b0f155559e3e2fc5, or 51c84a8aac6e3b59af2b0e92ba63cabe2e641a2d, all available at git.kernel.org/stable. Distribution maintainers (e.g., Android/ChromeOS kernel forks, Debian, Ubuntu) should backport the relevant commit for their kernel series. As a compensating control where patching is not immediately possible, disabling or blacklisting the mtk-vcodec kernel module (modprobe -r mtk-vcodec if not in use) eliminates the attack surface entirely at the cost of losing hardware video encoding capability on MediaTek SoCs. No released tagged version number was independently confirmed from the input; consult your kernel distribution's changelog to identify the patched release for your series.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerable component is the MediaTek vcodec subsystem in the Linux kernel, specifically the VPU (Video Processing Unit) encoder IPI (Inter-Processor Interrupt) handler. MediaTek SoCs offload video codec workloads to a co-processor (SCP - System Control Processor), and the host kernel communicates with it via IPI messages. The ctx_list structure tracks active encoder contexts. A race condition arises when the SCP IP block behaves unexpectedly: the encoder context list can be freed (ctx_list deleted) while vpu_enc_ipi_handler is still mid-flight and attempts to dereference a pointer into that list. CWE-476 (NULL Pointer Dereference) accurately classifies the root cause - the fix introduces a mutex lock around ctx_list access to serialize deletion and handler access. Affected CPEs span broad Linux kernel versions through 6.9-rc3 (cpe:2.3:o:linux:linux_kernel:6.9:rc1/rc2/rc3).
Know when Mediatek gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Race condition requires specific SCP unexpected-behavior timing, warranting AC:H; PR:L because local user access is needed; full kernel-level C/I/A impact applies if triggered.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
5DescriptionCVE.org
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.
Executive ViewAI
A NULL pointer dereference in MediaTek's vcodec kernel driver (CVE-2024-35919) can crash MediaTek SoC-powered devices or enable privilege escalation through local access. While the high CVSS score reflects technical severity, real-world exploitation remains minimal (0.23% EPSS). Organizations must assess whether MediaTek-based devices are present in their infrastructure or supply chain and prioritize patching accordingly.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
In wlan service, there is a possible out of bounds write due to improper input validation. Rated critical severity (CVSS
WiMAX routers based on the MediaTek SDK (libmtk) that use a custom httpd plugin are vulnerable to an authentication bypa
The MediaTek Embedded Multimedia Card (eMMC) subsystem for Android on MT65xx, MT66xx, and MT8163 SoC devices allows atta
The MT6573FDVT_SetRegHW function in camera_fdvt.c in the MediaTek driver for Linux allows local users to gain privileges
In Modem IMS Stack, there is a possible out of bounds write due to a missing bounds check. Rated critical severity (CVSS
In wlan service, there is a possible out of bounds write due to an incorrect bounds check. Rated critical severity (CVSS
In wlan AP FW, there is a possible out of bounds write due to improper input validation. Rated critical severity (CVSS 9
Heap OOB write in Android Bluetooth driver via incorrect bounds check.
Remote privilege escalation in Android WLAN AP driver via packet injection.
In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es
In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es
In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB