Skip to main content

Linux Kernel EUVDEUVD-2026-48965

| CVE-2026-64421 HIGH
Use After Free (CWE-416)
2026-07-25 Linux GHSA-jj8q-g7xc-jx6p
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain root/CAP_SYS_MODULE on i.MX8 device
  2. Delivery
    Load imx8_isi module with ISI hardware active
  3. Exploit
    Trigger module removal via rmmod
  4. Execution
    Crossbar cleanup frees media entity pads
  5. Persist
    V4L2 cleanup dereferences freed pad memory
  6. Impact
    Exploit UAF for kernel code execution

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

Exploitation requires: (1) a physical or virtual system running the NXP i.MX8 SoC with ISI hardware - this driver does not load on unrelated platforms; (2) the imx8_isi kernel module must be loaded; (3) the module must be unloaded (rmmod or equivalent), which on standard Linux distributions requires CAP_SYS_MODULE or root privileges. Limiting factors include the narrow hardware requirement (i.MX8 SoC only), the high privilege level needed to trigger module unload, and the requirement to control heap layout for reliable exploitation beyond a crash. The vulnerability does not affect systems without NXP i.MX8 ISI hardware or where the module is not loaded.

Impact

The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/C:H/I:H/A:H) scores 7.8, reflecting a local kernel memory corruption primitive. However, several factors moderate the real-world risk. First, triggering rmmod of imx8_isi requires CAP_SYS_MODULE or equivalent root-level privileges on most Linux configurations, making PR:L a generous assessment - the provided CVSS likely reflects that an attacker with low privileges might race or influence the module lifecycle indirectly. Second, the hardware scope is narrow: exploitation requires a device running the NXP i.MX8 SoC with the ISI driver loaded, limiting exposure to embedded, automotive, or industrial imaging platforms rather than general-purpose servers. Third, EPSS at 0.21% (11th percentile) and no KEV listing confirm no observed exploitation campaigns. The vulnerability is a real kernel bug confirmed by KASAN, but its exploitation for privilege escalation would require substantial additional effort given the high-privilege trigger path. The 'Information Disclosure' tag in the input is a secondary concern - UAF can expose freed heap contents - but the primary risk is memory corruption/arbitrary code execution in kernel context.

Exploit ScenarioDerived

A local attacker or privileged system process on an NXP i.MX8-based device with the imx8_isi driver loaded unloads the module (e.g., via rmmod imx8_isi or a system service restart), triggering the incorrect teardown sequence that frees media entity pads while V4L2 media links still reference them. The subsequent read of the freed pad memory by __media_entity_remove_link() constitutes a kernel UAF, which a sophisticated attacker could attempt to exploit for kernel code execution by spray-controlling heap layout to place attacker-controlled data in the freed region before the dangling pointer is dereferenced. No public proof-of-concept exploit is known.

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 – Sep 04, 2026

Use-after-free memory corruption in the Linux kernel's NXP i.MX8 ISI (Image Sensing Interface) media driver is triggered during module removal (rmmod of imx8_isi), confirmed by KASAN slab-use-after-free reports. The root cause is an incorrect teardown order in mxc_isi_remove(): the crossbar cleanup frees media entity pads before the V4L2 cleanup has finished removing media links that reference those same pads, resulting in a dangling pointer dereference in __media_entity_remove_link(). No public exploit has been identified at time of analysis, and with EPSS at 0.21% (11th percentile), real-world weaponization appears unlikely despite the CVSS 7.8 score.

RemediationAI

The fix reverses the teardown order in mxc_isi_remove() so that mxc_isi_v4l2_cleanup() is called before mxc_isi_crossbar_cleanup(), ensuring all media link references are removed while pads remain valid. Update to a patched kernel version: 6.6.145 or later for the 6.6 LTS branch, 6.12.97 or later for the 6.12 LTS branch, 6.18.40 or later for the 6.18 branch, or 7.1.4 / 7.2-rc1 and later for mainline. Patch commits are indexed at git.kernel.org/stable (see references). As a compensating control on systems where a kernel update is not immediately feasible, administrators can blacklist or prevent automatic loading of the imx8_isi module (e.g., via /etc/modprobe.d/blacklist.conf) if the ISI camera pipeline is not required; this eliminates the vulnerable code path entirely but disables NXP i.MX8 ISI camera functionality. No vendor advisory URL beyond the NVD entry and upstream kernel stable commits has been identified.

Affected VersionsENISA

Linux cf21f328fcafacf4f96e7a30ef9dceede1076378 <c12a5b2261351cd3b03921ce4720332ff5184b50
Linux patch: 6.6.145
Linux patch: 7.1.4
Linux cf21f328fcafacf4f96e7a30ef9dceede1076378 <b670bf89824ede5d07d20bb9bfbafb754846081d
Linux patch: 6.12.97
Linux cf21f328fcafacf4f96e7a30ef9dceede1076378 <ba2aa5d325270cd965c44458c5ff5ab555e6af51
Linux patch: 0
Linux cf21f328fcafacf4f96e7a30ef9dceede1076378 <ef382a6baf0a95cf199fdf6bba2fd08e58b0a249
Linux patch: 6.18.40
Linux 6.4
Linux cf21f328fcafacf4f96e7a30ef9dceede1076378 <d22fb719654bfde6f682c9f14629f5f9534175b7
Linux patch: 7.2-rc1

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 NXP i.MX8 Image Sensing Interface (ISI) driver within the Linux kernel's media subsystem (drivers/media/platform/nxp/imx8-isi/). The ISI driver implements a V4L2 crossbar entity with dynamically allocated pad structures. During module unload, mxc_isi_remove() incorrectly calls mxc_isi_crossbar_cleanup() first - freeing the pad array via kfree() - before calling mxc_isi_v4l2_cleanup(), which attempts to traverse and remove media links that still hold pointers to those now-freed pads. This triggers a classic CWE-416 (Use After Free) when __media_entity_remove_link() reads from the freed memory region. The CPE data identifies this as the Linux kernel generically; in practice the vulnerable code path only activates on hardware platforms featuring the NXP i.MX8 SoC and its ISI peripheral.

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

Triggering rmmod requires CAP_SYS_MODULE (PR:H); reliable UAF exploitation requires heap spray timing, raising complexity to AC:H.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

3
CVSS changed
Sep 04, 2026 - 15:22 NVD
7.8 (HIGH)
CVE Published
Jul 25, 2026 - 08:50 nvd
HIGH 7.8
CVE Published
Jul 25, 2026 - 08:50 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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

media: nxp: imx8-isi: Fix use-after-free on remove

KASAN reports a slab-use-after-free in __media_entity_remove_link() during rmmod of imx8_isi:

BUG: KASAN: slab-use-after-free in __media_entity_remove_link+0x608/0x650 Read of size 2 at addr ffff0000d47cb02a by task rmmod/724

Call trace: __media_entity_remove_link+0x608/0x650 __media_entity_remove_links+0x78/0x144 __media_device_unregister_entity+0x150/0x280 media_device_unregister_entity+0x48/0x68 v4l2_device_unregister_subdev+0x158/0x300 v4l2_async_unbind_subdev_one+0x22c/0x358 v4l2_async_nf_unbind_all_subdevs+0xfc/0x1c0 v4l2_async_nf_unregister+0x5c/0x14c mxc_isi_remove+0x124/0x2a0 [imx8_isi]

Allocated by task 249: __kmalloc_noprof+0x27c/0x690 mxc_isi_crossbar_init+0x22c/0x560 [imx8_isi]

Freed by task 724: kfree+0x1e4/0x5b0 mxc_isi_crossbar_cleanup+0x34/0x80 [imx8_isi] mxc_isi_remove+0x11c/0x2a0 [imx8_isi]

The problem is that mxc_isi_remove() calls mxc_isi_crossbar_cleanup() before mxc_isi_v4l2_cleanup(). The crossbar cleanup frees the media entity pads, but the subsequent v4l2 cleanup still tries to remove media links that reference those pads.

Fix this by calling mxc_isi_v4l2_cleanup() before mxc_isi_crossbar_cleanup() to ensure all media entities are properly unregistered while the pads are still valid.

Executive ViewAI

Why It Matters

The Linux kernel's NXP i.MX8 Image Sensing Interface (ISI) driver contains a use-after-free vulnerability in module management operations that could affect embedded systems and IoT deployments based on the i.MX8 platform. Although no public exploit identified at time of analysis and exploitation likelihood is low (EPSS 0.2%), the vulnerability could enable local attackers with administrative privileges to destabilize systems or escalate access. Remediation is constrained by the absence of a vendor patch, requiring temporary operational controls.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict administrative access to module removal operations (rmmod), enable kernel module signing verification, disable dynamic driver unloading where operationally feasible, implement controlled driver restart procedures that avoid emergency module removal, monitor system logs for KASAN memory-safety warnings, and maintain updated inventory of affected systems.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
hardware-specific driver for NXP i.MX8 SoC embedded platforms
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

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: 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