---
id: CVE-2026-98051
title: |-
  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 prod…
summary: |-
  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 prod…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-670
  - CWE-120
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 6.6, < 6.6.158'
  - 'linux_kernel >= 6.7, < 6.12.111'
  - 'linux_kernel >= 6.13, < 6.18.53'
  - 'linux_kernel >= 6.19, < 7.2.7'
  - linux_kernel = 7.3
patched:
  - linux_kernel 7.2.7
published: '2026-09-25'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T12:59:12.623'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98051'
references:
  - url: 'https://git.kernel.org/stable/c/0c5cf62e72d7a666ee4da757e122dc1600df1ecc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5df7ecd302488287665ab9767bacba7ed7e2842f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/990df1ba4d0805d1e7f6148c364febd2ab618766'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a8bddab54aa68b407f12294acb05bd552fb6a492'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f7f7a16dd46ace4e221336a184c7806f7de19547'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98051.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-98051'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2541311'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-98051'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98051'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98051.mbox
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00122
epssPercentile: 0.0197
ingestedAt: '2026-09-25T11:06:38.846Z'
---

## Overview

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.

## Affected

- `linux_kernel >= 6.6, < 6.6.158`
- `linux_kernel >= 6.7, < 6.12.111`
- `linux_kernel >= 6.13, < 6.18.53`
- `linux_kernel >= 6.19, < 7.2.7`
- `linux_kernel = 7.3`

## Remediation

Upgrade past the affected range:

- `linux_kernel 7.2.7`

## Vendor advisories

- **Red Hat VEX** · Moderate · updated 2026-09-28 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98051.json)
