# CVE-2025-39711: media: ivsc: Fix crash at shutdown due to missing mei_cldev_disable() calls

CVE-2025-39711 is fixed in 18 products on 1 platform, first by DEBIAN-CVE-2025-39711, released September 5, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2025-39711
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0016
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 5, 2025
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-39711

## Description

In the Linux kernel, the following vulnerability has been resolved:  media: ivsc: Fix crash at shutdown due to missing mei_cldev_disable() calls  Both the ACE and CSI driver are missing a mei_cldev_disable() call in their remove() function.  This causes the mei_cl client to stay part of the mei_device->file_list list even though its memory is freed by mei_cl_bus_dev_release() calling kfree(cldev->cl).  This leads to a use-after-free when mei_vsc_remove() runs mei_stop() which first removes all mei bus devices calling mei_ace_remove() and mei_csi_remove() followed by mei_cl_bus_dev_release() and then calls mei_cl_all_disconnect() which walks over mei_device->file_list dereferecing the just freed cldev->cl.  And mei_vsc_remove() it self is run at shutdown because of the platform_device_unregister(tp->pdev) in vsc_tp_shutdown()  When building a kernel with KASAN this leads to the following KASAN report:  [ 106.634504] ================================================================== [ 106.634623] BUG: KASAN: slab-use-after-free in mei_cl_set_disconnected (drivers/misc/mei/client.c:783) mei [ 106.634683] Read of size 4 at addr ffff88819cb62018 by task systemd-shutdow/1 [ 106.634729] [ 106.634767] Tainted: [E]=UNSIGNED_MODULE [ 106.634770] Hardware name: Dell Inc. XPS 16 9640/09CK4V, BIOS 1.12.0 02/10/2025 [ 106.634773] Call Trace: [ 106.634777]  <TASK> ... [ 106.634871] kasan_report (mm/kasan/report.c:221 mm/kasan/report.c:636) [ 106.634901] mei_cl_set_disconnected (drivers/misc/mei/client.c:783) mei [ 106.634921] mei_cl_all_disconnect (drivers/misc/mei/client.c:2165 (discriminator 4)) mei [ 106.634941] mei_reset (drivers/misc/mei/init.c:163) mei ... [ 106.635042] mei_stop (drivers/misc/mei/init.c:348) mei [ 106.635062] mei_vsc_remove (drivers/misc/mei/mei_dev.h:784 drivers/misc/mei/platform-vsc.c:393) mei_vsc [ 106.635066] platform_remove (drivers/base/platform.c:1424)  Add the missing mei_cldev_disable() calls so that the mei_cl gets removed from mei_device->file_list before it is freed to fix this.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | dtb-aarch64 opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-64kb opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-64kb sles 15.7 | 6.4.0-150700.53.19.1 | [SUSE-SU-2025:03601-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03601-1.md) | Oct 15, 2025 |
| Linux | kernel-64kb sles 16.0 | 6.12.0-160000.6.1 | [SUSE-SU-2025:21139-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-21139-1.md) | Nov 25, 2025 |
| Linux | kernel-azure sles 15.7 | 6.4.0-150700.20.15.2 | [SUSE-SU-2025:03633-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03633-1.md) | Oct 17, 2025 |
| Linux | kernel-default opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-default sles 15.7 | 6.4.0-150700.53.19.1 | [SUSE-SU-2025:03601-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03601-1.md) | Oct 15, 2025 |
| Linux | kernel-default sles 16.0 | 6.12.0-160000.6.1 | [SUSE-SU-2025:21139-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-21139-1.md) | Nov 25, 2025 |
| Linux | kernel-default-base opensuse-leap 16.0 | 6.12.0-160000.6.1.160000.2.4 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-default-base sles 15.7 | 6.4.0-150700.53.19.1.150700.17.13.1 | [SUSE-SU-2025:03601-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03601-1.md) | Oct 15, 2025 |
| Linux | kernel-default-base sles 16.0 | 6.12.0-160000.6.1.160000.2.4 | [SUSE-SU-2025:21139-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-21139-1.md) | Nov 25, 2025 |
| Linux | kernel-docs opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-docs sles 15.7 | 6.4.0-150700.53.19.1 | [SUSE-SU-2025:03601-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03601-1.md) | Oct 15, 2025 |
| Linux | kernel-docs sles 16.0 | 6.12.0-160000.6.1 | [SUSE-SU-2025:21139-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-21139-1.md) | Nov 25, 2025 |
| Linux | kernel-kvmsmall opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-kvmsmall sles 16.0 | 6.12.0-160000.6.1 | [SUSE-SU-2025:21139-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-21139-1.md) | Nov 25, 2025 |
| Linux | kernel-livepatch-SLE15-SP7-RT_Update_5 sles 15.7 | 1-150700.1.3.1 | [SUSE-SU-2025:3725-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-3725-1.md) | Oct 22, 2025 |
| Linux | kernel-livepatch-SLE15-SP7_Update_5 sles 15.7 | 1-150700.15.3.1 | [SUSE-SU-2025:03601-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03601-1.md) | Oct 15, 2025 |
| Linux | kernel-obs-build opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-obs-build sles 15.7 | 6.4.0-150700.53.19.1 | [SUSE-SU-2025:03601-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03601-1.md) | Oct 15, 2025 |
| Linux | kernel-obs-qa opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-obs-qa sles 16.0 | 6.12.0-160000.6.1 | [SUSE-SU-2025:21139-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-21139-1.md) | Nov 25, 2025 |
| Linux | kernel-rt opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-source opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-source sles 15.7 | 6.4.0-150700.53.19.1 | [SUSE-SU-2025:03601-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03601-1.md) | Oct 15, 2025 |
| Linux | kernel-source sles 16.0 | 6.12.0-160000.6.1 | [SUSE-SU-2025:21139-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-21139-1.md) | Nov 25, 2025 |
| Linux | kernel-source-azure sles 15.7 | 6.4.0-150700.20.15.2 | [SUSE-SU-2025:03633-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03633-1.md) | Oct 17, 2025 |
| Linux | kernel-syms opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-syms sles 15.7 | 6.4.0-150700.53.19.1 | [SUSE-SU-2025:03601-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03601-1.md) | Oct 15, 2025 |
| Linux | kernel-syms sles 16.0 | 6.12.0-160000.6.1 | [SUSE-SU-2025:21139-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-21139-1.md) | Nov 25, 2025 |
| Linux | kernel-syms-azure sles 15.7 | 6.4.0-150700.20.15.1 | [SUSE-SU-2025:03633-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03633-1.md) | Oct 17, 2025 |
| Linux | kernel-zfcpdump opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-zfcpdump sles 15.7 | 6.4.0-150700.53.19.1 | [SUSE-SU-2025:03601-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03601-1.md) | Oct 15, 2025 |
| Linux | kernel-zfcpdump sles 16.0 | 6.12.0-160000.6.1 | [SUSE-SU-2025:21139-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-21139-1.md) | Nov 25, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.12.48-1 | [DEBIAN-CVE-2025-39711](https://patchblox.com/security/data/fix/linux/debian-cve-2025-39711.md) | Sep 5, 2025 |
| Linux | linux Debian 14 | 6.16.5-1 | [DEBIAN-CVE-2025-39711](https://patchblox.com/security/data/fix/linux/debian-cve-2025-39711.md) | Sep 5, 2025 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
