Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: wifi: rsi: validate beacon length before fixed buffer copy rsi_prepare_beacon() copies the mac80211 beacon frame after FRAME_DESC_SZ into a management skb whose usable tailroom may be smaller than MAX_MGMT_PKT_SIZE after alignment. Validate the beacon length against the actual tailroom before the copy and skb_put(). Leave ownership of the management skb with the caller on error, matching the existing rsi_send_beacon() cleanup path.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected d26a9559403c7c3ec3b430f5825bc22c3d40abdb before 795ba65f46fe44061f1195951c122cc8ec685d44; affected d26a9559403c7c3ec3b430f5825bc22c3d40abdb before 66a964432b2758a4cf69962366e37581d6e70632; affected d26a9559403c7c3ec3b430f5825bc22c3d40abdb before 7f99742c3c2801f8033d8b7a0a58254d7f24fb1e; affected d26a9559403c7c3ec3b430f5825bc22c3d40abdb before f08d7f3c916335a0e539f1c45c130615967fac47; affected d26a9559403c7c3ec3b430f5825bc22c3d40abdb before 87710ad633ce4588aec88611d0d0745eb33a6991; affected d26a9559403c7c3ec3b430f5825bc22c3d40abdb before 266f195d5a14eec6c482fd09fbc924584c3371a7; affected d26a9559403c7c3ec3b430f5825bc22c3d40abdb before 8ecdeb8b8a33b22c597299043c0dcfce50beb9ea |
| Linux / Linux | affected 4.14; unaffected 0 before 4.14; unaffected 5.10.271 through 5.10.*; unaffected 5.15.222 through 5.15.*; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/795ba65f46fe44061f1195951c122cc8ec685d44
- https://git.kernel.org/stable/c/66a964432b2758a4cf69962366e37581d6e70632
- https://git.kernel.org/stable/c/7f99742c3c2801f8033d8b7a0a58254d7f24fb1e
- https://git.kernel.org/stable/c/f08d7f3c916335a0e539f1c45c130615967fac47
- https://git.kernel.org/stable/c/87710ad633ce4588aec88611d0d0745eb33a6991
- https://git.kernel.org/stable/c/266f195d5a14eec6c482fd09fbc924584c3371a7
- https://git.kernel.org/stable/c/8ecdeb8b8a33b22c597299043c0dcfce50beb9ea