Skip to main content

Linux Kernel EUVDEUVD-2026-48902

| CVE-2026-64358 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-07-25 Linux GHSA-cj8f-pj7x-5x2c
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Gain local access on MediaTek SoC system
  2. Delivery
    Open /dev/video JPEG device node
  3. Exploit
    Close device fd triggering mtk_jpeg_release
  4. Install
    cancel_work_sync invoked on NULL jpeg_worker callback
  5. C2
    WARN_ON fires in __flush_work
  6. Execute
    System panic (CONFIG_PANIC_ON_WARN=y)
  7. Impact
    Denial of service via kernel crash

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

Exploitation requires all of the following: (1) a system with MediaTek SoC hardware where the mtk-jpeg driver is loaded and the platform variant is non-multicore (jpeg_worker platform data field is NULL); (2) an affected kernel version in the 6.6.140-6.6.144, 6.12.86-6.12.95, 6.18.27-6.18.38, or 7.0.4-7.0.x ranges; (3) local access with at least low privileges sufficient to open and close the JPEG device node (/dev/video*); and (4) escalation to kernel panic only occurs on kernels compiled with CONFIG_PANIC_ON_WARN=y, which is not the default in most Linux distribution kernels. Remote exploitation is impossible - the attack vector is strictly local. Systems without MediaTek JPEG hardware, running patched kernel versions, or using multicore mtk-jpeg variants are not affected.

Impact

The CVSS 5.5 rating (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) accurately reflects a local, low-privilege, availability-only issue with no confidentiality or integrity impact. EPSS at 0.21% (11th percentile) signals negligible community exploitation interest, and the vulnerability is absent from CISA KEV with no public exploit code identified at the time of analysis. Real-world risk is bounded by hardware specificity - only devices running MediaTek SoC hardware with the mtk-jpeg driver are affected, ruling out the vast majority of server and cloud infrastructure. Even a mid-sized municipal IT team in koszalin managing MediaTek-based embedded kiosks or Android appliances on affected kernel versions would treat this primarily as a stability patch rather than a security emergency. Escalation to an outright kernel panic requires CONFIG_PANIC_ON_WARN=y, which is non-default in most production distributions. The risk calculus favors routine kernel upgrade over emergency response.

Exploit ScenarioDerived

A local user or process with access to the MediaTek JPEG device node opens and subsequently closes the /dev/video device, causing mtk_jpeg_release() to execute. On a non-multicore platform where jpeg_worker is NULL, the unconditional cancel_work_sync() call triggers WARN_ON inside __flush_work, generating kernel warning output. On kernels built with CONFIG_PANIC_ON_WARN=y - common in some hardened or development builds - this warning escalates to a kernel panic and system reboot, constituting a local denial of service. No public exploit code exists; the trigger is normal device lifecycle operation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Sep 04, 2026

Unconditional invocation of cancel_work_sync() in the mtk-jpeg media driver's release path triggers spurious WARN_ON kernel warnings on non-multicore MediaTek JPEG codec platforms where the workqueue callback pointer is NULL. Systems running affected Linux kernel versions (6.6.140-6.18.38, 7.0.4) on MediaTek SoC hardware may experience kernel log pollution or, on kernels compiled with CONFIG_PANIC_ON_WARN=y, a full system denial of service when the JPEG device is released. No public exploit has been identified and no active exploitation is recorded; this is a stability and correctness fix with strictly local trigger conditions.

RemediationAI

Upgrade the Linux kernel to a patched stable release: 6.6.145, 6.12.96, 6.18.39, or 7.1 (or any subsequent release). Fix commits are available at git.kernel.org: 0fed0fc34ce7 (6.12 branch), ac0774961a6e (7.0 branch), 973408ceab14 (6.18 branch), 4c4b4af4a9f2 (6.12 branch), and b1845a227fda (6.6 branch). For embedded or Android platforms where immediate kernel upgrade is not feasible, removing or blocklisting the mtk-jpeg kernel module (if JPEG hardware is not operationally required) eliminates the affected code path entirely with the trade-off of losing hardware JPEG acceleration. Where the module is built-in, restricting unprivileged access to /dev/video* JPEG device nodes via udev rules or SELinux/AppArmor policy limits exposure to privilege-holding processes. Full advisory references: https://nvd.nist.gov/vuln/detail/CVE-2026-64358 and https://vuldb.com/vuln/383155.

