net: bcmasp: fix tx_spb_ring_full() checking same slot cnt times
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.111, 6.18.53, 6.6.158, 7.2.7
- CVEs
- CVE-2026-98051
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 19:46 UTC · Revision 1
Source evidence
net: bcmasp: fix tx_spb_ring_full() checking same slot cnt times
core-osv · Original sourcePublished 25 Sept 2026, 10:23 UTC
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.
osv:CVE-2026-98051
Kernel
Fixed versions: 6.6.158, 6.12.111, 6.18.53, 7.2.7
Complete source record
{
"id": "9035ddcde0e5302617571388c5508ed60afa90c61f2eb847bca754ded68d87a7",
"url": "https://osv.dev/vulnerability/CVE-2026-98051",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net: bcmasp: fix tx_spb_ring_full() checking same slot cnt times",
"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 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.",
"evidence": "osv:CVE-2026-98051",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.158",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.111",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.53",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-98051",
"aliases": [
"CVE-2026-98051"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "490cb412007de593e07c1d3e2b1ec4233886707c"
},
{
"fixed": "990df1ba4d0805d1e7f6148c364febd2ab618766"
},
{
"fixed": "f7f7a16dd46ace4e221336a184c7806f7de19547"
},
{
"fixed": "a8bddab54aa68b407f12294acb05bd552fb6a492"
},
{
"fixed": "5df7ecd302488287665ab9767bacba7ed7e2842f"
},
{
"fixed": "0c5cf62e72d7a666ee4da757e122dc1600df1ecc"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98051.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.6.0"
},
{
"fixed": "6.6.158"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.111"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.53"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98051.json"
}
}
],
"modified": "2026-10-28T02:30:38.770173662Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/0c5cf62e72d7a666ee4da757e122dc1600df1ecc",
"https://git.kernel.org/stable/c/5df7ecd302488287665ab9767bacba7ed7e2842f",
"https://git.kernel.org/stable/c/990df1ba4d0805d1e7f6148c364febd2ab618766",
"https://git.kernel.org/stable/c/a8bddab54aa68b407f12294acb05bd552fb6a492",
"https://git.kernel.org/stable/c/f7f7a16dd46ace4e221336a184c7806f7de19547",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98051.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-98051",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98051.json"
}
},
"related_cves": [
{
"value": "CVE-2026-98051",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 506324,
"published_at": "2026-09-25T10:23:59.791+00:00"
}