CVE-2026-99192

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

Published Oct 28, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The bcmgenet driver in the Linux kernel incorrectly handles the socket buffer’s control block when a shared skb is transmitted. This weakness corresponds to CWE-820, which deals with improper handling of shared resources. The driver writes first_cb, last_cb and bytes_sent into the control block of a shared skb, but the IFF_TX_SKB_SHARING flag causes the stack to submit the same skb index again while earlier copies are still queued. On the next transmit the driver overwrites last_cb, so the driver sees that the packet completed without crediting its bytes to the BQL. The BQL system stops crediting the queue, the interface stalls, and only the watchdog can reset it. This flaw is a race condition that leads to a denial of service on the affected network interface.

Affected Systems

This bug impacts the Linux kernel wherever the bcmgenet driver is compiled and loaded. Any system using a bcmgenet network device, regardless of distribution, is potentially affected. The CPE string indicates all Linux kernel releases that include bcmgenet; thus all current and older kernels that ship the driver are included.

Risk and Exploitability

The EPSS score is less than 1% and the vulnerability is not listed in the CISA KEV catalog, suggesting no widespread exploitation to date. The CVSS score of 4.7 reflects a medium severity issue. The likely attack vector is the ability to generate traffic that shares skbs—either a local user running a packet generator such as pktgen or a privileged process that can inject packets. Because the flaw arises from shared skb usage, an attacker would need to force the driver to submit the same skb multiple times before its completion. No publicly available exploits have been reported, so the current risk remains theoretical but could lead to significant availability disruptions if exploited.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the bcmgenet skb unshare patch; the latest mainline releases apply the fix.
  • Disable shared skb usage on the affected interface by clearing the IFF_TX_SKB_SHARING flag, for example with ethtool or driver configuration, to prevent the driver from attempting to share skb copies.
  • Avoid using packet generators or network utilities that transmit cloned skb copies on bcmgenet interfaces; if pktgen is required, disable the clone_skb option or run it in a mode that does not clone the skb.

Generated by OpenCVE AI on November 2, 2026 at 16:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
History
Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
Weaknesses CWE-820
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
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.
Title net: bcmgenet: unshare the skb before writing the control block
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:42 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 28, 2026, 11:17 AM
Modified
Oct 30, 2026, 1:21 PM
Severity
Moderate
Public date
Oct 28, 2026, 10:35 AM