Skip to content
Not rated

CVE-2025-38105 ALSA: usb-audio: Kill timer properly at removal

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.

Affected products and versions

Product Affected versions Fixed in
Linux 6.16 earliest → < 6.16 6.16
Linux 6.15 earliest → < 6.15.3 6.15.3
Linux 6.12 earliest → < 6.12.52 6.12.52
Linux 6.6 earliest → < 6.6.111 6.6.111
Linux 6.1 earliest → < 6.1.167 6.1.167
Linux 5.15 earliest → < 5.15.209 5.15.209
Linux 2.6.14 No fix stated
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem Versions not published
The 18286 CVEs of Linux →
Track this CVE