Saltar al contenido
DayZeroHub
Alta Sin redactarCVSS 7.8CVE-2026-99609

CVE-2026-99609: ALSA: usx2y: Require a buffer of two URBs

Linux Linux

Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.

Resumen

CVE-2026-99609: vulnerabilidad de severidad alta (CVSS 7.8) en Linux Linux.

Qué ocurre

Descripción original de la fuente (en inglés): In the Linux kernel, the following vulnerability has been resolved: ALSA: usx2y: Require a buffer of two URBs usx2y_urb_capt_retire() wraps the ring buffer once per packet and usx2y_urb_play_prepare() once per URB of nr_of_packs() packets of up to 50 frames. Both assume that the data fits in the buffer, and the hw constraints only require about two 1 ms periods, so a packet larger than the buffer on capture, or a URB larger than the buffer on playback, violates that assumption. Constrain SNDRV_PCM_HW_PARAM_BUFFER_SIZE in snd_usx2y_pcm_open() to at least two URBs, 2 * nr_of_packs() * 50 frames, for both directions. The bound is in frames and derived from the driver's own packet limit, so it does not read the endpoint, whose altsetting is only selected in prepare. Two URBs rather than one, because the position advances by a URB on playback and only moves when a URB is less than the whole buffer. Keep a guard in usx2y_urb_capt_retire() that drops a packet larger than the buffer, for the case the constraint makes unreachable. With nrpacks above about 163 (S16_LE) or 109 (S24_3LE) the bound exceeds the 64 KiB buffer the substream preallocates (twice that with the preallocation raised to its 128 KiB maximum), so hw_params fails for those module settings. That is intended: the driver cannot be safe with a URB larger than half the largest buffer. Reproduced on 7.3-rc7 with a USB/IP device presenting the US-122 interface layout and 1024-byte packets into a 512-byte capture buffer: BUG: KASAN: out-of-bounds in i_usx2y_urb_complete+0x1285/0x1ac0 Read of size 18446744073709551104 at addr ffff88800e448800 by task vhci_rx/83 Tested on 7.3-rc7 with the same device, S16_LE at 44100 Hz,…

Por qué importa

Severidad alta, CVSS 7.8.

Productos y versiones afectados

Linux Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < eabdad84684dc5ad8ab7250ba98a95afd4172a4d; Linux Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2ae93a0781fc6855e9e3f9e4dd1a23b55f24040f; Linux Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8de4e8ea2b6b0648b3f7c765a9ebcfec4e23df9a; Linux Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0fd6e89b6f1f1ad746aa487a3360176ebdd4ad48; Linux Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 44c6971a79efdb46cd5c9f492f0ad65aafe05add; Linux Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5356d89f5e581dc207c7a607fe585d3e1cb2471c; Linux Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 824fdf771cb7cbe9ae50eaec588eaf1acee6da94; Linux Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4cbb826b3b36df6c275454287ba1df4564a5370b; Linux Linux 2.6.12; Linux Linux < 2.6.12; Linux Linux 5.10.275 (corregido en 5.10.275); Linux Linux 5.15.226 (corregido en 5.15.226)

ProductoVersionesCorregido en
Linux Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < eabdad84684dc5ad8ab7250ba98a95afd4172a4d—
Linux Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2ae93a0781fc6855e9e3f9e4dd1a23b55f24040f—
Linux Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8de4e8ea2b6b0648b3f7c765a9ebcfec4e23df9a—
Linux Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0fd6e89b6f1f1ad746aa487a3360176ebdd4ad48—
Linux Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 44c6971a79efdb46cd5c9f492f0ad65aafe05add—
Linux Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5356d89f5e581dc207c7a607fe585d3e1cb2471c—
Linux Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 824fdf771cb7cbe9ae50eaec588eaf1acee6da94—
Linux Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4cbb826b3b36df6c275454287ba1df4564a5370b—
Linux Linux2.6.12—
Linux Linux< 2.6.12—
Linux Linux5.10.2755.10.275
Linux Linux5.15.2265.15.226
Linux Linux6.1.1936.1.193
Linux Linux6.6.1636.6.163
Linux Linux6.12.1186.12.118
Linux Linux6.18.646.18.64
Linux Linux7.3.57.3.5
Linux Linux7.4-rc27.4-rc2

Acción recomendada por la fuente

Actualizar a una versión corregida: 5.10.275, 5.15.226, 6.1.193, 6.12.118, 6.18.64, 6.6.163, 7.3.5, 7.4-rc2.

Corregido en: 5.10.275, 5.15.226, 6.1.193, 6.12.118, 6.18.64, 6.6.163, 7.3.5, 7.4-rc2

Información tomada de la fuente o del proveedor. Verificala en el enlace original antes de actuar.

Fuentes y referencias

Historial de cambios relevantes

  1. Publicado

    Aviso preliminar publicado.