PT-2025-49050
CVE-2025-40223
·
Publicado
2025-10-10
·
Atualizado
2026-10-19
Descrição por
CVSS 4.0
5.4
MédiaMétricasAV:P/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
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.
Explorabilidade
Exploit
Impactos
Fornecedores
Produtos afetados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