CVE-2025-38105

MEDIUM

Linux Kernel - Use-After-Free in USB-Audio MIDI Timer

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Kill timer properly at removal The USB-audio MIDI code initializes the timer, but in a rare case, the driver might be freed without the disconnect call. This leaves the timer in an active state while the assigned object is released via snd_usbmidi_free(), which ends up with a kernel warning when the debug configuration is enabled, as spotted by fuzzer. For avoiding the problem, put timer_shutdown_sync() at snd_usbmidi_free(), so that the timer can be killed properly. While we're at it, replace the existing timer_delete_sync() at the disconnect callback with timer_shutdown_sync(), too.

Scores

CVSS v3 5.5
EPSS 0.0016
EPSS Percentile 5.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (21)
linux/Kernel 2.6.14 - 5.15.209linux
linux/Kernel 2.6.14 - 6.6.111linux
linux/Kernel 5.16.0 - 6.1.167linux
linux/Kernel 6.13.0 - 6.15.3linux
linux/Kernel 6.2.0 - 6.6.111linux
linux/Kernel 6.7.0 - 6.12.52linux
Linux/Linux < 2.6.14
Linux/Linux 2.6.14
Linux/Linux 5.15.209 - 5.15.*
Linux/Linux 6.1.167 - 6.1.*
... and 11 more
Published Jul 03, 2025
Tracked Since Feb 18, 2026