Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1264b951463a00efebe1bb596499aaad620ec8af before cb831aff2f850f72bc5ff5ad77d0a70bb5a84061; affected 1264b951463a00efebe1bb596499aaad620ec8af before 4875680d1703f56afa6257ba30244f2fb44ed205; affected 1264b951463a00efebe1bb596499aaad620ec8af before b406f33d234f98c8b310fdab5cbb492d85e98e49; affected 1264b951463a00efebe1bb596499aaad620ec8af before e165a1d295e7e814e13b0f92c86e5d48309509ce; affected 1264b951463a00efebe1bb596499aaad620ec8af before bcde7249d45f52f994a9872bedf45994472ade77; affected 1264b951463a00efebe1bb596499aaad620ec8af before fb1b50ab699211e777dca5ccfb648788b6a6e519; affected 1264b951463a00efebe1bb596499aaad620ec8af before f742d9c98b5c504fc9e6744eef13a721c2aea486; affected 1264b951463a00efebe1bb596499aaad620ec8af before 61a799ffd1e5a4fd3702d547828b7ff3d161468e |
| Linux / Linux | affected 2.6.30; unaffected 0 before 2.6.30; unaffected 5.10.265 through 5.10.*; unaffected 5.15.216 through 5.15.*; unaffected 6.1.183 through 6.1.*; unaffected 6.6.148 through 6.6.*; unaffected 6.12.101 through 6.12.*; unaffected 6.18.42 through 6.18.*; unaffected 7.1.6 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/cb831aff2f850f72bc5ff5ad77d0a70bb5a84061
- https://git.kernel.org/stable/c/4875680d1703f56afa6257ba30244f2fb44ed205
- https://git.kernel.org/stable/c/b406f33d234f98c8b310fdab5cbb492d85e98e49
- https://git.kernel.org/stable/c/e165a1d295e7e814e13b0f92c86e5d48309509ce
- https://git.kernel.org/stable/c/bcde7249d45f52f994a9872bedf45994472ade77
- https://git.kernel.org/stable/c/fb1b50ab699211e777dca5ccfb648788b6a6e519
- https://git.kernel.org/stable/c/f742d9c98b5c504fc9e6744eef13a721c2aea486
- https://git.kernel.org/stable/c/61a799ffd1e5a4fd3702d547828b7ff3d161468e
ADP enrichment
No English description supplied.
No references supplied.