CVE-2026-64421
High · 7.8CVSS
7.8
EPSS
0.1%
Published
Jul 25, 2026
CISA due date
—
Cloudanix analysis
Some Linux-based devices using NXP camera hardware can crash when a specific media driver is removed, so affected systems should receive a kernel update.
- Exploitation
- Local Privilege
- Attacker needs
- High Privilege
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Use After Free
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
This vulnerability is a use-after-free in the Linux kernel NXP i.MX8 ISI media driver. During driver removal, the cleanup sequence frees media entity pad structures in the ISI crossbar cleanup routine before the V4L2/media framework has finished unregistering entities and removing media links that still reference those pads. If the vulnerable removal path is exercised, the kernel may dereference freed slab memory in functions such as __media_entity_remove_link(), resulting in a kernel warning, KASAN finding, crash, or potentially undefined kernel memory behavior. Based on the available description, exploitation appears to require local ability to unload, unbind, or otherwise remove the imx8_isi driver/device path, and there is no public evidence of weaponized exploitation.
Why it matters to the business
Systems using affected Linux kernels on NXP i.MX8 platforms with the imx8_isi media driver may experience instability or denial of service when the driver is removed or the device is unbound. The most likely operational impact is a kernel crash or service disruption on embedded, industrial, camera, or edge devices that rely on this media pipeline. The low EPSS score and absence from the CISA KEV catalog indicate no known broad exploitation at this time, but organizations running long-lived embedded Linux deployments should still prioritize kernel maintenance because kernel memory-safety flaws can have outsized reliability and security consequences.
How an attack unfolds
An attacker or local user with sufficient privileges to manipulate kernel modules or device binding targets a system running an affected Linux kernel with the NXP i.MX8 ISI driver present. They trigger the driver's remove path, for example by unloading the imx8_isi module or unbinding the associated platform device. The vulnerable remove function calls the crossbar cleanup first, which frees media entity pads. The subsequent V4L2 cleanup then attempts to unregister media entities and remove links that still reference the freed pads. This causes a use-after-free in the kernel media subsystem, commonly visible as a KASAN slab-use-after-free report or kernel oops. In practical terms, the most credible attacker outcome is local denial of service through kernel crash or instability; reliable privilege escalation is not established from the available information.
How to fix it
Upgrade to a Linux kernel build that includes the upstream fix for the imx8-isi cleanup ordering issue. The fix changes the remove sequence so mxc_isi_v4l2_cleanup() runs before mxc_isi_crossbar_cleanup(), ensuring media entities are unregistered before the pad structures are freed. If vendor fixed package versions are not yet available, obtain patched kernels from the Linux stable tree, the device vendor, board support package provider, or distribution maintainer once released. As interim mitigation, avoid unloading or rebinding the imx8_isi driver on affected production systems, restrict root and administrative access, disable unnecessary module loading/unloading workflows, and avoid exposing device-management interfaces that can trigger driver removal to untrusted users. If the driver is not needed, consider disabling it in the kernel configuration or preventing it from loading, after validating that camera/media functionality is not required.
How to confirm the fix worked
Confirm the running kernel includes the patch that reorders cleanup in the imx8_isi driver so V4L2 cleanup occurs before crossbar cleanup in mxc_isi_remove(). Validate through vendor advisory mapping, kernel changelog review, source inspection, or package metadata. On test systems only, reproduce the previous failure mode by loading and unloading or binding and unbinding the imx8_isi driver while monitoring dmesg; a fixed kernel should not produce KASAN slab-use-after-free reports in __media_entity_remove_link(), mxc_isi_crossbar_cleanup(), or mxc_isi_remove(). Confirm whether the module is present with lsmod, modinfo, kernel configuration, or /sys/module checks, and confirm whether the hardware/driver path is actually in use on deployed devices.
Typical attack path
- Identify a Linux system running on NXP i.MX8 hardware or otherwise loading the imx8_isi media driver.
- Obtain local privileges sufficient to remove a kernel module or unbind the affected platform device.
- Trigger the driver removal path using module removal, device unbind, or a management workflow that unloads the media driver.
- Cause mxc_isi_remove() to execute the vulnerable cleanup order.
- Kernel media cleanup dereferences freed media entity pad memory during link removal.
- System records a KASAN use-after-free, kernel oops, panic, or instability, potentially causing denial of service.
How to detect it
Look for evidence that the vulnerable driver removal path was exercised and caused kernel memory errors or crashes. Primary log sources are kernel logs, dmesg output, journald kernel facility logs, /var/log/kern.log, /var/log/messages, crash dumps, pstore/ramoops, kdump/vmcore data, and endpoint telemetry that records module unloads or sysfs device unbind events. Search for KASAN slab-use-after-free reports and stack traces referencing __media_entity_remove_link(), mxc_isi_remove(), mxc_isi_crossbar_cleanup(), mxc_isi_v4l2_cleanup(), v4l2_device_unregister_subdev(), or the imx8_isi module. Also correlate these events with administrative commands such as rmmod imx8_isi, modprobe -r imx8_isi, or writes to /sys/bus/platform/drivers/*/unbind. There are no known network indicators for this vulnerability, and absence of KASAN does not guarantee absence of exposure because many production kernels do not enable KASAN. For suspected exploitation, review privilege escalation attempts, recent root/admin sessions, device management automation, module unload audit events, and crash timing around media-device maintenance.
- BUG: KASAN: slab-use-after-free in __media_entity_remove_link
- slab-use-after-free in __media_entity_remove_link
- __media_entity_remove_link+
- __media_entity_remove_links+
- __media_device_unregister_entity+
- media_device_unregister_entity+
- v4l2_device_unregister_subdev+
- v4l2_async_unbind_subdev_one+
- v4l2_async_nf_unbind_all_subdevs+
- v4l2_async_nf_unregister+
- mxc_isi_remove+
- mxc_isi_crossbar_cleanup+
- mxc_isi_crossbar_init+
- mxc_isi_v4l2_cleanup
- [imx8_isi]
- rmmod imx8_isi
- modprobe -r imx8_isi
- /sys/bus/platform/drivers
- /unbind
- KASAN: slab-use-after-free
- kernel BUG
- kernel panic
- Oops:
- imx8_isi
What your security team should do
- Inventory Linux systems and embedded devices using NXP i.MX8 SoCs or the imx8_isi media driver.
- Prioritize patching systems where the imx8_isi driver is loaded and where local users, container workloads, automation, or management agents can trigger module unload or device unbind operations.
- Track kernel, distribution, and board-support-package advisories for the fixed build because no exact fixed package versions were provided in the input.
- Restrict module unload, module load, and sysfs device unbind capabilities to trusted administrators only.
- Monitor kernel logs for KASAN, oops, panic, or media subsystem traces referencing imx8_isi, mxc_isi_remove, or __media_entity_remove_link.
- For production embedded devices, avoid operational procedures that unload or rebind the ISI media driver until patched.
- If the ISI media driver is not required, disable or blacklist it after functional testing.
- Because this is not currently listed in KEV and has low EPSS, treat it as a targeted reliability and local kernel-hardening issue rather than an internet-scale emergency, unless the affected driver is broadly deployed in critical device fleets.
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-109618 PHP uses longjmp() for out-of-memory (OOM) errors to exit the current context and abort… CWE-416
- CVE-2026-109619 PHP has various global state that temporarily points into request memory. CWE-416
- CVE-2026-112402 Pillow is a Python imaging library. CWE-416
- CVE-2026-112396 Pillow is a Python imaging library. CWE-416
- CVE-2025-55654 A use-after-free in the gf_filter_pid_get_packet function (filter_core/filter_pid.c) of… CWE-416
- CVE-2026-17591 A flaw was found in libarchive. CWE-416
- CVE-2026-92392 During an upload, curl mishandles HTTP/2 `RST_STREAM` received from the server (with… CWE-416
- CVE-2026-109268 ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a use after free… CWE-416