CVE-2025-40165
published high CVSS 3.1 · 7.8media: nxp: imx8-isi: m2m: Fix streaming cleanup on release
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxcf21f328fcafacf4f96e7a30ef9dceede1076378 to < 50c721be2cff2bf8c9a5f1f4add35c2bbb1df302 · cf21f328fcafacf4f96e7a30ef9dceede1076378 to < e8b5f4d80775835cf8192d65138e9be1ff202847 · cf21f328fcafacf4f96e7a30ef9dceede1076378 to < b0d438c7b43314f9128e0dda5f83789e593e684a · cf21f328fcafacf4f96e7a30ef9dceede1076378 to < 178aa3360220231dd91e7dbc2eb984525886c9c1 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.4 (affected) · 0 to < 6.4 (unaffected · semver) · 6.6.114 through 6.6.* (unaffected · semver) · 6.12.55 through 6.12.* (unaffected · semver) · 6.17.5 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20021-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaults390x | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20021-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20021-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20021-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaults390x | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20021-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20021-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20021-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaults390x | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20021-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20021-1 |
| SUSE / openSUSE | SLE-16 | kernel-64kbaarch64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-64kb-develaarch64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-64kb-extraaarch64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaultaarch64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaultppc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaults390x | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaultx86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-baseaarch64 | Advisory build | 6.12.0-160000.8.1.160000.2.5 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-baseppc64le | Advisory build | 6.12.0-160000.8.1.160000.2.5 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-basex86_64 | Advisory build | 6.12.0-160000.8.1.160000.2.5 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-develaarch64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-develppc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-devels390x | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-develx86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extraaarch64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extrappc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extras390x | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extrax86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-livepatchppc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-livepatchs390x | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-livepatchx86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-vdsox86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-develnoarch | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-docsnoarch | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-docs-htmlnoarch | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmallaarch64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmallppc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmallx86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-develaarch64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-develppc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-develx86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-vdsox86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-macrosnoarch | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qaaarch64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qappc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qas390x | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qax86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-sourcenoarch | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-source-vanillanoarch | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-symsaarch64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-symsppc64le | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-symss390x | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-symsx86_64 | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | SLE-16 | kernel-zfcpdumps390x | Advisory build | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-64kbaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaults390x | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-rtaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-rtx86_64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-64kbaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaultaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaults390x | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-rtaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-rtx86_64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-allwinneraarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-alteraaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-amazonaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-amdaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-amlogicaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-apmaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-appleaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-armaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-broadcomaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-caviumaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-exynosaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-freescaleaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-hisiliconaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-lgaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-marvellaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-mediatekaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-nvidiaaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-qcomaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-renesasaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-rockchipaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-socionextaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-sprdaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-xilinxaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gfs2-kmp-64kbaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gfs2-kmp-defaultaarch64 | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gfs2-kmp-defaults390x | Advisory build | 6.12.0-160000.8.1 | OPENSUSE-SU-2025:20172-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: media: nxp: imx8-isi: m2m: Fix streaming cleanup on release If streamon/streamoff calls are imbalanced, such as when exiting an application with Ctrl+C when streaming, the m2m usage_count will never reach zero and the ISI channel won't be freed. Besides from that, if the input line width is more than 2K, it will trigger a WARN_ON(): [ 59.222120] ------------[ cut here ]------------ [ 59.226758] WARNING: drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c:631 at mxc_isi_channel_chain+0xa4/0x120, CPU#4: v4l2-ctl/654 [ 59.238569] Modules linked in: ap1302 [ 59.242231] CPU: 4 UID: 0 PID: 654 Comm: v4l2-ctl Not tainted 6.16.0-rc4-next-20250704-06511-gff0e002d480a-dirty #258 PREEMPT [ 59.253597] Hardware name: NXP i.MX95 15X15 board (DT) [ 59.258720] pstate: 80400009 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 59.265669] pc : mxc_isi_channel_chain+0xa4/0x120 [ 59.270358] lr : mxc_isi_channel_chain+0x44/0x120 [ 59.275047] sp : ffff8000848c3b40 [ 59.278348] x29: ffff8000848c3b40 x28: ffff0000859b4c98 x27: ffff800081939f00 [ 59.285472] x26: 000000000000000a x25: ffff0000859b4cb8 x24: 0000000000000001 [ 59.292597] x23: ffff0000816f4760 x22: ffff0000816f4258 x21: ffff000084ceb780 [ 59.299720] x20: ffff000084342ff8 x19: ffff000084340000 x18: 0000000000000000 [ 59.306845] x17: 0000000000000000 x16: 0000000000000000 x15: 0000ffffdb369e1c [ 59.313969] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 [ 59.321093] x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000 [ 59.328217] x8 : ffff8000848c3d48 x7 : ffff800081930b30 x6 : ffff800081930b30 [ 59.335340] x5 : ffff0000859b6000 x4 : ffff80008193ae80 x3 : ffff800081022420 [ 59.342464] x2 : ffff0000852f6900 x1 : 0000000000000001 x0 : ffff000084341000 [ 59.349590] Call trace: [ 59.352025] mxc_isi_channel_chain+0xa4/0x120 (P) [ 59.356722] mxc_isi_m2m_streamon+0x160/0x20c [ 59.361072] v4l_streamon+0x24/0x30 [ 59.364556] __video_do_ioctl+0x40c/0x4a0 [ 59.368560] video_usercopy+0x2bc/0x690 [ 59.372382] video_ioctl2+0x18/0x24 [ 59.375857] v4l2_ioctl+0x40/0x60 [ 59.379168] __arm64_sys_ioctl+0xac/0x104 [ 59.383172] invoke_syscall+0x48/0x104 [ 59.386916] el0_svc_common.constprop.0+0xc0/0xe0 [ 59.391613] do_el0_svc+0x1c/0x28 [ 59.394915] el0_svc+0x34/0xf4 [ 59.397966] el0t_64_sync_handler+0xa0/0xe4 [ 59.402143] el0t_64_sync+0x198/0x19c [ 59.405801] ---[ end trace 0000000000000000 ]--- Address this issue by moving the streaming preparation and cleanup to the vb2 .prepare_streaming() and .unprepare_streaming() operations. This also simplifies the driver by allowing direct usage of the v4l2_m2m_ioctl_streamon() and v4l2_m2m_ioctl_streamoff() helpers.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is reached exclusively through V4L2 ioctls and close() on the local `/dev/videoN` m2m device node of the i.MX8 ISI driver. No network or adjacent-network path exists to this code. AC:L - Triggering is fully deterministic and requires no race — a single process does S_FMT, STREAMON, then close() without STREAMOFF, and the leaked usage_count/chained state plus the WARN_ON are guaranteed on the next STREAMON. The slab-reuse variant that aliases the dangling `last_ctx` is freely repeatable in a loop by the same attacker. PR:L - The attacker needs only an unprivileged local account with access to the video device node, which is the norm for logged-in users (video group / uaccess ACL), camera services on Android, and application accounts on embedded and automotive i.MX8/i.MX9 systems. No root or CAP_SYS_ADMIN is required anywhere along the path. UI:N - The attacking process performs every step itself — open, set format, streamon, close, reopen — with no victim action needed. No other user must mount, open, or interact with anything. S:U - The corrupted state (`m2m->usage_count`, `chained_count`, `pipe->chained`, dangling `last_ctx`) and all resulting impact are confined to the kernel's own security authority. No hypervisor, IOMMU, or sandbox boundary is crossed. C:H - The stale `last_ctx` pointer suppresses hardware reconfiguration in `mxc_isi_m2m_device_run()`, leaving the ISI programmed with the prior context's geometry so it reads far beyond the new, smaller source buffer and copies adjacent kernel physical memory into a destination buffer the attacker mmaps and reads back. That is an attacker-steerable kernel memory disclosure primitive. I:H - The same stale-configuration path makes the ISI DMA engine write a full previous-geometry frame (up to 4096x2160) into a buffer allocated for a much smaller format, overwriting adjacent dma-contig/CMA kernel memory with attacker-supplied pixel data. The leaked channel/chaining state additionally leaves the hardware operating with a configuration no context owns. A:H - The leaked `chained_count`/`pipe->chained` reliably trips `WARN_ON()` in `mxc_isi_channel_chain()`, which is a kernel panic under panic_on_warn, and the never-released channel permanently returns -EBUSY from `mxc_isi_channel_acquire()`, wedging both pipe 0 and the chained pipe so the camera capture and m2m devices are unusable until reboot.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | cf21f328fcafacf4f96e7a30ef9dceede1076378 to < 50c721be2cff2bf8c9a5f1f4add35c2bbb1df302 (affected · git)cf21f328fcafacf4f96e7a30ef9dceede1076378 to < e8b5f4d80775835cf8192d65138e9be1ff202847 (affected · git)cf21f328fcafacf4f96e7a30ef9dceede1076378 to < b0d438c7b43314f9128e0dda5f83789e593e684a (affected · git)cf21f328fcafacf4f96e7a30ef9dceede1076378 to < 178aa3360220231dd91e7dbc2eb984525886c9c1 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.4 (affected)0 to < 6.4 (unaffected · semver)6.6.114 through 6.6.* (unaffected · semver)6.12.55 through 6.12.* (unaffected · semver)6.17.5 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
media: nxp: imx8-isi: m2m: Fix streaming cleanup on release
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1620209786e0effcac7b41e39fd77a3e0ca669d4b3475051c18042b5721bf46a
- Ingested
- 23 Sep 2026, 08:48:04 UTC
- Source record
- Official CVE record