GHSA-7jc2-x3x6-f88wunknown
In the Linux kernel, the following vulnerability has been resolved: ALSA: usbusx2y: validate URB...
🔗 CVE IDs covered (1)
📋 Description
In the Linux kernel, the following vulnerability has been resolved:
ALSA: usbusx2y: validate URB actual_length in interrupt callback
i_usx2y_in04_int() processes the interrupt URB data without checking urb->actual_length. A short transfer from a malfunctioning device would cause the handler to process uninitialized heap data from the kmalloc-allocated in04_buf, which is then copied to the mmap-accessible ctl_snapshot[] array.
Fix by using kzalloc() for in04_buf to zero-initialize the buffer, and adding an actual_length check to skip processing on short transfers while still resubmitting the URB.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-97929
- https://git.kernel.org/stable/c/2770321b358658e0a39fe39ccf6a91ee97a81931
- https://git.kernel.org/stable/c/8f5ef203abda9dd36b2af473c7b737d544f807bd
- https://git.kernel.org/stable/c/b0c30fe6c0d5902bd8a7d1d5720bead5bbe46f7d
- https://git.kernel.org/stable/c/c156584999bf15118f523ef6c6fedc5b21f46bd9
- https://github.com/advisories/GHSA-7jc2-x3x6-f88w