Affected VersionsENISA

Linux 6.18.27 <6.18.39
Linux patch: 0
Linux patch: 7.1.4
Linux 26506a30e0e26d612f82a7bf0e395626968a44e6 <973408ceab14555a8548b97c8cc7b54208c3f251
Linux patch: 6.18.39
Linux e78c39f720679fcf3a2eacd82725ec3ea2648301
Linux 2209fdae5c2f615930c9af1379c1cfca199ec5d8 <0fed0fc34ce734b4b8c2f6a467d38bddcb21dda9
Linux patch: 6.12.96
Linux 34c519feef3e4fcff1078dc8bdb25fbbbd10303f <b1845a227fda37b2fe5327df3ca0015d7e290235
Linux 6.12.86 <6.12.96
Linux 7.0.4 <7.1
Linux patch: 7.2-rc1
Linux 6.6.140 <6.6.145
Linux patch: 6.6.145
Linux 7.1
Linux 0498b27a1542021d90269d58347501d4c3ccd84e <ac0774961a6ea174a71d4ffa39966edafbf7662d
Linux 34c519feef3e4fcff1078dc8bdb25fbbbd10303f <4c4b4af4a9f278da096f0dbdb6b59594701d29bf

Affected Packages

euvd linux fix: 6.6.145, 6.12.96, 6.18.39, 7.1

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 MediaTek JPEG (mtk-jpeg) driver in the Linux kernel supports two hardware variants: a legacy single-core path and a newer multicore path. Only the multicore variant initializes the jpeg_worker platform data field with a workqueue callback function; the single-core variant leaves this field as NULL by default. A prior fix introduced a cancel_work_sync() call in mtk_jpeg_release() to drain pending work on teardown, but this call was made unconditional. When cancel_work_sync() is invoked on a zero-initialized work_struct (non-multicore variant), the internal __flush_work helper detects the missing function pointer and fires WARN_ON - consistent with CWE-476 (NULL Pointer Dereference). The kernel subsystem is the V4L2/media layer; affected CPE is cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*. The correct fix guards the cancel_work_sync call behind a NULL check on the jpeg_worker callback pointer.

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

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local trigger via device release by low-privileged user; no confidentiality or integrity impact; availability high only on panic-on-warn kernel builds.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
CVSS changed
Sep 04, 2026 - 16:07 NVD
5.5 (MEDIUM)
Patch available
Jul 25, 2026 - 11:18 EUVD
CVE Published
Jul 25, 2026 - 08:50 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 25, 2026 - 08:50 nvd
MEDIUM 5.5

DescriptionNVD

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

media: mtk-jpeg: cancel workqueue on release for supported platforms only

Since a recent fix the mtk_jpeg_release function cancels any pending or running work present in the driver workqueue using cancel_work_sync function. Currently, only the multicore based variants use this workqueue and they have the jpeg_worker platform data field initialized with a workqueue callback function. For the others, this field value remain NULL by default. The cancel_work_sync function is unconditionally called in mtk_jpeg_release function, even for the variants that do not use the workqueue. This call generates a WARN_ON print in __flush_work because the workqueue callback function presence check fails in __flush_work function (used by cancel_work_sync).

So, to avoid these warnings, call cancel_work_sync only if a workqueue callback is defined in platform data.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
MediaTek JPEG driver specific to embedded and mobile SoCs
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
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.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.208 Container suse/sl-micro/6.1/base-os-container:2.2.1-5.184 Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.218 Container suse/sl-micro/6.1/kvm-os-container:2.2.1-5.186 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.237 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.180 Affected
SUSE Linux Enterprise Real Time 15 SP7 SUSE Real Time Module 15 SP7 Fixed
SUSE Linux Micro 6.0 Fixed

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