wifi: mac80211: bounds-check link_id in ieee80211_ml_reconfiguration
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: bounds-check link_id in ieee80211_ml_reconfiguration
link_id is taken from the ML Reconfiguration element (control & 0x000f), so it can be 0..15. link_removal_timeout[] has IEEE80211_MLD_MAX_NUM_LINKS (15) elements, so index 15 is out-of-bounds. Skip subelements with link_id >= IEEE80211_MLD_MAX_NUM_LINKS to avoid a stack out-of-bounds write.
From the CVE record · Linux
The Linux kernel's mac80211 code does not bounds-check a link ID from an ML Reconfiguration element. Processing an element with link ID 15 can write past a stack array. The input does not specify authentication requirements or whether user interaction is needed.
Engineers running Linux kernels with the affected mac80211 code should check their versions against the vendor advisory; affected versions are not specified.