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.
https://git.kernel.org/stable/c/8ecdeb8b8a33b22c597299043c0dcfce50beb9ea
https://git.kernel.org/stable/c/87710ad633ce4588aec88611d0d0745eb33a6991
https://git.kernel.org/stable/c/266f195d5a14eec6c482fd09fbc924584c3371a7