PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-46058 Linux CVE debrief

A use-after-free vulnerability in the Linux kernel's Amphion VPU driver could allow local attackers to trigger kernel panics. The race condition occurs between v4l2_m2m_ctx_release() freeing memory and v4l2_m2m_try_run() attempting to use that freed context. The fix prevents the m2m framework from scheduling jobs by implementing a job_ready callback that returns 0 and removing the job_abort callback entirely.

Vendor
Linux
Product
Unknown
CVSS
HIGH 7.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-27
Original CVE updated
2026-06-16
Advisory published
2026-05-27
Advisory updated
2026-06-16

Who should care

Linux system administrators running kernels with Amphion VPU support; embedded/IoT device manufacturers using NXP i.MX platforms with Amphion VPU hardware; security teams monitoring kernel media subsystem vulnerabilities

Technical summary

The Amphion VPU driver in the Linux kernel contains a race condition in the V4L2 memory-to-memory (m2m) framework integration. When v4l2_m2m_ctx_release() is called, it invokes job_abort() which calls v4l2_m2m_job_finish(), then frees the m2m_ctx structure. However, v4l2_m2m_try_run() may still attempt to call device_run() with the now-freed context, resulting in a use-after-free at offset 0x538 and kernel panic. The vulnerability is triggered by the driver's non-standard use of the m2m framework—it does not actually use device_run for encode/decode operations. The fix eliminates the race by: (1) adding a job_ready callback that always returns 0, preventing the m2m framework from scheduling jobs, and (2) removing the job_abort callback to prevent the problematic synchronization path.

Defensive priority

medium

Recommended defensive actions

  • Apply kernel patches from stable branches when available
  • Monitor distribution security advisories for updated kernel packages
  • Restrict untrusted local access to VPU devices until patched

Evidence notes

CVE published 2026-05-27. Kernel panic crash trace documented in commit messages. Multiple stable kernel branches patched.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-46058 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-46058

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-46058 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-46058

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/42dc622776f3ce1a6c31b13bdc686f7295e3b323

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/6be2cb75bc1300080cfc8051579f22efae9401f7

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/8cd35ceadcfc8c5da2eb7f7ce24525ce9d4ee62e

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/da4f46c5cf1d26e6b09418ad453e152f2e75a02c

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/fdc150dac1adb9a98be9d6956cff0348838b024a

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.