CVE-2026-64421
Received Received - Intake

BaseFortify

Vulnerability report for CVE-2026-64421, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-25

Last updated on: 2026-07-25

Assigner: kernel.org

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-25
Last Modified
2026-07-25
Generated
2026-07-25
AI Q&A
2026-07-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
nxp imx8-isi *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a use-after-free vulnerability in the Linux kernel's media subsystem, specifically in the NXP i.MX8 ISI driver. It occurs when the driver is unloaded (rmmod) and involves a freed memory access in the media entity link removal function. The issue stems from improper cleanup order where media entity pads are freed before media links referencing them are removed.

Detection Guidance

This vulnerability is specific to the Linux kernel's media subsystem, particularly the imx8-isi driver. Detection requires checking kernel logs for slab-use-after-free errors related to media entity removal. Monitor dmesg or syslog for messages like 'BUG: KASAN: slab-use-after-free' during module removal. Commands: dmesg | grep -i 'use-after-free' or journalctl -k | grep -i 'use-after-free'.

Impact Analysis

This vulnerability could cause system instability or crashes when unloading the imx8_isi kernel module. It may lead to kernel panics, memory corruption, or denial of service conditions on systems using NXP i.MX8 ISI devices. Attackers with local access could potentially exploit this to escalate privileges.

Mitigation Strategies

Apply the kernel patch that reorders cleanup calls in mxc_isi_remove() to call mxc_isi_v4l2_cleanup() before mxc_isi_crossbar_cleanup(). Update to a kernel version containing the fix. If immediate patching is not possible, avoid unloading the imx8_isi module until a fix is applied.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-64421. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart