net: bcmasp: fix tx_spb_ring_full() checking same slot cnt times
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.158, 6.12.111, 6.18.53, 7.2.7
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 490cb412007de593e07c1d3e2b1ec4233886707c · fixed in 990df1ba4d0805d1e7f6148c364febd2ab618766; From 490cb412007de593e07c1d3e2b1ec4233886707c · fixed in f7f7a16dd46ace4e221336a184c7806f7de19547; From 490cb412007de593e07c1d3e2b1ec4233886707c · fixed in a8bddab54aa68b407f12294acb05bd552fb6a492; From 490cb412007de593e07c1d3e2b1ec4233886707c · fixed in 5df7ecd302488287665ab9767bacba7ed7e2842f; From 490cb412007de593e07c1d3e2b1ec4233886707c · fixed in 0c5cf62e72d7a666ee4da757e122dc1600df1ecc
- Linux Linux
6.6
- KernelLinux
From 6.6.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.53; From 6.19.0 · fixed in 7.2.7