wifi: cfg80211: fix out-of-bounds access during multi-link element defragmentation
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: cfg80211: fix out-of-bounds access during multi-link element defragmentation
Currently during the multi-link element defragmentation process, the multi-link element length added to the total IEs length when calculating the length of remaining IEs after the multi-link element in cfg80211_defrag_mle(). This could lead to out-of-bounds access if the multi-link element or its corresponding fragment elements are the last elements in the IEs buffer.
To address this issue, correctly calculate the remaining IEs length by deducting the multi-link element end offset from total IEs end offset.
From the CVE record · Linux
The Linux kernel’s cfg80211 code can access data out of bounds while defragmenting a Wi-Fi multi-link element if that element or its fragments are last in the IEs buffer. The input does not specify how an attacker could trigger this condition or whether authentication or user interaction is required.
Anyone running the Linux kernel should check whether their version includes the cfg80211 fix; affected versions are not specified.