Skip to main content

Linux Kernel CVE-2026-46058

| EUVDEUVD-2026-32440 HIGH
Race Condition (CWE-362)
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-j7pj-jr9c-8hg7
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
    Gain local shell with video group
  2. Delivery
    Open amphion /dev/video m2m device
  3. Exploit
    Submit buffers and trigger ctx release concurrently
  4. Execution
    Win race between v4l2_m2m_ctx_release and v4l2_m2m_try_run
  5. Persist
    Dereference freed m2m_ctx in device_run
  6. Impact
    Kernel panic or memory corruption

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: 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 code execution on a Linux system that has the amphion VPU driver compiled in and loaded (realistically NXP i.MX8M Plus / i.MX95 class hardware running kernel 5.18 through the unpatched 6.6.x / 6.12.x / 6.18.x / 7.0.x lines), plus read/write access to the corresponding /dev/video* m2m device node - typically membership in the 'video' group. The attacker must be able to issue concurrent V4L2 ioctls (open/queue/release) to actually race v4l2_m2m_ctx_release() against v4l2_m2m_try_run(); no user interaction or network access is involved (UI:N, AV:L). Exploitation is bounded by the small installed base of amphion-enabled systems and by default Linux distribution permissions that restrict V4L2 device nodes to the video group rather than world-accessible.

Impact

The CVSS 3.1 vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H reflects a local, low-complexity, low-privilege attack with full CIA impact - consistent with a kernel UAF triggerable from user space by a process able to open the amphion V4L2 device node. EPSS is 0.02% (5th percentile) and there is no CISA KEV listing or public PoC, signaling negligible mass-exploitation risk today; this is no public exploit identified at time of analysis. Realistically, the bug is most dangerous on NXP i.MX8-class hardware running shared/multi-tenant or container workloads where untrusted code can race the device - on single-user embedded boards or systems without the amphion driver loaded, exposure is effectively zero. The CVSS 'I:H' rating implies memory corruption that could be escalated to privilege, but the published trace only demonstrates a panic (DoS) - escalation to code execution is plausible for a heap UAF but not independently confirmed by the report.

Exploit ScenarioDerived

On an NXP i.MX8-based device (for example a kiosk, automotive head unit, or shared edge appliance), a local low-privilege process with access to /dev/video* opens an amphion m2m context and rapidly closes it while another thread submits buffers, racing v4l2_m2m_ctx_release() against v4l2_m2m_try_run(). The freed m2m_ctx is then dereferenced inside device_run, producing the documented panic at offset 0x538 and crashing the kernel. No public PoC is known, but the published kernel trace effectively documents the trigger path, lowering the bar for a researcher to weaponize it for DoS or, more speculatively, heap-spray-assisted privilege escalation.

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

Use-after-free in the Linux kernel's amphion VPU media driver allows local privileged users to trigger a kernel panic and potential memory corruption due to a race condition between v4l2_m2m_ctx_release() and v4l2_m2m_try_run(). The flaw affects systems using the amphion video encode/decode driver (introduced in 5.18) and has been resolved upstream by removing reliance on the m2m framework's job scheduling. No public exploit identified at time of analysis and EPSS is very low (0.02%), but the local high-impact CVSS of 7.8 makes it relevant for multi-tenant or hardened kernel deployments.

RemediationAI

Upgrade to a Linux stable kernel containing the fix: 6.6.140, 6.12.86, 6.18.27, 7.0.4, or mainline 7.1-rc1 or later, pulling commits 42dc622776f3 / 6be2cb75bc13 / 8cd35ceadcfc / da4f46c5cf1d / fdc150dac1ad as referenced at https://git.kernel.org/stable/c/42dc622776f3ce1a6c31b13bdc686f7295e3b323. If a kernel update is not immediately possible, the most direct compensating control is to unload or blacklist the amphion modules (amphion-vpu, amphion-vpu-windsor, amphion-vpu-malone) and remove the corresponding /dev/video* and /dev/media* nodes, which eliminates the attack surface entirely but disables hardware video encode/decode on the affected SoC and will force userspace to fall back to software codecs. Where the driver must remain loaded, restrict access to the V4L2 device nodes to a trusted 'video' group via udev rules and avoid granting that group to untrusted containers or sandboxes; this reduces but does not remove the race window.

Affected VersionsENISA

Linux 5.18
Linux patch: 6.12.86
Linux 3cd084519c6f91cbef9d604bcf26844fa81d4922 <fdc150dac1adb9a98be9d6956cff0348838b024a
Linux patch: 7.0.4
Linux 3cd084519c6f91cbef9d604bcf26844fa81d4922 <da4f46c5cf1d26e6b09418ad453e152f2e75a02c
Linux 3cd084519c6f91cbef9d604bcf26844fa81d4922 <8cd35ceadcfc8c5da2eb7f7ce24525ce9d4ee62e
Linux patch: 0
Linux 3cd084519c6f91cbef9d604bcf26844fa81d4922 <6be2cb75bc1300080cfc8051579f22efae9401f7
Linux 3cd084519c6f91cbef9d604bcf26844fa81d4922 <42dc622776f3ce1a6c31b13bdc686f7295e3b323
Linux patch: 6.6.140
Linux patch: 7.1-rc1
Linux patch: 6.18.27

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 lives in drivers/media/platform/amphion, the Video Processing Unit driver used on NXP i.MX8 platforms for hardware-accelerated H.264/H.265/VP8 encode and decode. It interacts with the V4L2 mem-to-mem (m2m) framework, which schedules device_run callbacks for queued buffers. The amphion driver does not actually rely on the m2m device_run path, yet it kept job_abort registered - letting v4l2_m2m_ctx_release() invoke v4l2_m2m_cancel_job() and free the m2m_ctx while v4l2_m2m_try_run() was concurrently about to dereference it, classically a CWE-416 use-after-free (the CWE field is reported as N/A but the trace and fix make the class unambiguous). The fix neutralizes the m2m scheduler for this driver by adding a job_ready callback that always returns 0 and dropping the job_abort callback.

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: amphion: Fix race between m2m job_abort and device_run

Fix kernel panic caused by race condition where v4l2_m2m_ctx_release() frees m2m_ctx while v4l2_m2m_try_run() is about to call device_run with the same context.

Race sequence: v4l2_m2m_try_run(): v4l2_m2m_ctx_release(): lock/unlock v4l2_m2m_cancel_job() job_abort() v4l2_m2m_job_finish() kfree(m2m_ctx) <- frees ctx device_run() <- use-after-free crash at 0x538

Crash trace: Unable to handle kernel read from unreadable memory at virtual address 0000000000000538 v4l2_m2m_try_run+0x78/0x138 v4l2_m2m_device_run_work+0x14/0x20

The amphion vpu driver does not rely on the m2m framework's device_run callback to perform encode/decode operations.

Fix the race by preventing m2m framework job scheduling entirely:

  • Add job_ready callback returning 0 (no jobs ready for m2m framework)
  • Remove job_abort callback to avoid the race condition

Executive ViewAI

Why It Matters

A use-after-free vulnerability in the Linux kernel's amphion VPU media driver (CVE-2026-46058) can cause kernel panics and memory corruption in systems performing video encoding or decoding workloads. The risk is primarily relevant to organizations operating multi-tenant environments or hardened kernel deployments where local privileged users exist, as exploitation requires local access with elevated privileges.

Business Impact: High
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

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

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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