-

CVE-2026-99192

net: bcmgenet: unshare the skb before writing the control block

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version f48bed16a756f5bc0244acd581f61968f7d7c2a4
Version < c13d43c92bc89f494592a60e624a7c0c42218d36
Status affected
Version f48bed16a756f5bc0244acd581f61968f7d7c2a4
Version < e5aa07c62e4fda1206d314c9ea36d67cd6b95cad
Status affected
Version f48bed16a756f5bc0244acd581f61968f7d7c2a4
Version < 2e5fb9dd3aca0da534793ad8123b81deff396efe
Status affected
Version f48bed16a756f5bc0244acd581f61968f7d7c2a4
Version < 40c04abcbc34e3afe338f41dae851ecbd72852ac
Status affected
Version f48bed16a756f5bc0244acd581f61968f7d7c2a4
Version < 7939ad3b4db9eadf45a64f0524f38337a9494672
Status affected
Version f48bed16a756f5bc0244acd581f61968f7d7c2a4
Version < 89771ce4f8f67dcffae561b2ccac95c0f6e3aa01
Status affected
Version fb4ca2b4bc6712a6ad635df5b9b41131846589f9
Status affected
Version 3.16.50
Version < 3.17
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 4.13
Status affected
Version 0
Version < 4.13
Status unaffected
Version <= 6.1.*
Version 6.1.191
Status unaffected
Version <= 6.6.*
Version 6.6.161
Status unaffected
Version <= 6.12.*
Version 6.12.115
Status unaffected
Version <= 6.18.*
Version 6.18.59
Status unaffected
Version <= 7.2.*
Version 7.2.13
Status unaffected
Version <= *
Version 7.3
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.17% 0.066
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/40c04abcbc34e3afe338f41dae851ecbd72852ac
https://git.kernel.org/stable/c/7939ad3b4db9eadf45a64f0524f38337a9494672
https://git.kernel.org/stable/c/89771ce4f8f67dcffae561b2ccac95c0f6e3aa01
https://git.kernel.org/stable/c/2e5fb9dd3aca0da534793ad8123b81deff396efe
https://git.kernel.org/stable/c/c13d43c92bc89f494592a60e624a7c0c42218d36
https://git.kernel.org/stable/c/e5aa07c62e4fda1206d314c9ea36d67cd6b95cad