- Accueil
- Vulnérabilités
- CVE-2026-143180
CVE-2026-143180
ALSA: usb-audio: Drop capture packets with bogus actual_length
Résumé
In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Drop capture packets with bogus actual_length retire_capture_urb() copies urb->iso_frame_desc[i].actual_length bytes out of urb->transfer_buffer at the packet's offset, but never checks that value against the requested packet length. A host controller reporting more data than requested makes memcpy() read past the end of the URB transfer buffer. Commit 06be918062ad ("ALSA: usb-audio: Bound packet copies by the PCM buffer size") clamps the count to the PCM ring buffer size, which protects the destination. The source slot is only ep->curpacksize bytes per packet, though, so the over-read remains. This was hit on an ARM32 system (vendor 5.4 kernel; the code path is unchanged in mainline) with a full-speed UAC1 microphone behind a high-speed hub, i.e. the EHCI siTD path. sitd_complete() computes actual_length as desc->length - SITD_LENGTH(t); the controller reported a remaining length larger than the programmed one, the value wrapped to ~4G, and the capture copy faulted on the first unmapped page after the URB buffer: Unable to handle kernel paging request at virtual address e8756000 Internal error: Oops: 7 [#1] PREEMPT SMP ARM r3 : 00000000 r2 : 0001e700 r1 : e8756000 r0 : e878fc80 Code: ba000002 f5d1f03c f5d1f05c f5d1f07c (e8b151f8) A packet can never legitimately carry more than its requested length, so warn and skip it instead of copying.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | 2.6.12 |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://git.kernel.org/stable/c/8967e16646a9c67ff2c45558dd15ee4fd4fb1fd3
- https://git.kernel.org/stable/c/1320aebbe876c69613c52b01cf8b1d233ffca5ab
- https://git.kernel.org/stable/c/e4e81d0612acc7c1a1d4a744d0cdfba1308c1b16
- https://git.kernel.org/stable/c/63bf066480ffd6f6eb5910736ff5c1b54cceb99a
- https://git.kernel.org/stable/c/df8865d0e977fe72497280aebdec66857d533a08
- https://git.kernel.org/stable/c/eed0e9583a290e6adbe3a8480bdae911f31e1ed9
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)