net: usb: pegasus: do not advance rx_skb->data on dropped frames (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.20 % · centile 11 ()
- É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: net: usb: pegasus: do not advance rx_skb->data on dropped frames For the 0x8513 chip, read_bulk_callback() skips the 2-byte receive header by advancing pegasus->rx_skb->data in place. This is done before the pkt_len > PEGASUS_MTU check, and when that check drops the frame the good path resubmits the same skb with the advanced rx_skb->data as the transfer buffer, still PEGASUS_MTU bytes long. Every frame with an oversized length field therefore moves the receive buffer two more bytes towards the end of the skb data area. A device that keeps sending such frames makes the host controller write received data over skb_shared_info and past the end of the allocation, and the corrupted skb_shared_info is used when the skb is eventually freed. With an emulated device sending frames filled with 0x5a on a KASAN kernel: BUG: KASAN: slab-out-of-bounds in dummy_timer+0xade/0x3f00 [dummy_hcd] Write of size 1536 at addr ffff888105821202 by task swapper/1/0 ... Oops: general protection fault, probably for non-canonical address 0xeb4b474b4b4b4b4c: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: maybe wild-memory-access in range [0x5a5a5a5a5a5a5a60-0x5a5a5a5a5a5a5a67] RIP: 0010:skb_release_data+0x36f/0x800 Only skip the header with skb_reserve() once the frame is going to be passed up, so the receive buffer always starts at the beginning of the skb data area. Unlike the old pointer adjustment, skb_reserve() also moves skb->tail, so the two header bytes now count against the buffer size: lower the length limit for the 0x8513 accordingly, otherwise a pkt_len of PEGASUS_MTU - 1 or PEGASUS_MTU would trip skb_over_panic(). Found by code review with LLM assistance and reproduced with an emulated USB device (raw-gadget + dummy_hcd).
Références
- https://git.kernel.org/stable/c/f6b5c479ca5515df44462067dc82ba9a1712ded6
- https://git.kernel.org/stable/c/113e14871483f3ba7e705de75e18f9f0a9a8c846
- https://git.kernel.org/stable/c/df0a69ead4f427570b557cd0de447f1f770795e5
- https://git.kernel.org/stable/c/d1b9323203bff9f06a3887715e2320cb6b6b0b6b
- https://git.kernel.org/stable/c/05e204042f213f9d862c6901f53cece61aa5209c
- https://git.kernel.org/stable/c/00c0c940c1c8941497a8cf511edc95fdde8c6382
- https://git.kernel.org/stable/c/6af7578840bde82e6cd5de3235502c116bcc196c
- https://git.kernel.org/stable/c/bfa09dccf98cf78dd9282259b2140bd1472f5ae9
Références européennes
- ENISA EUVD · EUVD-2026-130278
- GCVE · GCVE-0-2026-99554
Avis du CERT-FR
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < f6b5c479ca5515df44462067dc82ba9a1712ded6 affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 113e14871483f3ba7e705de75e18f9f0a9a8c846 affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < df0a69ead4f427570b557cd0de447f1f770795e5 affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < d1b9323203bff9f06a3887715e2320cb6b6b0b6b affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 05e204042f213f9d862c6901f53cece61aa5209c affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 00c0c940c1c8941497a8cf511edc95fdde8c6382 affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 6af7578840bde82e6cd5de3235502c116bcc196c affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < bfa09dccf98cf78dd9282259b2140bd1472f5ae9 Autres versions : non affectée |
| Linux · Linux | affectée : 2.6.12 non affectée : ≥ 0 < 2.6.12 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.117 ≤ 6.12.* non affectée : ≥ 6.18.61 ≤ 6.18.* non affectée : ≥ 7.3.2 ≤ 7.3.* non affectée : ≥ 7.4-rc1 ≤ * 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 |