ALSA: caiaq: unregister the input device when probe fails
In the Linux kernel, the following vulnerability has been resolved: ALSA: caiaq: unregister the input device when probe fails setup_card() registers the input device, whose name and phys point into struct snd_usb_caiaqdev, and then goes on to snd_card_register() and snd_usb_caiaq_control_init(). If either fails, snd_probe() calls snd_card_free(), which frees the device state but leaves the input device registered: card_free() only clears the pointer, and the input device is unregistered from snd_disconnect() alone. Reading its "uevent" attribute afterwards dereferences freed memory: BUG: KASAN: slab-use-after-free in string+0x4a9/0x4f0
- Update to 5.10.273
- Update to 5.15.224
- Update to 6.1.191
- Update to 6.12.113
- Update to 6.12.113-1
- Update to 6.12.113-1~deb12u1
- Update to 6.18.56
- Update to 6.6.160
- Update to 7.1
- Update to 7.2.10-1