wifi: at76c50x-usb: avoid length underflow in at76_guess_freq()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fb1b50ab699211e777dca5ccfb648788b6a6e519, Kernel 4875680d1703f56afa6257ba30244f2fb44ed205, Kernel 61a799ffd1e5a4fd3702d547828b7ff3d161468e and 12 more.
In the Linux kernel, the following vulnerability has been resolved: wifi: at76c50x-usb: avoid length underflow in at76_guess_freq() at76_guess_freq() checks only that the received frame is at least a bare 802.11 header (24 bytes) before subtracting the fixed management-body offset: len -= el_off; For both beacon and probe response frames, el_off is 36. If the frame is shorter than el_off, subtracting it causes the calculated IE length to wrap. The length is eventually passed to cfg80211_find_elem_match() as a very large unsigned value, so the element walk runs beyond the RX skb. This path is reached from at76_rx_tasklet() while scanning. If the device delivers a truncated beacon or probe response, the oversized IE length causes an out-of-bounds read during scanning. Skip the IE lookup if the frame does not reach the variable elements, before subtracting el_off.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=1264b951463a00efebe1bb596499aaad620ec8af <fb1b50ab699211e777dca5ccfb648788b6a6e519, >=1264b951463a00efebe1bb596499aaad620ec8af <4875680d1703f56afa6257ba30244f2fb44ed205, >=1264b951463a00efebe1bb596499aaad620ec8af <61a799ffd1e5a4fd3702d547828b7ff3d161468e, >=1264b951463a00efebe1bb596499aaad620ec8af <b406f33d234f98c8b310fdab5cbb492d85e98e49, >=1264b951463a00efebe1bb596499aaad620ec8af <bcde7249d45f52f994a9872bedf45994472ade77, >=1264b951463a00efebe1bb596499aaad620ec8af <cb831aff2f850f72bc5ff5ad77d0a70bb5a84061, >=1264b951463a00efebe1bb596499aaad620ec8af <e165a1d295e7e814e13b0f92c86e5d48309509ce, >=1264b951463a00efebe1bb596499aaad620ec8af <f742d9c98b5c504fc9e6744eef13a721c2aea486, =2.6.30 | fb1b50ab699211e777dca5ccfb648788b6a6e519, 4875680d1703f56afa6257ba30244f2fb44ed205, 61a799ffd1e5a4fd3702d547828b7ff3d161468e, b406f33d234f98c8b310fdab5cbb492d85e98e49, bcde7249d45f52f994a9872bedf45994472ade77, cb831aff2f850f72bc5ff5ad77d0a70bb5a84061, e165a1d295e7e814e13b0f92c86e5d48309509ce, f742d9c98b5c504fc9e6744eef13a721c2aea486 |
| linux-kernel: Kernel | >=5.11.0 <5.15.216, >=5.16.0 <6.1.183, >=6.13.0 <6.18.42, >=6.19.0 <7.1.6, >=6.2.0 <6.6.148, >=6.7.0 <6.12.101, >=2.6.30 <5.10.265 | 5.15.216, 6.1.183, 6.18.42, 7.1.6, 6.6.148, 6.12.101, 5.10.265 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket