wifi: cfg80211: validate assoc response length before status and IE access
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel b760113aeca2e9362d56bf9e9263373ffe6c8eb3, Kernel 3bcaaaa4ad334053ceea2ea2f0623f22afe2e1ac, Kernel 71be658246c903b9e96976a23c23800675896a1b and 6 more.
In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: validate assoc response length before status and IE access cfg80211_rx_assoc_resp() initialises the status and response-IE fields of cfg80211_connect_resp_params from the management frame before proving that the frame is long enough for those offsets. S1G and regular association responses also have different IE offsets, but the S1G path only patched resp_ie after the unsafe initialiser had already run. Defer resp_ie, resp_ie_len, and status to after the link-iteration loop. Use a bool to remember whether the frame is S1G, then validate the appropriate minimum length and set all three fields in a single if/else block. Funnel short-frame and SME-reject cleanup through a shared free_bss label for the abandon paths.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6829c878ecd24ff0ae41b4668c7e9d0f11b66942 <b760113aeca2e9362d56bf9e9263373ffe6c8eb3, >=6829c878ecd24ff0ae41b4668c7e9d0f11b66942 <3bcaaaa4ad334053ceea2ea2f0623f22afe2e1ac, >=6829c878ecd24ff0ae41b4668c7e9d0f11b66942 <71be658246c903b9e96976a23c23800675896a1b, >=6829c878ecd24ff0ae41b4668c7e9d0f11b66942 <78ac450ad4624d6b2999cb4eeb28916767f81247, >=6829c878ecd24ff0ae41b4668c7e9d0f11b66942 <a57310600c1e2b9ada0f37c96e8f48aef47d3093, =2.6.32 | b760113aeca2e9362d56bf9e9263373ffe6c8eb3, 3bcaaaa4ad334053ceea2ea2f0623f22afe2e1ac, 71be658246c903b9e96976a23c23800675896a1b, 78ac450ad4624d6b2999cb4eeb28916767f81247, a57310600c1e2b9ada0f37c96e8f48aef47d3093 |
| linux-kernel: Kernel | >=6.13.0 <6.18.53, >=6.2.0 <6.6.158, >=6.7.0 <6.12.111, >=2.6.32 <6.1.189 | 6.18.53, 6.6.158, 6.12.111, 6.1.189 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket