CVE-2025-40223: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-40223 is a use-after-free vulnerability in the Linux kernel's MOST (Multimedia Open Specification Technology) USB interface driver, specifically in the hdm_disconnect() function. The flaw was disclosed on December 4, 2025, and affects Linux kernel versions from 5.9 up to the patched releases (5.10.246, 5.15.196, 6.1.158, 6.6.115, 6.17.6, and 6.18). It carries a CVSS v3.1 base score of 7.8 (High), requiring only local access with low privileges (Microsoft MSRC, Feedly).

Technical details

The root cause is a use-after-free (CWE-416) in hdm_disconnect(), which calls most_deregister_interface() to unregister the MOST interface device via device_unregister(iface->dev). If this drops the last reference count, the device core may immediately invoke release_mdev() while hdm_disconnect() is still executing — at which point the old code continued to free mdev-owned allocations and perform additional put_device() calls, leading to use-after-free or double-free conditions. The fix moves all mdev-owned allocation frees into release_mdev() and removes the redundant put_device() calls from hdm_disconnect(). The bug was originally identified by syzbot via KASAN slab-use-after-free reporting (Microsoft MSRC, Feedly).

Impact

Successful exploitation by a local attacker with low privileges could result in memory corruption, system crashes (denial of service), or arbitrary code execution within the kernel context. The CVSS scoring reflects high impact on confidentiality, integrity, and availability. Because the vulnerability resides in the kernel, exploitation could allow privilege escalation or full system compromise without requiring user interaction (Microsoft MSRC, Feedly).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of disclosure. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.024%, indicating a very low probability of exploitation in the near term. Exploitation requires local access and the ability to trigger USB device disconnection events involving the MOST USB driver (Feedly).

Mitigation and workarounds

Update to a patched Linux kernel version: 5.10.246, 5.15.196, 6.1.158, 6.6.115, 6.17.6, or 6.18 and later. Debian LTS users should apply the DLA-4404-1 security update. As a compensating control, restrict physical and logical access to USB ports and limit local user privileges to reduce the attack surface. Regularly apply kernel security updates and monitor vendor advisories for downstream distribution patches (Microsoft MSRC, Debian LTS).

Community reactions

The vulnerability was noted in Sophos's December 2025 Patch Tuesday roundup and covered by Rapid7's patch Tuesday blog, both highlighting it as part of a broader set of Linux kernel fixes. Tenable published Nessus detection plugins (277486 and 278559) for the vulnerability. No significant independent researcher commentary or social media discussion has been identified beyond standard vulnerability tracking (Sophos Blog, Rapid7 Blog, Tenable Nessus).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.158-1

Fixed

sid

linux: 6.17.6-1

Fixed

trixie

linux: 6.12.57-1

Fixed

Ubuntu

Fixed

bionic

linux

Not Affected

bionic (esm-infra)

linux

Not Affected

bionic (fips-updates)

linux-fips

Not Affected

bionic (fips)

linux-fips

Not Affected

devel

linux

Not Affected

focal

linux

Not Affected

focal (esm-infra)

linux-hwe-5.15: 5.15.0-170.180~20.04.3

Fixed

focal (fips-updates)

linux-fips

Not Affected

RHEL / CentOS

Affected

RHEL 8

Not Affected

RHEL 9

Not Affected

RHEL 10

Not Affected

Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-99288HIGH7.5
  • Linux Kernel logoLinux Kernel
  • rtla
NoYesNov 10, 2026
CVE-2026-99285MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • bpftool
NoYesNov 10, 2026
CVE-2026-99284MEDIUM4.7
  • Linux Kernel logoLinux Kernel
  • python-perf
NoYesNov 07, 2026
CVE-2026-0004HIGHN/A
  • Linux Kernel logoLinux Kernel
  • kernel-uek64k-modules-wireless
NoYesNov 09, 2026
CVE-2024-21963HIGHN/A
  • Linux Kernel logoLinux Kernel
  • kernel-uek-debug-modules-deprecated
NoYesNov 09, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management