ALSA: usx2y: Initialize idle URBs before submitting streams (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.16 % · centile 6 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: usx2y: Initialize idle URBs before submitting streams usb_stream_start() submits the first two capture and playback URBs and only afterwards assigns sk->idle_inurb, sk->idle_outurb, sk->completed_inurb and sk->completed_outurb to the remaining two URBs of each direction. A transfer can complete as soon as usb_submit_urb() has been called, so the completion handler i_capture_start() or i_playback_start() may run before those pointers are set. While the stream is still being synchronized (state below usb_stream_sync1), stream_start() then calls playback_prep_freqn(sk, sk->idle_outurb) with sk->idle_outurb still NULL, and the packet descriptors are written through that NULL pointer: Oops: general protection fault, probably for non-canonical address 0xdffffc0000000018: 0000 [#1] SMP KASAN KASAN: null-ptr-deref in range [0x00000000000000c0-0x00000000000000c7] RIP: 0010:playback_prep_freqn+0x11c/0x4a0 sound/usb/usx2y/usb_stream.c:33 Call Trace: <IRQ> stream_start+0x5dc/0x8d0 sound/usb/usx2y/usb_stream.c:596 i_capture_start+0x3da/0x710 sound/usb/usx2y/usb_stream.c:654 __usb_hcd_giveback_urb+0x238/0x550 drivers/usb/core/hcd.c:1657 usb_giveback_urb_bh+0x20b/0x530 drivers/usb/core/hcd.c:1691 tasklet_hi_action+0xa/0x20 kernel/softirq.c:994 handle_softirqs+0x16f/0x440 kernel/softirq.c:645 </IRQ> The four URBs referenced by these pointers are allocated long before and do not depend on any transfer state, so assign them before the submit loop. Keeping the assignment inside the retry path also restores a well-defined URB rotation when the start frame mismatch handling kills and resubmits the streams.
Références
- https://git.kernel.org/stable/c/c5bb11528ece8b4ac054bb7ea48fc5879c0e3b6a
- https://git.kernel.org/stable/c/b400a65c42b579708794a61f2de7ab1ae65612f9
- https://git.kernel.org/stable/c/48d692f985ef4bc6d39b7243b945a8e06910e8ae
- https://git.kernel.org/stable/c/61362cfa989db8761c5876f09f90c3d5d7b93fc9
- https://git.kernel.org/stable/c/cc826d8f6074305af7bf1d2b7c13564d194db914
- https://git.kernel.org/stable/c/1f32f490350fae3d64f60b5ab9b02e5254fa0a90
- https://git.kernel.org/stable/c/aa91b5324b5c856e18a9d356df875b29fbedd33a
- https://git.kernel.org/stable/c/ceb0d8c22473933099b46cec70639d0f1f7c68ad
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-128493
- GCVE · GCVE-0-2026-99316
Avis du CERT-FR
- CERTFR-2026-AVI-1679 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1676 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1638 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 030a07e441296c372f946cd4065b5d831d8dc40c < c5bb11528ece8b4ac054bb7ea48fc5879c0e3b6a affectée : ≥ 030a07e441296c372f946cd4065b5d831d8dc40c < b400a65c42b579708794a61f2de7ab1ae65612f9 affectée : ≥ 030a07e441296c372f946cd4065b5d831d8dc40c < 48d692f985ef4bc6d39b7243b945a8e06910e8ae affectée : ≥ 030a07e441296c372f946cd4065b5d831d8dc40c < 61362cfa989db8761c5876f09f90c3d5d7b93fc9 affectée : ≥ 030a07e441296c372f946cd4065b5d831d8dc40c < cc826d8f6074305af7bf1d2b7c13564d194db914 affectée : ≥ 030a07e441296c372f946cd4065b5d831d8dc40c < 1f32f490350fae3d64f60b5ab9b02e5254fa0a90 affectée : ≥ 030a07e441296c372f946cd4065b5d831d8dc40c < aa91b5324b5c856e18a9d356df875b29fbedd33a affectée : ≥ 030a07e441296c372f946cd4065b5d831d8dc40c < ceb0d8c22473933099b46cec70639d0f1f7c68ad Autres versions : non affectée |
| Linux · Linux | affectée : 2.6.28 non affectée : ≥ 0 < 2.6.28 non affectée : ≥ 5.10.275 ≤ 5.10.* non affectée : ≥ 5.15.226 ≤ 5.15.* non affectée : ≥ 6.1.193 ≤ 6.1.* non affectée : ≥ 6.6.163 ≤ 6.6.* non affectée : ≥ 6.12.118 ≤ 6.12.* non affectée : ≥ 6.18.64 ≤ 6.18.* non affectée : ≥ 7.3.5 ≤ 7.3.* non affectée : ≥ 7.4-rc2 ≤ * Autres versions : affectée |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |