Skip to main content

Linux Kernel CVE-2025-40165

HIGH
2025-11-12 416baaa9-dc9f-4396-8d5f-8c081fb06d67
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
    Obtain local access to i.MX8/i.MX95 device
  2. Delivery
    Open imx8-isi V4L2 m2m node and start streaming
  3. Exploit
    Exit abnormally (Ctrl+C) leaving streamon/streamoff imbalanced
  4. Execution
    usage_count stays non-zero, ISI channel leaked
  5. Impact
    Repeat to exhaust channels, denying media pipeline

Vulnerability Assessment

Exploitation Conditions

Requires local access to the ISI V4L2 memory-to-memory device node on an NXP i.MX8 or i.MX95 platform running a kernel built with the imx8-isi driver, and the ability to open that device and start streaming (PR:L per the CVSS vector). The channel-leak path is triggered by an imbalanced streamon-without-streamoff sequence, i.e. an application that begins streaming and exits abnormally (e.g. killed with Ctrl+C). The additional WARN_ON() at imx8-isi-hw.c:631 requires an input line width greater than 2K. Limiting factors: exploitation is not remote and not network-reachable, it needs device-node access rather than being usable by any arbitrary process without permissions, and it is confined to the specific NXP i.MX hardware/driver combination - it does not affect generic x86 or non-i.MX Linux deployments.

Impact

The supplied CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.8) appears to be the generic high-severity template NVD frequently applies to Linux kernel driver bugs and does not match the described behavior: the fix addresses a resource leak (ISI channel never freed on imbalanced streamon/streamoff) and a WARN_ON(), neither of which plausibly yields high confidentiality or integrity impact - the realistic impact is local availability (resource exhaustion of ISI channels until reboot) plus log noise from the warning. Corroborating signals reinforce low real-world risk: EPSS is 0.03% (10th percentile), it is absent from CISA KEV, and no public exploit exists. Exploitation is strictly local (AV:L) and requires access to the V4L2 device on the narrow set of NXP i.MX8/i.MX95 platforms running this driver. The 'Information Disclosure' tag in the input is not supported by the description and should be treated as unverified. Net assessment: low priority - a hardware-specific, local, availability-only reliability bug that is over-scored by the raw CVSS.

Exploit ScenarioDerived

A local user on an NXP i.MX8/i.MX95 device opens the imx8-isi V4L2 m2m device, starts streaming, and terminates the process with Ctrl+C without issuing streamoff; the usage_count never returns to zero, so the ISI channel is never released. Repeating this exhausts available ISI channels, denying the media pipeline to legitimate users until the system is rebooted; on i.MX95, streaming with input width >2K also spams the kernel log with a WARN_ON(). No public exploit is required - the condition is reachable with the standard v4l2-ctl utility shown in the kernel trace.

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

AnalysisAIv3 – Jul 30, 2026

Local resource-leak and kernel-warning condition in the Linux kernel's NXP i.MX8-ISI mem2mem (m2m) media driver (imx8-isi) lets a local user with access to the V4L2 video device leave an ISI channel permanently allocated by terminating a streaming application uncleanly (e.g. Ctrl+C), because imbalanced streamon/streamoff calls prevent the m2m usage_count from reaching zero. On i.MX95-class hardware, streaming with an input line width greater than 2K additionally trips a WARN_ON() in mxc_isi_channel_chain(). This carries a low EPSS (0.03%, 10th percentile), is not on CISA KEV, and has no public exploit identified at time of analysis; a vendor fix is available.

Earlier versions of this analysis (2)
v2 Jul 30, 2026 - 08:53 cvss changed CVSS 7.8

Improper streaming state cleanup in the Linux kernel's NXP i.MX8 ISI memory-to-memory (m2m) media driver (imx8-isi) lets a local user leak an ISI channel resource and trigger a kernel WARN_ON. When streamon/streamoff calls are imbalanced - e.g. an application streaming via V4L2 is killed with Ctrl+C - the m2m usage_count never returns to zero, so the ISI channel is never freed; additionally, an input line width above 2K trips a WARNING in mxc_isi_channel_chain(). There is no public exploit identified at time of analysis and EPSS is negligible (0.03%), consistent with a hardware-specific local reliability/DoS bug rather than a widely-exploited flaw.

v1 Mar 28, 2026 - 19:21

In the Linux kernel, the following vulnerability has been resolved: media: nxp: imx8-isi: m2m: Fix streaming cleanup on release If streamon/streamoff calls are imbalanced, such as when exiting an.

RemediationAI

Apply your distribution's patched kernel: on Ubuntu, update to the fixed kernel packages listed in USN-8125-1 (https://ubuntu.com/security/notices/USN-8125-1) and USN-8126-1 (https://ubuntu.com/security/notices/USN-8126-1) and reboot. For kernels built from source or vendor BSPs, backport the upstream stable commits 178aa3360220, 50c721be2cff, b0d438c7b433 and e8b5f4d80775 from git.kernel.org, which relocate streaming setup/teardown to the vb2 prepare_streaming/unprepare_streaming hooks. As a compensating control where patching is deferred, restrict access to the ISI V4L2 device nodes (e.g. tighten permissions/ownership on the relevant /dev/videoN so only trusted service accounts can open them), which prevents untrusted local users from triggering the leak but will break any legitimate unprivileged media applications that rely on those nodes; avoid input line widths above 2K to sidestep the WARN_ON() at the cost of restricting supported capture geometries. Because impact is local and availability-oriented, monitoring for exhausted ISI channels (streaming failures until reboot) is a reasonable interim detection.

Affected ProductsAI

The Linux kernel's NXP imx8-isi media m2m driver is affected on NXP i.MX8 and i.MX95 SoC platforms (the trace was captured on an NXP i.MX95 15X15 board). Exact vulnerable-to-fixed kernel version ranges were not provided in the input; the fix is present in mainline/stable via kernel.org commits 178aa3360220, 50c721be2cff, b0d438c7b433 and e8b5f4d80775 (https://git.kernel.org/stable/c/178aa3360220231dd91e7dbc2eb984525886c9c1 and the three companion commits). Distribution-fixed builds are shipped by Ubuntu per USN-8125-1 (https://ubuntu.com/security/notices/USN-8125-1) and USN-8126-1 (https://ubuntu.com/security/notices/USN-8126-1). Only kernels built with the imx8-isi driver and deployed on the corresponding NXP i.MX hardware are exposed.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the imx8-isi driver (drivers/media/platform/nxp/imx8-isi/) in the Linux kernel, which drives the Image Sensing Interface (ISI) hardware on NXP i.MX8 and i.MX95 SoCs and exposes a V4L2 memory-to-memory (m2m) device. The V4L2 m2m framework tracks concurrent streaming contexts via a usage_count that gates allocation and release of the underlying ISI channel. The root-cause class is improper resource lifecycle management: streaming preparation/cleanup was tied to streamon/streamoff, so an imbalanced sequence (streamon without a matching streamoff, as happens when an app is killed mid-stream) leaves usage_count non-zero and the ISI channel un-freed. The fix moves setup and teardown into the vb2 .prepare_streaming()/.unprepare_streaming() operations and adopts the standard v4l2_m2m_ioctl_streamon()/streamoff() helpers, guaranteeing balanced lifecycle handling. The separate WARN_ON() at imx8-isi-hw.c:631 fires in the channel-chaining path when input line width exceeds 2K. No CWE was assigned in the input; behaviorally this maps to a resource/reference-count leak (CWE-772/CWE-911 family).

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
vuln.today AI 3.3 LOW

Local device-node access needed (AV:L, PR:L); triggered by simple abnormal exit (AC:L); impact is an ISI-channel resource leak plus a WARN_ON(), so availability-only (A:L) with no confidentiality or integrity effect.

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

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

5
Analysis Updated
Jul 30, 2026 - 08:53 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 30, 2026 - 08:53 vuln.today
v2 - CVSS changed
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
Patch released
Mar 28, 2026 - 19:31 nvd
Patch available
CVE Published
Nov 12, 2025 - 11:15 nvd
N/A

DescriptionCVE.org

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

media: nxp: imx8-isi: m2m: Fix streaming cleanup on release

If streamon/streamoff calls are imbalanced, such as when exiting an application with Ctrl+C when streaming, the m2m usage_count will never reach zero and the ISI channel won't be freed. Besides from that, if the input line width is more than 2K, it will trigger a WARN_ON():

[ 59.222120] ------------[ cut here ]------------ [ 59.226758] WARNING: drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c:631 at mxc_isi_channel_chain+0xa4/0x120, CPU#4: v4l2-ctl/654 [ 59.238569] Modules linked in: ap1302 [ 59.242231] CPU: 4 UID: 0 PID: 654 Comm: v4l2-ctl Not tainted 6.16.0-rc4-next-20250704-06511-gff0e002d480a-dirty #258 PREEMPT [ 59.253597] Hardware name: NXP i.MX95 15X15 board (DT) [ 59.258720] pstate: 80400009 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 59.265669] pc : mxc_isi_channel_chain+0xa4/0x120 [ 59.270358] lr : mxc_isi_channel_chain+0x44/0x120 [ 59.275047] sp : ffff8000848c3b40 [ 59.278348] x29: ffff8000848c3b40 x28: ffff0000859b4c98 x27: ffff800081939f00 [ 59.285472] x26: 000000000000000a x25: ffff0000859b4cb8 x24: 0000000000000001 [ 59.292597] x23: ffff0000816f4760 x22: ffff0000816f4258 x21: ffff000084ceb780 [ 59.299720] x20: ffff000084342ff8 x19: ffff000084340000 x18: 0000000000000000 [ 59.306845] x17: 0000000000000000 x16: 0000000000000000 x15: 0000ffffdb369e1c [ 59.313969] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 [ 59.321093] x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000 [ 59.328217] x8 : ffff8000848c3d48 x7 : ffff800081930b30 x6 : ffff800081930b30 [ 59.335340] x5 : ffff0000859b6000 x4 : ffff80008193ae80 x3 : ffff800081022420 [ 59.342464] x2 : ffff0000852f6900 x1 : 0000000000000001 x0 : ffff000084341000 [ 59.349590] Call trace: [ 59.352025] mxc_isi_channel_chain+0xa4/0x120 (P) [ 59.356722] mxc_isi_m2m_streamon+0x160/0x20c [ 59.361072] v4l_streamon+0x24/0x30 [ 59.364556] __video_do_ioctl+0x40c/0x4a0 [ 59.368560] video_usercopy+0x2bc/0x690 [ 59.372382] video_ioctl2+0x18/0x24 [ 59.375857] v4l2_ioctl+0x40/0x60 [ 59.379168] __arm64_sys_ioctl+0xac/0x104 [ 59.383172] invoke_syscall+0x48/0x104 [ 59.386916] el0_svc_common.constprop.0+0xc0/0xe0 [ 59.391613] do_el0_svc+0x1c/0x28 [ 59.394915] el0_svc+0x34/0xf4 [ 59.397966] el0t_64_sync_handler+0xa0/0xe4 [ 59.402143] el0t_64_sync+0x198/0x19c [ 59.405801] ---[ end trace 0000000000000000 ]---

Address this issue by moving the streaming preparation and cleanup to the vb2 .prepare_streaming() and .unprepare_streaming() operations. This also simplifies the driver by allowing direct usage of the v4l2_m2m_ioctl_streamon() and v4l2_m2m_ioctl_streamoff() helpers.

Executive ViewAI

Why It Matters

The Linux NXP i.MX8-ISI media driver contains a resource-leak vulnerability (CVSS 7.8) that allows local users to permanently exhaust ISI channel resources through unclean application termination, potentially degrading system availability on i.MX8 and i.MX95-based embedded devices. Organizations deploying NXP i.MX processor-based systems must assess exposure and prioritize patching to prevent cascading resource exhaustion incidents.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Prevalence
Low
driver-specific to NXP i.MX8/i.MX95 embedded SoCs, not generic Linux hosts
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.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

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/baremetal-os-container:latest Container suse/sl-micro/6.1/baremetal-os-container:latest Affected
Container suse/sl-micro/6.0/base-os-container:latest Container suse/sl-micro/6.0/kvm-os-container:latest Container suse/sl-micro/6.0/rt-os-container:latest Container suse/sl-micro/6.1/base-os-container:latest Container suse/sl-micro/6.1/kvm-os-container:latest Container suse/sl-micro/6.1/rt-os-container:latest Affected
Image SL-Micro-Azure Image SL-Micro-BYOS-Azure Image SL-Micro-BYOS-EC2 Image SL-Micro-BYOS-GCE Image SL-Micro-EC2 Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Image SUSE-Multi-Linux-Manager-Proxy-BYOS-Azure Image SUSE-Multi-Linux-Manager-Proxy-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-Azure-llc Image SUSE-Multi-Linux-Manager-Server-Azure-ltd Image SUSE-Multi-Linux-Manager-Server-BYOS-Azure Image SUSE-Multi-Linux-Manager-Server-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Server-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-EC2-llc Image SUSE-Multi-Linux-Manager-Server-EC2-ltd Affected
Image SLES-Azure-3P Image SLES-Azure-Basic Image SLES-Azure-Standard Image SLES-BYOS-Azure Image SLES-BYOS-EC2 Image SLES-BYOS-GCE Image SLES-CHOST-BYOS-Aliyun Image SLES-CHOST-BYOS-Azure Image SLES-CHOST-BYOS-EC2 Image SLES-CHOST-BYOS-GCE Image SLES-CHOST-BYOS-GDC Image SLES-CHOST-BYOS-SAP-CCloud Image SLES-EC2 Image SLES-EC2-ECS Image SLES-GCE Image SLES-GCE-3P Image SLES-Hardened-BYOS-Azure Image SLES-Hardened-BYOS-EC2 Image SLES-Hardened-BYOS-GCE Image SLES-SAPCAL-Azure Image SLES-SAPCAL-EC2 Image SLES-SAPCAL-GCE Affected
Image SLES-SAP-Azure Image SLES-SAP-Azure-3P Image SLES-SAP-BYOS-Azure Image SLES-SAP-BYOS-EC2 Image SLES-SAP-BYOS-GCE Image SLES-SAP-EC2 Image SLES-SAP-GCE Image SLES-SAP-GCE-3P Affected

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