PT-2025-49050 · Linux+3 · Linux Kernel+3

CVE-2025-40223

·

Publicado

2025-10-10

·

Atualizado

2026-08-23

CVSS v2.0

4.4

Média

VetorAV:L/AC:M/Au:S/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The Linux kernel contains a flaw within the MOST (Media Over Serial Transport) USB subsystem, specifically in the hdm disconnect() function. This function, when called, can lead to a use-after-free or double-free condition due to improper handling of memory deallocation and device unregistration. The issue arises because hdm disconnect() calls most deregister interface(), which unregisters the MOST interface device. If this unregistration drops the last reference to the device, the device core may call release mdev() while hdm disconnect() is still executing. The original code freed memory allocations within hdm disconnect() and then made additional put device() calls, potentially leading to memory corruption. The fix involves moving the memory deallocations to release mdev() to ensure they happen only once when the device is released and removing redundant put device() calls from hdm disconnect(). This addresses a slab-use-after-free issue reported by KASAN and syzbot.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Use After Free

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

BDU:2026-02792
CVE-2025-40223
DLA-4404-1
OPENSUSE-SU-2026:20145-1
SUSE-SU-2026:0278-1
SUSE-SU-2026:0281-1
SUSE-SU-2026:0293-1
SUSE-SU-2026:0315-1
SUSE-SU-2026:20207-1
SUSE-SU-2026:20220-1
SUSE-SU-2026:20228-1
SUSE-SU-2026:20477-1
SUSE-SU-2026:20498-1
SUSE-SU-2026:20564-1
SUSE-SU-2026:20845-1
SUSE-SU-2026:20876-1
USN-8029-1
USN-8029-2
USN-8029-3
USN-8030-1
USN-8033-1
USN-8033-2
USN-8033-3
USN-8033-4
USN-8033-5
USN-8033-6
USN-8033-7
USN-8033-8
USN-8034-1
USN-8034-2
USN-8048-1
USN-8095-1
USN-8095-2
USN-8095-3
USN-8095-4
USN-8095-5
USN-8100-1
USN-8125-1
USN-8126-1
USN-8141-1
USN-8163-1
USN-8163-2
USN-8165-1
USN-8243-1
USN-8261-1

Produtos afetados

Debian
Linuxmint
Linux Kernel
Ubuntu