Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-39711

HIGH 7.8EPSS 10%

media: ivsc: Fix crash at shutdown due to missing mei_cldev_disable() calls

Mitigation

  • Upgrade Linux to 0c92c49fc688cfadacc47ae99b06a31237702e9e or later.

Who should check

  • Anyone running Linux >= 29006e196a5661d9afc8152fa2bf8a5347ac17b4, < 3c0e4cc4f55f9a1db2a761e4ffb27c9594245888; >= 29006e196a5661d9afc8152fa2bf8a5347ac17b4, < 639f5b33fcd7c59157f29b09f6f2866eacf9279c; >= 29006e196a5661d9afc8152fa2bf8a5347ac17b4, < 1dfe73394dcfc9b049c8da0dc181c45f156a5f49; >= 29006e196a5661d9afc8152fa2bf8a5347ac17b4, < 0c92c49fc688cfadacc47ae99b06a31237702e9e
  • Anyone running Linux 6.6

Vulnerability facts

Affected
Linux >= 29006e196a5661d9afc8152fa2bf8a5347ac17b4, < 3c0e4cc4f55f9a1db2a761e4ffb27c9594245888; >= 29006e196a5661d9afc8152fa2bf8a5347ac17b4, < 639f5b33fcd7c59157f29b09f6f2866eacf9279c; >= 29006e196a5661d9afc8152fa2bf8a5347ac17b4, < 1dfe73394dcfc9b049c8da0dc181c45f156a5f49; >= 29006e196a5661d9afc8152fa2bf8a5347ac17b4, < 0c92c49fc688cfadacc47ae99b06a31237702e9e; Linux 6.6
Fixed in
Linux 3c0e4cc4f55f9a1db2a761e4ffb27c9594245888, Linux 639f5b33fcd7c59157f29b09f6f2866eacf9279c, Linux 1dfe73394dcfc9b049c8da0dc181c45f156a5f49, Linux 0c92c49fc688cfadacc47ae99b06a31237702e9e
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.26% chance of exploitation in 30 days (percentile 10, 2026-11-26)
CWE
CWE-416
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 29006e196a5661d9afc8152fa2bf8a5347ac17b4, < 3c0e4cc4f55f9a1db2a761e4ffb27c9594245888; >= 29006e196a5661d9afc8152fa2bf8a5347ac17b4, < 639f5b33fcd7c59157f29b09f6f2866eacf9279c; >= 29006e196a5661d9afc8152fa2bf8a5347ac17b4, < 1dfe73394dcfc9b049c8da0dc181c45f156a5f49; >= 29006e196a5661d9afc8152fa2bf8a5347ac17b4, < 0c92c49fc688cfadacc47ae99b06a31237702e9e—cvelist
Linux6.6—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-39711. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39711.md
Affected: Linux >= 29006e196a5661d9afc8152fa2bf8a5347ac17b4, < 3c0e4cc4f55f9a1db2a761e4ffb27c9594245888; >= 29006e196a5661d9afc8152fa2bf8a5347ac17b4, < 639f5b33fcd7c59157f29b09f6f2866eacf9279c; >= 29006e196a5661d9afc8152fa2bf8a5347ac17b4, < 1dfe73394dcfc9b049c8da0dc181c45f156a5f49; >= 29006e196a5661d9afc8152…
Fixed in: Linux 3c0e4cc4f55f9a1db2a761e4ffb27c9594245888, Linux 639f5b33fcd7c59157f29b09f6f2866eacf9279c, Linux 1dfe73394dcfc9b049c8da0dc181c45f156a5f49, Linux 0c92c49fc688cfadacc47ae99b06a31237702e9e

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.

References

FAQ

Is CVE-2025-39711 being exploited?

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

How serious is CVE-2025-39711?

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

Which versions are affected by CVE-2025-39711?

Linux >= 29006e196a5661d9afc8152fa2bf8a5347ac17b4, < 3c0e4cc4f55f9a1db2a761e4ffb27c9594245888; >= 29006e196a5661d9afc8152fa2bf8a5347ac17b4, < 639f5b33fcd7c59157f29b09f6f2866eacf9279c; >= 29006e196a5661d9afc8152fa2bf8a5347ac17b4, < 1dfe73394dcfc9b049c8da0dc181c45f156a5f49; >= 29006e196a5661d9afc8152fa2bf8a5347ac17b4, < 0c92c49fc688cfadacc47ae99b06a31237702e9e; Linux 6.6.

Is there a fix for CVE-2025-39711?

Yes. Fixed in Linux 3c0e4cc4f55f9a1db2a761e4ffb27c9594245888, Linux 639f5b33fcd7c59157f29b09f6f2866eacf9279c, Linux 1dfe73394dcfc9b049c8da0dc181c45f156a5f49, Linux 0c92c49fc688cfadacc47ae99b06a31237702e9e. Upgrade Linux to 0c92c49fc688cfadacc47ae99b06a31237702e9e or later.

How do I check if I'm affected by CVE-2025-39711?

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.

Sponsors