# CVE-2026-64421: media: nxp: imx8-isi: Fix use-after-free on remove

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-07-25T08:50:59.926Z
- **Modified:** 2026-09-04T15:16:38.903Z

## Who should check

- Anyone running Linux \>= cf21f328fcafacf4f96e7a30ef9dceede1076378, \< d22fb719654bfde6f682c9f14629f5f9534175b7; \>= cf21f328fcafacf4f96e7a30ef9dceede1076378, \< ba2aa5d325270cd965c44458c5ff5ab555e6af51; \>= cf21f328fcafacf4f96e7a30ef9dceede1076378, \< ef382a6baf0a95cf199fdf6bba2fd08e58b0a249; \>= cf21f328fcafacf4f96e7a30ef9dceede1076378, \< c12a5b2261351cd3b03921ce4720332ff5184b50; \>= cf21f328fcafacf4f96e7a30ef9dceede1076378, \< b670bf89824ede5d07d20bb9bfbafb754846081d
- Anyone running Linux 6.4

## 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.

## Affected and fixed versions

- Linux: \>= cf21f328fcafacf4f96e7a30ef9dceede1076378, \< d22fb719654bfde6f682c9f14629f5f9534175b7; \>= cf21f328fcafacf4f96e7a30ef9dceede1076378, \< ba2aa5d325270cd965c44458c5ff5ab555e6af51; \>= cf21f328fcafacf4f96e7a30ef9dceede1076378, \< ef382a6baf0a95cf199fdf6bba2fd08e58b0a249; \>= cf21f328fcafacf4f96e7a30ef9dceede1076378, \< c12a5b2261351cd3b03921ce4720332ff5184b50; \>= cf21f328fcafacf4f96e7a30ef9dceede1076378, \< b670bf89824ede5d07d20bb9bfbafb754846081d (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64421. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64421.md
Affected: Linux >= cf21f328fcafacf4f96e7a30ef9dceede1076378, < d22fb719654bfde6f682c9f14629f5f9534175b7; >= cf21f328fcafacf4f96e7a30ef9dceede1076378, < ba2aa5d325270cd965c44458c5ff5ab555e6af51; >= cf21f328fcafacf4f96e7a30ef9dceede1076378, < ef382a6baf0a95cf199fdf6bba2fd08e58b0a249; >= cf21f328fcafacf4f96e7a3…
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64421 being exploited?

There is no confirmed exploitation: CVE-2026-64421 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64421?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64421?

Linux \>= cf21f328fcafacf4f96e7a30ef9dceede1076378, \< d22fb719654bfde6f682c9f14629f5f9534175b7; \>= cf21f328fcafacf4f96e7a30ef9dceede1076378, \< ba2aa5d325270cd965c44458c5ff5ab555e6af51; \>= cf21f328fcafacf4f96e7a30ef9dceede1076378, \< ef382a6baf0a95cf199fdf6bba2fd08e58b0a249; \>= cf21f328fcafacf4f96e7a30ef9dceede1076378, \< c12a5b2261351cd3b03921ce4720332ff5184b50; \>= cf21f328fcafacf4f96e7a30ef9dceede1076378, \< b670bf89824ede5d07d20bb9bfbafb754846081d; Linux 6.4.

### Is there a fix for CVE-2026-64421?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-64421?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/d22fb719654bfde6f682c9f14629f5f9534175b7>
- patch: <https://git.kernel.org/stable/c/ba2aa5d325270cd965c44458c5ff5ab555e6af51>
- patch: <https://git.kernel.org/stable/c/ef382a6baf0a95cf199fdf6bba2fd08e58b0a249>
- patch: <https://git.kernel.org/stable/c/c12a5b2261351cd3b03921ce4720332ff5184b50>
- patch: <https://git.kernel.org/stable/c/b670bf89824ede5d07d20bb9bfbafb754846081d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64421>

HTML: <https://flawdb.com/CVE-2026-64421> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64421>
