Skip to main content

Linux Kernel CVE-2024-35919

HIGH
NULL Pointer Dereference (CWE-476)
2024-05-19 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local shell on MediaTek SoC device
  2. Delivery
    Load or exploit active vcodec encoder driver
  3. Exploit
    Trigger unexpected SCP IP block condition
  4. Execution
    Race ctx_list deletion against IPI handler
  5. Persist
    Dereference freed pointer in vpu_enc_ipi_handler
  6. Impact
    Kernel 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – 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)
v2 Aug 04, 2026 - 12:27 cvss changed CVSS 7.8

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.

v1 Aug 04, 2026 - 12:27 cvss changed CVSS 7.8

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

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

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.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Aug 04, 2026 - 12:28 vuln.today
v3 - CVSS changed
Analysis Updated
Aug 04, 2026 - 12:27 vuln.today
v2 - CVSS changed
Analysis Updated
Aug 04, 2026 - 12:27 vuln.today
v1 - CVSS changed
CVSS changed
Aug 04, 2026 - 11:23 NVD
7.0 (HIGH) 7.8 (HIGH)
CVE Published
May 19, 2024 - 11:15 cve.org
HIGH 7.0

DescriptionCVE.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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Medium
MediaTek SoCs power many ARM devices and Android handsets globally
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
CVE-2024-20017 CRITICAL POC
9.8 Mar 04

In wlan service, there is a possible out of bounds write due to improper input validation. Rated critical severity (CVSS

CVE-2017-3216 CRITICAL POC
9.8 Jun 20

WiMAX routers based on the MediaTek SDK (libmtk) that use a custom httpd plugin are vulnerable to an authentication bypa

CVE-2019-15027 CRITICAL POC
9.8 Aug 14

The MediaTek Embedded Multimedia Card (eMMC) subsystem for Android on MT65xx, MT66xx, and MT8163 SoC devices allows atta

CVE-2016-6492 HIGH POC
7.8 Jan 12

The MT6573FDVT_SetRegHW function in camera_fdvt.c in the MediaTek driver for Linux allows local users to gain privileges

CVE-2023-32874 CRITICAL
9.8 Jan 02

In Modem IMS Stack, there is a possible out of bounds write due to a missing bounds check. Rated critical severity (CVSS

CVE-2025-20654 CRITICAL
9.8 Apr 07

In wlan service, there is a possible out of bounds write due to an incorrect bounds check. Rated critical severity (CVSS

CVE-2025-20646 CRITICAL
9.8 Mar 03

In wlan AP FW, there is a possible out of bounds write due to improper input validation. Rated critical severity (CVSS 9

CVE-2025-20672 CRITICAL
9.8 Jun 02

Heap OOB write in Android Bluetooth driver via incorrect bounds check.

CVE-2025-20674 CRITICAL
9.8 Jun 02

Remote privilege escalation in Android WLAN AP driver via packet injection.

CVE-2025-20684 CRITICAL
9.8 Jul 08

In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es

CVE-2025-20683 CRITICAL
9.8 Jul 08

In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es

CVE-2025-20682 CRITICAL
9.8 Jul 08

In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy