Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 96%

In the Linux kernel, the following vulnerability has been resolved: media: nxp: imx8-isi: m2m: Fix streaming cleanup on release If… (CVE-2025-40165)

0
High
Published: 11/12/2025 (11/12/2025, 12:30:28 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's NXP i.MX8 ISI media driver was fixed to address improper streaming cleanup. Imbalanced streamon/streamoff calls could cause the m2m usage_count to never reach zero, preventing the ISI channel from being freed. Additionally, input line widths over 2K could trigger kernel warnings. The fix moves streaming preparation and cleanup to dedicated vb2 operations, simplifying the driver and preventing these issues.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 16:54:04 UTC

Technical Analysis

The Linux kernel vulnerability CVE-2025-40165 affects the media driver for NXP i.MX8 ISI. If streamon and streamoff calls are imbalanced, such as when an application exits abruptly, the m2m usage_count does not decrement properly, causing the ISI channel to remain allocated. Furthermore, input line widths exceeding 2K trigger kernel WARN_ON() messages, indicating improper handling. The issue is resolved by relocating streaming preparation and cleanup to the vb2 .prepare_streaming() and .unprepare_streaming() callbacks, enabling correct resource management and allowing the use of standard v4l2_m2m ioctl streamon/streamoff helpers.

Potential Impact

This vulnerability can cause resource leakage by preventing the release of ISI channels, potentially leading to denial of service or system instability. The kernel WARN_ON() triggered by large input widths may also cause kernel warnings or crashes. The impact includes confidentiality, integrity, and availability as indicated by the CVSS vector, but no known exploits are reported in the wild.

Mitigation Recommendations

A fix is available in the Linux kernel that addresses this issue by properly handling streaming preparation and cleanup in the vb2 framework. Users should update to a kernel version that includes this fix. Since this is a kernel-level vulnerability, applying the official patch or upgrading the kernel is the recommended remediation. Patch status is not explicitly stated in the provided data; check the Linux kernel vendor advisory for the exact fixed version and update accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-668r-67mm-xg82
Osv Schema Version
1.4.0
Aliases
["CVE-2025-40165"]
Ecosystems
[]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a6b72d69c2644c7f847a581

Added to database: 07/30/2026, 15:50:46 UTC

Last enriched: 07/30/2026, 16:54:04 UTC

Last updated: 08/04/2026, 07:17:54 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses