{"id":"CVE-2026-98051","state":"PUBLISHED","title":"net: bcmasp: fix tx_spb_ring_full() checking same slot cnt times","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: bcmasp: fix tx_spb_ring_full() checking same slot cnt times\n\nThe loop initialised next_index from intf->tx_spb_index on every\niteration, so incr_ring() always produced the same result and only\none slot was ever tested.  Move the initialisation before the loop\nso each iteration advances next_index and the function correctly\nchecks that cnt consecutive descriptor slots are available before\nallowing a new transmission.","publishedAt":"2026-09-25T10:23:59.791Z","updatedAt":"2026-10-19T09:12:57.148Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"990df1ba4d0805d1e7f6148c364febd2ab618766","versionType":"git"},{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"f7f7a16dd46ace4e221336a184c7806f7de19547","versionType":"git"},{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"a8bddab54aa68b407f12294acb05bd552fb6a492","versionType":"git"},{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"5df7ecd302488287665ab9767bacba7ed7e2842f","versionType":"git"},{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"0c5cf62e72d7a666ee4da757e122dc1600df1ecc","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c"]}],"references":["https://git.kernel.org/stable/c/990df1ba4d0805d1e7f6148c364febd2ab618766","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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98051.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98051","state":"PUBLISHED","datePublished":"2026-09-25T10:23:59.791Z","dateUpdated":"2026-10-19T09:12:57.148Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:19:56.072Z"},"containers":{"cna":{"title":"net: bcmasp: fix tx_spb_ring_full() checking same slot cnt times","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: bcmasp: fix tx_spb_ring_full() checking same slot cnt times\n\nThe loop initialised next_index from intf->tx_spb_index on every\niteration, so incr_ring() always produced the same result and only\none slot was ever tested.  Move the initialisation before the loop\nso each iteration advances next_index and the function correctly\nchecks that cnt consecutive descriptor slots are available before\nallowing a new transmission."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"990df1ba4d0805d1e7f6148c364febd2ab618766","versionType":"git"},{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"f7f7a16dd46ace4e221336a184c7806f7de19547","versionType":"git"},{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"a8bddab54aa68b407f12294acb05bd552fb6a492","versionType":"git"},{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"5df7ecd302488287665ab9767bacba7ed7e2842f","versionType":"git"},{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"0c5cf62e72d7a666ee4da757e122dc1600df1ecc","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/990df1ba4d0805d1e7f6148c364febd2ab618766"},{"url":"https://git.kernel.org/stable/c/f7f7a16dd46ace4e221336a184c7806f7de19547"},{"url":"https://git.kernel.org/stable/c/a8bddab54aa68b407f12294acb05bd552fb6a492"},{"url":"https://git.kernel.org/stable/c/5df7ecd302488287665ab9767bacba7ed7e2842f"},{"url":"https://git.kernel.org/stable/c/0c5cf62e72d7a666ee4da757e122dc1600df1ecc"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:12:57.148Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.6.158"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.12.111"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"7.2.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}