Skip to main content

Linux Kernel CVE-2026-138907

| EUVDEUVD-2026-138610 HIGH
2026-11-30 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-c9m7-2gv3-fg33
7.0
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
    Gain local access to mtk-jpeg V4L2 device
  2. Delivery
    Submit JPEG codec job
  3. Exploit
    Race job completion against file close
  4. Execution
    Trigger use-after-free of context
  5. Impact
    Corrupt kernel memory for escalation or disclosure

Vulnerability Assessment

Exploitation Conditions

Requires a device running a MediaTek SoC with the mtk-jpeg (V4L2 stateless/stateful JPEG codec) driver loaded, plus local access to the JPEG /dev/videoN node - typically membership in the 'video' group, consistent with PR:L - to submit encode/decode jobs. The specific trigger per the source is a narrow race in the single-core IRQ path: the attacker must win the window between v4l2_m2m_job_finish() publishing completion (which lets a concurrent file release run v4l2_m2m_ctx_release() and free the context) and the IRQ handler's tail dereferencing that now-freed context. Limiting factors that reduce realistic risk: local-only access (AV:L), high attack complexity from the race (AC:H), the need for the MediaTek JPEG hardware and driver to be present and in use, and that the fix targets the single-core IRQ tail specifically; no remote or unauthenticated path exists.

Impact

This is a local, race-condition-driven use-after-free in the MediaTek V4L2 JPEG codec driver (mtk-jpeg), and the signals point consistently to a real-but-not-urgent kernel hardening fix rather than a widely-exploited emergency. The provided CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.0) correctly reflects the mechanism the description states: v4l2_m2m_job_finish() publishes completion and wakes the file-release path, which can free the context before the single-core IRQ handler finishes dereferencing it - a classic time-sensitive race, which is why AC:H (not AC:L) is appropriate and should not be read as remote or trivially triggerable. EPSS is low (0.17%, 7th percentile) and the CVE is NOT in CISA KEV, so there is no evidence of active exploitation; the vuln.today Decision label is 'this_week', i.e. patch on a normal prioritized cycle, not act_now/emergency. The local vector plus high attack complexity plus low EPSS collectively indicate a low real-world exploitation likelihood, though the full C:H/I:H/A:H kernel memory-corruption impact keeps it above routine. One cross-source tension to note: the input Tags label this 'Information Disclosure', but the mechanism (UAF with full confidentiality, integrity and availability impact) is kernel memory corruption with privilege-escalation and crash potential, which is broader than pure information disclosure - treat the CVSS impact, not the tag, as authoritative.

Exploit ScenarioDerived

A local user (or compromised low-privileged process with access to the MediaTek JPEG V4L2 device) on a MediaTek-SoC device submits JPEG codec jobs and repeatedly closes the device file at the moment a job completes, racing the IRQ handler's tail against context teardown. If the attacker wins the race, the freed context is accessed after free, enabling kernel memory corruption that can lead to privilege escalation, information disclosure, or a crash. No public exploit code or PoC reference is provided, and the high attack complexity (winning the race) makes reliable exploitation difficult.

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

AnalysisAIv1 – Dec 02, 2026

A use-after-free race in the MediaTek JPEG codec V4L2 driver (mtk-jpeg) allows a local user with access to the JPEG /dev/videoN device node to potentially corrupt or disclose kernel memory. The IRQ handler's tail dereferences the m2m context after v4l2_m2m_job_finish() has published completion, so a concurrent file release can free that context first; the fix switches to the IRQ-owned jpeg pointer. Exploitation requires a MediaTek SoC with the driver loaded and a race-winning local job submission (AV:L, AC:H, PR:L); no public exploit code or CISA KEV entry is associated, and EPSS is low at 0.17% (7th percentile).

RemediationAI

Vendor-released patch: apply the upstream stable fixes for your branch - 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.4 (or 7.4-rc1 and later) - using the corresponding git.kernel.org/stable commits listed in the references, or take the distribution kernel update that carries them. Because the defect is a race between job completion and file release within the driver, no configuration toggle removes it; the practical interim control is to restrict access to the mtk-jpeg /dev/videoN nodes (for example remove untrusted users from the 'video' group or apply a device cgroup/udev ACL), which reduces exposure to PR:L-style local attackers at the cost of disabling JPEG codec use for those users, and to avoid concurrent submit-and-close workloads on the device until patched. Refer to https://nvd.nist.gov/vuln/detail/CVE-2026-138907 for the consolidated advisory linkage; no public exploit code was identified at time of analysis.

