wifi: rsi: validate beacon length before fixed buffer copy
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d26a9559403c7c3ec3b430f5825bc22c3d40abdb · < 266f195d5a14eec6c482fd09fbc924584c3371a7| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's rsi Wi-Fi driver copies a beacon frame into a management buffer without checking whether the frame fits the available tailroom. An oversized beacon could exceed that space during beacon preparation; the input does not establish whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels with the rsi Wi-Fi driver should check their kernel versions; affected versions were not provided.