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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-09-25T10:23:59.791Z
- Modified: 2026-10-19T10:17:59.047Z
- Weaknesses: CWE-670
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 490cb412007de593e07c1d3e2b1ec4233886707c before 990df1ba4d0805d1e7f6148c364febd2ab618766; from 490cb412007de593e07c1d3e2b1ec4233886707c before f7f7a16dd46ace4e221336a184c7806f7de19547; from 490cb412007de593e07c1d3e2b1ec4233886707c before a8bddab54aa68b407f12294acb05bd552fb6a492; from 490cb412007de593e07c1d3e2b1ec4233886707c before 5df7ecd302488287665ab9767bacba7ed7e2842f; from 490cb412007de593e07c1d3e2b1ec4233886707c before 0c5cf62e72d7a666ee4da757e122dc1600df1ecc; 6.6 (not affected: before 6.6; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)
- linux linux_kernel: from 6.6 before 6.6.158; from 6.7 before 6.12.111; from 6.13 before 6.18.53; from 6.19 before 7.2.7; 7.3

## References

- <https://git.kernel.org/stable/c/990df1ba4d0805d1e7f6148c364febd2ab618766> (patch)
- <https://git.kernel.org/stable/c/f7f7a16dd46ace4e221336a184c7806f7de19547> (patch)
- <https://git.kernel.org/stable/c/a8bddab54aa68b407f12294acb05bd552fb6a492> (patch)
- <https://git.kernel.org/stable/c/5df7ecd302488287665ab9767bacba7ed7e2842f> (patch)
- <https://git.kernel.org/stable/c/0c5cf62e72d7a666ee4da757e122dc1600df1ecc> (patch)

## Sources

- CVE List: [CVE-2026-98051](https://www.cve.org/CVERecord?id=CVE-2026-98051), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98051](https://nvd.nist.gov/vuln/detail/CVE-2026-98051), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98051 · Whole record: https://cve.day/CVE-2026-98051.json · Rebuilt by cve.day 2026-11-25T22:59:41.037Z
