Skip to contentSkip to conversation

CVE-2026-98051: net: bcmasp: fix tx_spb_ring_full() checking same slot cnt times

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 25

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

net: bcmasp: fix tx_spb_ring_full() checking same slot cnt times

The loop initialised next_index from intf->tx_spb_index on every iteration, so incr_ring() always produced the same result and only one slot was ever tested. Move the initialisation before the loop so each iteration advances next_index and the function correctly checks that cnt consecutive descriptor slots are available before allowing a new transmission.

The Linux kernel CVE team has assigned CVE-2026-98051 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.6 with commit 490cb412007de593e07c1d3e2b1ec4233886707c and fixed in 6.12.111 with commit f7f7a16dd46ace4e221336a184c7806f7de19547
	Issue introduced in 6.6 with commit 490cb412007de593e07c1d3e2b1ec4233886707c and fixed in 6.18.53 with commit a8bddab54aa68b407f12294acb05bd552fb6a492
	Issue introduced in 6.6 with commit 490cb412007de593e07c1d3e2b1ec4233886707c and fixed in 7.2.7 with commit 5df7ecd302488287665ab9767bacba7ed7e2842f
	Issue introduced in 6.6 with commit 490cb412007de593e07c1d3e2b1ec4233886707c and fixed in 7.3-rc3 with commit 0c5cf62e72d7a666ee4da757e122dc1600df1ecc

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-98051

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/f7f7a16dd46ace4e221336a184c7806f7de19547
	https://git.kernel.org/stable/c/a8bddab54aa68b407f12294acb05bd552fb6a492
	https://git.kernel.org/stable/c/5df7ecd302488287665ab9767bacba7ed7e2842f
	https://git.kernel.org/stable/c/0c5cf62e72d7a666ee4da757e122dc1600df1ecc