ALSA: usx2y: Refuse a retried DSP load after a failure
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 8b21cc8bd182b49415faa24ea9f26b51eea96efb, Kernel 02f8c4fd65f33243ad1f25a98f2af211f9fb7593, Kernel 1f8101b6adc87a3ddbd51fcb6609251591758026 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: ALSA: usx2y: Refuse a retried DSP load after a failure snd_usx2y_hwdep_dsp_load() sets up the asynchronous sequence URBs and the interrupt URB when the FPGA firmware image with index 1 is loaded, and then creates the ALSA devices. If usx2y_in04_init() or usx2y_create_alsa_devices() fails, the URBs that were already set up are left in place. The core keeps the index unloaded when the callback fails, so user space may issue the same request again. The second attempt then enters usx2y_async_seq04_init() or usx2y_in04_init() with the URBs still allocated and trips WARN_ON(usx2y->as04.buffer) or WARN_ON(usx2y->in04_urb). The URBs cannot be released at this point: the card may already have registered PCM devices that user space can still open, and the disconnect handler accesses the URBs without holding the DSP lock. Mark the chip as hung instead, so that a retried request is refused with -ENODEV and the assertions keep their meaning. The URBs are released by snd_usx2y_card_private_free() when the card is freed. A failing usx2y_async_seq04_init() still releases its own URBs, so that path remains retryable.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=02d382af1c4e321acbea1c25b97ee13f52b9ac7d <8b21cc8bd182b49415faa24ea9f26b51eea96efb, >=02d382af1c4e321acbea1c25b97ee13f52b9ac7d <02f8c4fd65f33243ad1f25a98f2af211f9fb7593, >=02d382af1c4e321acbea1c25b97ee13f52b9ac7d <1f8101b6adc87a3ddbd51fcb6609251591758026, >=02d382af1c4e321acbea1c25b97ee13f52b9ac7d <1f9c4b6350ce31e3fccf2a82d47bf35b27167167, =5.14 | 8b21cc8bd182b49415faa24ea9f26b51eea96efb, 02f8c4fd65f33243ad1f25a98f2af211f9fb7593, 1f8101b6adc87a3ddbd51fcb6609251591758026, 1f9c4b6350ce31e3fccf2a82d47bf35b27167167 |
| linux-kernel: Kernel | >=6.13.0 <6.18.64, >=6.19.0 <7.3.5, >=5.14.0 <6.12.118 | 6.18.64, 7.3.5, 6.12.118 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket