CVE-2026-97929 ALSA: usbusx2y: validate URB actual_length in interrupt callback
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 2.6.12
해결 버전
- 2.6.12 미만
- 6.1.193 이상
- 6.6.160 이상
- 6.12.111 이상
- 6.18.53 이상
- 7.2.7 이상
참고 자료 6건
- git.kernel.org https://git.kernel.org/stable/c/2770321b358658e0a39fe39ccf6a91ee97a81931 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/6183dccec04c3a531ea2305d6864fa26eca7cdc6 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/8f5ef203abda9dd36b2af473c7b737d544f807bd (새 창)
- git.kernel.org https://git.kernel.org/stable/c/b0c30fe6c0d5902bd8a7d1d5720bead5bbe46f7d (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c156584999bf15118f523ef6c6fedc5b21f46bd9 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c3576cb77b527f223cf2b9fc2b2e9af5e7adee25 (새 창)