CVE-2025-38105

ALSA: usb-audio: Kill timer properly at removal

State
Published
Severity
Not scored
Published
Jul 3, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c88469704d63787e8d44ca5ea1c1bd0adc29572d to before 06513dd6d32c37d0364db8488cfdf3e14da238a8Affected
  • c88469704d63787e8d44ca5ea1c1bd0adc29572d to before efaf61052b8ff9ee8968912fbaf02c2847c78edeAffected
  • c88469704d63787e8d44ca5ea1c1bd0adc29572d to before 647410a7da46067953a53c0d03f8680eff570959Affected
  • c88469704d63787e8d44ca5ea1c1bd0adc29572d to before c611b9e55174e439dcd85a72969b43a95f3827a4Affected
  • c88469704d63787e8d44ca5ea1c1bd0adc29572d to before 62066758d2ae169278e5d6aea5995b1b6f6ddeb5Affected
  • c88469704d63787e8d44ca5ea1c1bd0adc29572d to before 0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1Affected
LinuxLinux
  • 2.6.14Affected
  • before 2.6.14Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.167 through 6.1.*Not affected
  • 6.6.111 through 6.6.*Not affected
  • 6.12.52 through 6.12.*Not affected
  • 6.15.3 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.