CVE-2026-64421
kernel: media: nxp: imx8-isi: Fix use-after-free on remove
Overview
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.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- 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
Weakness: CWE-416
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 67 fixes
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | bpftool +10 | 6.12.103-1.ph5 |
SUSE Linux Enterprise 2 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.7 | kernel-livepatch-6-4-0-150700-7-75-rt | 1-150700.1.3.1 | SUSE-SU-2026:4120-1 |
| 15.7 | kernel-livepatch-6-4-0-150700-53-81-default | 1-150700.15.3.1 | SUSE-SU-2026:4254-1 |
| 15.7 | cluster-md-kmp-default +20 | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| 15.7 | kernel-default-base | 6.4.0-150700.53.81.1.150700.17.45.1 | SUSE-SU-2026:4254-1 |
| 16.0 | cluster-md-kmp-default +2 | 6.12.0-160000.38.1 | SUSE-SU-2026:23897-1 |
| 16.0 | kernel-64kb +23 | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
1 more row
SUSE Linux Enterprise Micro 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 6.0 | kernel-devel-rt +3 | 6.4.0-52.1 | SUSE-SU-2026:23477-1 |
| 6.0 | kernel-default +5 | 6.4.0-52.1 | SUSE-SU-2026:23481-1 |
| 6.0 | kernel-default-base | 6.4.0-52.1.21.36 | SUSE-SU-2026:23481-1 |
| 6.1 | kernel-devel-rt +4 | 6.4.0-52.1 | SUSE-SU-2026:23528-1 |
| 6.1 | kernel-default +6 | 6.4.0-52.1 | SUSE-SU-2026:23529-1 |
| 6.1 | kernel-default-base | 6.4.0-52.1.21.34 | SUSE-SU-2026:23529-1 |
2 more rows
debian 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 12 | linux-6-12 | 6.12.100-1~deb12u1 |
| 13 | linux | 6.12.100-1 |
| 14 | linux | 7.1.4-1 |
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| linux | 6.12.100-1 | |
| linux-6-12 | 6.12.100-1~deb12u1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | kernel-devel +3 | 7.1.7-1.1 | openSUSE-SU-2026:11476-1 |
openSUSE Leap 2 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | cluster-md-kmp-64kb +74 | 6.12.0-160000.38.1 | openSUSE-SU-2026:21910-1 |
| 16.0 | kernel-default-base | 6.12.0-160000.38.1.160000.2.22 | openSUSE-SU-2026:21910-1 |
| 16.1 | cluster-md-kmp-64kb +74 | 6.12.0-160100.9.1 | openSUSE-SU-2026:22309-1 |
| 16.1 | kernel-default-base | 6.12.0-160100.9.1.160100.3.14 | openSUSE-SU-2026:22309-1 |
ubuntu 3 releases · 35 packages
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | linux-nvidia-6-8 | affected |
| 22.04 | linux-oracle-6-8 | 6.8.0-1067.71~22.04.1 |
| 22.04 | linux-ibm-6-8 | 6.8.0-1069.70~22.04.1 |
| 22.04 | linux-aws-6-8 | 6.8.0-1069.74~22.04.1 |
| 22.04 | linux-azure-fde-6-8 | 6.8.0-1071.78~22.04.1 |
| 22.04 | linux-gcp-6-8 | 6.8.0-1073.81~22.04.1 |
35 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-64421
- git.kernel.org https://git.kernel.org/linus/b670bf89824ede5d07d20bb9bfbafb754846081d (7.2-rc1)
- git.kernel.org https://git.kernel.org/stable/c/b670bf89824ede5d07d20bb9bfbafb754846081d
- git.kernel.org https://git.kernel.org/stable/c/ba2aa5d325270cd965c44458c5ff5ab555e6af51
- git.kernel.org https://git.kernel.org/stable/c/c12a5b2261351cd3b03921ce4720332ff5184b50
- git.kernel.org https://git.kernel.org/stable/c/d22fb719654bfde6f682c9f14629f5f9534175b7
- git.kernel.org https://git.kernel.org/stable/c/ef382a6baf0a95cf199fdf6bba2fd08e58b0a249
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2026072534-CVE-2026-64421-6833@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-64421
- ubuntu.com https://ubuntu.com/security/notices/USN-8726-1
Show all 29 references
- ubuntu.com https://ubuntu.com/security/notices/USN-8726-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8726-3
- ubuntu.com https://ubuntu.com/security/notices/USN-8726-4
- ubuntu.com https://ubuntu.com/security/notices/USN-8727-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8728-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8728-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8728-3
- ubuntu.com https://ubuntu.com/security/notices/USN-8760-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8760-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8800-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8917-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8918-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9002-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9024-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9025-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9026-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9040-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9066-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-64421
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.