CVE-2025-39997
kernel: Linux kernel: Use-After-Free in ALSA USB audio due to race condition
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 15, 2025
Updated · June 30, 2026
Description
A flaw was found in the Linux kernel's ALSA USB audio subsystem. A local attacker could exploit a race condition during the freeing of heap memory. This vulnerability, specifically in the snd_usbmidi_free function, occurs because the error timer kill happens after the endpoint is deleted, and there is a missing cleanup for Universal Serial Bus (USB) Request Blocks (URBs). This can lead to a Use-After-Free (UAF) condition, potentially causing a denial of service.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-476 · NULL Pointer Dereference