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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
c88469704d63787e8d44ca5ea1c1bd0adc29572d to < 06513dd6d32c37d0364db8488cfdf3e14da238a8affectedc88469704d63787e8d44ca5ea1c1bd0adc29572d to < efaf61052b8ff9ee8968912fbaf02c2847c78edeaffectedc88469704d63787e8d44ca5ea1c1bd0adc29572d to < 647410a7da46067953a53c0d03f8680eff570959affectedc88469704d63787e8d44ca5ea1c1bd0adc29572d to < c611b9e55174e439dcd85a72969b43a95f3827a4affectedc88469704d63787e8d44ca5ea1c1bd0adc29572d to < 62066758d2ae169278e5d6aea5995b1b6f6ddeb5affectedc88469704d63787e8d44ca5ea1c1bd0adc29572d to < 0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1affected
Linux Linux
Default version status: affected
2.6.14affected0 to < 2.6.14unaffected5.15.209 to ≤ 5.15.*unaffected6.1.167 to ≤ 6.1.*unaffected6.6.111 to ≤ 6.6.*unaffected6.12.52 to ≤ 6.12.*unaffected6.15.3 to ≤ 6.15.*unaffected6.16 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/06513dd6d32c37d0364db8488cfdf3e14da238a8 ↗
- https://git.kernel.org/stable/c/efaf61052b8ff9ee8968912fbaf02c2847c78ede ↗
- https://git.kernel.org/stable/c/647410a7da46067953a53c0d03f8680eff570959 ↗
- https://git.kernel.org/stable/c/c611b9e55174e439dcd85a72969b43a95f3827a4 ↗
- https://git.kernel.org/stable/c/62066758d2ae169278e5d6aea5995b1b6f6ddeb5 ↗
- https://git.kernel.org/stable/c/0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1 ↗
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html ↗