Skip to main content
VulnerabilityPublished

CVE-2025-40223: Linux kernel · most: usb: Fix use-after-free in hdm_disconnect

Source GCVE Database

0
Compare

Not known to be exploited.

Data as of 25 Nov 2026, 03:38 UTC

Severity
Medium

Rated Medium by Threat Radar's AI analysis · No CVSS score from NVD or the CNA

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

AI-suggested

A fix for this vulnerability has been implemented in the Linux kernel by restructuring memory management in the hdm_disconnect() function. Users should apply the updated kernel version containing this fix once available. No additional mitigation steps are indicated.

Description

A use-after-free vulnerability was identified and fixed in the Linux kernel's most: usb driver, specifically in the hdm_disconnect function. The issue arose because hdm_disconnect() called most_deregister_interface(), which could lead to the device being released while hdm_disconnect() was still executing. This caused potential use-after-free or double-free conditions due to improper memory management and reference counting. The fix involved moving the freeing of device-owned allocations to the release_mdev() function and removing redundant put_device() calls.

References

Community reviews

Loading reviews…