net: bcmgenet: unshare the skb before writing the control block (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.21 % · centile 12 ()
- É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: bcmgenet: unshare the skb before writing the control block bcmgenet stores first_cb, last_cb and bytes_sent in the skb control block and reads them back on completion to free the skb and credit BQL. ether_setup() leaves IFF_TX_SKB_SHARING set, so the stack can resubmit a shared skb that is still in the ring. The next transmit overwrites last_cb, so the earlier slots complete without crediting their bytes and BQL stalls the queue until the watchdog resets it. Unshare the skb before writing the control block. Reproduce with pktgen in clone_skb mode, which hands the driver the same skb while earlier copies are still in the ring: modprobe pktgen pg=/proc/net/pktgen echo "add_device eth0" > $pg/kpktgend_0 echo "dst_mac AA:BB:CC:DD:EE:FF" > $pg/eth0 echo "dst 192.0.2.1" > $pg/eth0 echo "clone_skb 8" > $pg/eth0 echo "count 0" > $pg/eth0 echo start > $pg/pgctrl & sleep 5 echo stop > $pg/pgctrl wait cat /sys/class/net/eth0/queues/tx-0/byte_queue_limits/inflight inflight stays nonzero on the now idle queue. clone_skb 0 leaves it at zero.
Références
- https://git.kernel.org/stable/c/c13d43c92bc89f494592a60e624a7c0c42218d36
- https://git.kernel.org/stable/c/e5aa07c62e4fda1206d314c9ea36d67cd6b95cad
- https://git.kernel.org/stable/c/2e5fb9dd3aca0da534793ad8123b81deff396efe
- https://git.kernel.org/stable/c/40c04abcbc34e3afe338f41dae851ecbd72852ac
- https://git.kernel.org/stable/c/7939ad3b4db9eadf45a64f0524f38337a9494672
- https://git.kernel.org/stable/c/89771ce4f8f67dcffae561b2ccac95c0f6e3aa01
Références européennes
- ENISA EUVD · EUVD-2026-111944
- GCVE · GCVE-0-2026-99192
Avis du CERT-FR
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1595 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1473 — 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 : ≥ f48bed16a756f5bc0244acd581f61968f7d7c2a4 < c13d43c92bc89f494592a60e624a7c0c42218d36 affectée : ≥ f48bed16a756f5bc0244acd581f61968f7d7c2a4 < e5aa07c62e4fda1206d314c9ea36d67cd6b95cad affectée : ≥ f48bed16a756f5bc0244acd581f61968f7d7c2a4 < 2e5fb9dd3aca0da534793ad8123b81deff396efe affectée : ≥ f48bed16a756f5bc0244acd581f61968f7d7c2a4 < 40c04abcbc34e3afe338f41dae851ecbd72852ac affectée : ≥ f48bed16a756f5bc0244acd581f61968f7d7c2a4 < 7939ad3b4db9eadf45a64f0524f38337a9494672 affectée : ≥ f48bed16a756f5bc0244acd581f61968f7d7c2a4 < 89771ce4f8f67dcffae561b2ccac95c0f6e3aa01 affectée : fb4ca2b4bc6712a6ad635df5b9b41131846589f9 affectée : ≥ 3.16.50 < 3.17 Autres versions : non affectée |
| Linux · Linux | affectée : 4.13 non affectée : ≥ 0 < 4.13 non affectée : ≥ 6.1.191 ≤ 6.1.* non affectée : ≥ 6.6.161 ≤ 6.6.* non affectée : ≥ 6.12.115 ≤ 6.12.* non affectée : ≥ 6.18.59 ≤ 6.18.* non affectée : ≥ 7.2.13 ≤ 7.2.* non affectée : ≥ 7.3 ≤ * 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 |