Affected VersionsENISA

Linux patch: 6.6.163
Linux 5827e4b14ee7882acc6d618c12ddf4966bbd780f <7c7f31405b76acd95a628c834ee8a2d6da439782
Linux 5827e4b14ee7882acc6d618c12ddf4966bbd780f <c5453ee719cdb222fab8306f48324eacf34501b4
Linux patch: 6.12.118
Linux 5827e4b14ee7882acc6d618c12ddf4966bbd780f <38c433a0ec83a133daecbd4f380ec22a219f600a
Linux patch: 5.10.275
Linux 5827e4b14ee7882acc6d618c12ddf4966bbd780f <5da36fa408bb96a3e65dd1b5cc3f10ded3fed126
Linux 5827e4b14ee7882acc6d618c12ddf4966bbd780f <e0dd33d541a80fb88527d09d910b9f2e7e05c167
Linux 5827e4b14ee7882acc6d618c12ddf4966bbd780f <a2455ad533b121bf256392c6cd7cf205457a001e
Linux patch: 6.18.64
Linux patch: 0
Linux 5827e4b14ee7882acc6d618c12ddf4966bbd780f <7950f166957e1b4fedbe80bb717e69df94ba93bf
Linux patch: 7.3.4
Linux patch: 5.15.226
Linux 5.10
Linux patch: 7.4-rc1
Linux 5827e4b14ee7882acc6d618c12ddf4966bbd780f <7e551afe3a5e9ad4f2b0258bbcdb963b61237070
Linux patch: 6.1.193

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The mtk-jpeg driver is a V4L2 memory-to-memory (m2m) JPEG encode/decode driver used on MediaTek SoCs, built on the v4l2_m2m job queueing framework. v4l2_m2m_job_finish() both publishes job completion and wakes waiters before it returns, meaning a userspace thread blocked in release() can proceed into v4l2_m2m_ctx_release() and free the m2m context concurrently with the still-running single-core IRQ handler tail. The affected code dereferenced ctx after completion had been published; the upstream fix replaces that dereference with the IRQ-owned jpeg pointer, which is sufficient for the matching runtime PM put and preserves the get/put pairing while eliminating post-completion context access. The flaw is a classic concurrent free/reference race (use-after-free class) whose exact trigger is a narrow timing window rather than a deterministic code path; no CWE identifier was supplied in the source data.

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.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Local V4L2 device access (AV:L) with low privilege via the video device node (PR:L); the described job-finish/file-release race justifies AC:H; a kernel UAF yields full C/I/A impact.

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
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Dec 01, 2026 - 06:22 NVD
7.0 (HIGH)
Patch available
Nov 30, 2026 - 14:19 EUVD
CVE Published
Nov 30, 2026 - 14:17 cve.org
HIGH 7.0
CVE Published
Nov 30, 2026 - 14:17 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

media: mediatek: jpeg: Avoid context access after job finish

v4l2_m2m_job_finish() publishes job completion and wakes waiters before it returns. A concurrent file release can therefore finish v4l2_m2m_ctx_release() and free the context while the single-core IRQ handler continues with its tail.

Both handlers only need the device for the matching runtime PM put. Use the IRQ-owned jpeg pointer instead of dereferencing ctx after completion has been published. This preserves the get/put pairing and removes the post-completion context access.

Executive ViewAI

Why It Matters

A high-severity local vulnerability in the MediaTek JPEG codec driver (mtk-jpeg) enables a user with device access to potentially corrupt or disclose kernel memory through a race condition. This affects MediaTek-based devices, and while exploitation requires local access and winning a race, the low EPSS score suggests limited immediate risk. Leadership should monitor for patch deployment but no widespread exploitation is expected.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
MediaTek SoC JPEG codec driver; mobile/embedded/Chromebook devices, not general servers
Data Quality
4 sources
Confidence: Medium

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

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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-2020-0069 HIGH
7.8 Mar 10

In the ioctl handlers of the Mediatek Command Queue driver, there is a possible out of bounds write due to insufficient

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

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