Linux ALSA caiaq USB Disconnect Denial of Service (CVE-2024-56531)

CVE-2024-56531 affects the Linux kernel ALSA caiaq USB audio driver. Its USB disconnect callback calls snd_card_free(), which waits for all open sound-card file descriptors to close. This potentially prolonged wait blocks upper-layer USB ioctls and may trigger a kernel soft lockup. The fix uses snd_card_free_when_closed() to return immediately and defers resource release until the final file descriptor closes, separating immediate disconnect handling from card destruction.

Read more here: Source link