CVE-2026-93802: wifi: rsi: validate beacon length before fixed buffer copy
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2026-93802 to this issue.
Affected and fixed versions
===========================
Fixed in 6.12.111 with commit 87710ad633ce4588aec88611d0d0745eb33a6991 Fixed in 6.18.53 with commit 266f195d5a14eec6c482fd09fbc924584c3371a7 Fixed in 7.2 with commit 8ecdeb8b8a33b22c597299043c0dcfce50beb9ea
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-93802
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/wireless/rsi/rsi_91x_hal.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/87710ad633ce4588aec88611d0d0745eb33a6991 https://git.kernel.org/stable/c/266f195d5a14eec6c482fd09fbc924584c3371a7 https://git.kernel.org/stable/c/8ecdeb8b8a33b22c597299043c0dcfce50beb9ea