Skip to main content

Linux Kernel CVE-2026-46011

| EUVDEUVD-2026-32308 HIGH
Use After Free (CWE-416)
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-cfrw-47v4-wfc7
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. Recon
    Gain local shell with video group access
  2. Delivery
    Open mtk-jpeg /dev/video device
  3. Exploit
    Queue JPEG encode/decode work via ioctl
  4. Install
    Race close() against in-flight workqueue handler
  5. C2
    Reallocate freed ctx slab with controlled data
  6. Execute
    Hijack kernel control flow on UAF dereference
  7. Impact
    Escalate to root

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires local access to a Linux system running a vulnerable kernel (6.2 through pre-fix 6.6.x/6.12.x/6.18.x/7.0.x) on MediaTek hardware where the mtk-jpeg driver is built and loaded, plus permission to open the corresponding V4L2 /dev/video* node (typically membership in the 'video' group or equivalent). The attacker must successfully issue encode/decode ioctls to queue jpeg_work via mtk_jpeg_device_run() and then win a tight timing race between close()/mtk_jpeg_release() freeing ctx and the workqueue handler dereferencing it. Limiting factors: the bug is unreachable on non-MediaTek platforms or when the module is not loaded, requires winning a narrow concurrent race window (no guaranteed single-shot trigger), and yields no remote attack surface (AV:L).

Impact

The CVSS 7.8 vector (AV:L/AC:L/PR:L/UI:N/C:H/I:H/A:H) correctly reflects a local, low-complexity attack requiring only low privileges (access to the /dev/video* device node) with high confidentiality, integrity, and availability impact - typical of kernel UAF that can be coerced into arbitrary read/write. However, EPSS at 0.02% (5th percentile) and absence from CISA KEV indicate negligible real-world exploitation interest, consistent with a niche driver only present on MediaTek hardware. The 'Information Disclosure' tag in the input understates the issue: UAF in kernel context typically enables privilege escalation, not merely info-leak. Key caveat: exploitability requires winning a narrow race window between close() and an in-flight workqueue item, which is non-trivial on production systems and may require sustained fuzzing or precise timing - realistic risk is therefore moderate on MediaTek-based devices (Chromebooks, Android devices, embedded SoCs) and effectively nil elsewhere.

Exploit ScenarioDerived

A local unprivileged attacker with membership in the 'video' group on a MediaTek-based device (e.g., an ARM Chromebook) opens /dev/video* for the mtk-jpeg device, issues JPEG encode/decode ioctls to queue work onto the jpeg_work queue, then races a close() against the in-flight worker to trigger the use-after-free on the freed ctx structure. With careful heap grooming to reallocate the freed slab object with attacker-controlled data, the dangling pointer dereference in mtk_jpegenc_worker() can be steered toward kernel-mode code execution and privilege escalation. No public POC has been published.

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

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

Alert me

AnalysisAIv1 – May 30, 2026

Local privilege escalation and memory corruption in the Linux kernel's MediaTek JPEG (mtk-jpeg) media driver allows a local user with access to the device to trigger a use-after-free condition. The flaw occurs in mtk_jpeg_release() which frees the context structure without first cancelling pending workqueue items, creating a race window during device close where the worker thread accesses freed memory. No public exploit identified at time of analysis, and EPSS rates exploitation probability at just 0.02%, but the bug is fixed across multiple stable trees.

RemediationAI

Upgrade to a Linux kernel containing the fix: stable 6.6.140 or later, 6.12.86 or later, 6.18.27 or later, 7.0.4 or later, or mainline 7.1-rc1 and beyond - pull from your distribution as backports land (commits 0498b27a1542, 2209fdae5c2f, 26506a30e0e2, 34c519feef3e, e78c39f72067 at https://git.kernel.org/stable/c/<hash>). If immediate patching is not possible on MediaTek hardware, compensating controls include unloading the mtk_jpeg module (rmmod mtk_jpeg) where the hardware JPEG accelerator is not required, restricting access to /dev/video* nodes via udev rules or tighter group membership (default 'video' group), and applying seccomp or LSM policies to block untrusted processes from opening V4L2 JPEG devices. Trade-offs: disabling the module breaks hardware-accelerated JPEG encode/decode (falling back to software paths with higher CPU and power cost), and tightening /dev/video* permissions may break camera/codec features for non-privileged user sessions.

Affected VersionsENISA

Linux patch: 6.6.140
Linux patch: 7.1-rc1
Linux patch: 6.18.27
Linux 5fb1c2361e5630491d2a2f9359654eb022601bc0 <26506a30e0e26d612f82a7bf0e395626968a44e6
Linux 5fb1c2361e5630491d2a2f9359654eb022601bc0 <2209fdae5c2f615930c9af1379c1cfca199ec5d8
Linux 5fb1c2361e5630491d2a2f9359654eb022601bc0 <34c519feef3e4fcff1078dc8bdb25fbbbd10303f
Linux patch: 0
Linux 6.2
Linux patch: 7.0.4
Linux patch: 6.12.86
Linux 5fb1c2361e5630491d2a2f9359654eb022601bc0 <e78c39f720679fcf3a2eacd82725ec3ea2648301
Linux 5fb1c2361e5630491d2a2f9359654eb022601bc0 <0498b27a1542021d90269d58347501d4c3ccd84e

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 vulnerability resides in the MediaTek JPEG codec driver (drivers/media/platform/mediatek/jpeg/), which provides V4L2 hardware-accelerated JPEG encode/decode on MediaTek SoCs commonly found in ARM-based platforms and Chromebooks. The root cause is a classic use-after-free race (CWE-416 class, though not tagged in input): mtk_jpeg_device_run() queues jpeg_work via queue_work(), but the release path frees the per-file ctx structure via kfree() without invoking cancel_work_sync() first. If a close() races with an in-flight worker, mtk_jpegenc_worker() dereferences ctx after it has been freed. The fix calls cancel_work_sync() before acquiring the device mutex - ordering matters because the worker itself contends for the same mutex, so reversing the order would deadlock.

Know when the next one hits your stack

  • 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
SUSE HIGH

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

4
CVSS changed
May 30, 2026 - 11:22 NVD
7.8 (HIGH)
Patch available
May 27, 2026 - 19:46 EUVD
CVE Published
May 27, 2026 - 14:17 nvd
UNKNOWN (no severity yet)
CVE Published
May 27, 2026 - 14:17 nvd
HIGH 7.8

DescriptionCVE.org

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

media: mtk-jpeg: fix use-after-free in release path due to uncancelled work

The mtk_jpeg_release() function frees the context structure (ctx) without first cancelling any pending or running work in ctx->jpeg_work. This creates a race window where the workqueue callback may still be accessing the context memory after it has been freed.

Race condition:

CPU 0 (release) CPU 1 (workqueue) ---------------- ------------------ close() mtk_jpeg_release() mtk_jpegenc_worker() ctx = work->data // accessing ctx

kfree(ctx) // freed! access ctx // UAF!

The work is queued via queue_work() during JPEG encode/decode operations (via mtk_jpeg_device_run). If the device is closed while work is pending or running, the work handler will access freed memory.

Fix this by calling cancel_work_sync() BEFORE acquiring the mutex. This ordering is critical: if cancel_work_sync() is called after mutex_lock(), and the work handler also tries to acquire the same mutex, it would cause a deadlock.

Note: The open error path does NOT need cancel_work_sync() because INIT_WORK() only initializes the work structure - it does not schedule it. Work is only scheduled later during ioctl operations.

Executive ViewAI

Why It Matters

The Linux kernel's MediaTek JPEG driver contains a local privilege escalation vulnerability allowing attackers with device access to corrupt memory and elevate privileges. No public exploit identified at time of analysis. Organizations operating MediaTek-based hardware in embedded systems, IoT, or multi-user environments may face unauthorized privilege escalation if the driver is active. A vendor patch is available and should be prioritized for deployment.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
5 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.0%
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

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

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