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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
490cb412007de593e07c1d3e2b1ec4233886707c to < 990df1ba4d0805d1e7f6148c364febd2ab618766affected490cb412007de593e07c1d3e2b1ec4233886707c to < f7f7a16dd46ace4e221336a184c7806f7de19547affected490cb412007de593e07c1d3e2b1ec4233886707c to < a8bddab54aa68b407f12294acb05bd552fb6a492affected490cb412007de593e07c1d3e2b1ec4233886707c to < 5df7ecd302488287665ab9767bacba7ed7e2842faffected490cb412007de593e07c1d3e2b1ec4233886707c to < 0c5cf62e72d7a666ee4da757e122dc1600df1eccaffected
Linux Linux
Default version status: affected
6.6affected0 to < 6.6unaffected6.6.158 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2.7 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
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 ↗