mac80211: backport security fixes
authorFelix Fietkau <nbd@nbd.name>
Thu, 13 Oct 2022 12:29:53 +0000 (14:29 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 13 Oct 2022 13:10:56 +0000 (15:10 +0200)
commitf1de43d0a045a154c74281bc60bf1c44c990071b
tree12445d4bcd3a18a65346e5c24cb6eea22927b348
parenta077c6da98c80d66c40a0760bdeef376c82bc656
mac80211: backport security fixes

This mainly affects scanning and beacon parsing, especially with MBSSID enabled

Fixes: CVE-2022-41674
Fixes: CVE-2022-42719
Fixes: CVE-2022-42720
Fixes: CVE-2022-42721
Fixes: CVE-2022-42722
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry-picked from commit 26f400210d6b3780fcc0deb89b9741837df9c8b8)
15 files changed:
package/kernel/mac80211/patches/subsys/346-mac80211-mesh-clean-up-rx_bcn_presp-API.patch [new file with mode: 0644]
package/kernel/mac80211/patches/subsys/347-mac80211-move-CRC-into-struct-ieee802_11_elems.patch [new file with mode: 0644]
package/kernel/mac80211/patches/subsys/348-mac80211-mlme-find-auth-challenge-directly.patch [new file with mode: 0644]
package/kernel/mac80211/patches/subsys/349-mac80211-always-allocate-struct-ieee802_11_elems.patch [new file with mode: 0644]
package/kernel/mac80211/patches/subsys/350-mac80211-fix-memory-leaks-with-element-parsing.patch [new file with mode: 0644]
package/kernel/mac80211/patches/subsys/351-wifi-cfg80211-fix-u8-overflow-in-cfg80211_update_not.patch [new file with mode: 0644]
package/kernel/mac80211/patches/subsys/352-wifi-cfg80211-mac80211-reject-bad-MBSSID-elements.patch [new file with mode: 0644]
package/kernel/mac80211/patches/subsys/353-wifi-mac80211-fix-MBSSID-parsing-use-after-free.patch [new file with mode: 0644]
package/kernel/mac80211/patches/subsys/354-wifi-cfg80211-ensure-length-byte-is-present-before-a.patch [new file with mode: 0644]
package/kernel/mac80211/patches/subsys/355-wifi-cfg80211-fix-BSS-refcounting-bugs.patch [new file with mode: 0644]
package/kernel/mac80211/patches/subsys/356-wifi-cfg80211-avoid-nontransmitted-BSS-list-corrupti.patch [new file with mode: 0644]
package/kernel/mac80211/patches/subsys/357-wifi-mac80211_hwsim-avoid-mac80211-warning-on-bad-ra.patch [new file with mode: 0644]
package/kernel/mac80211/patches/subsys/358-wifi-mac80211-fix-crash-in-beacon-protection-for-P2P.patch [new file with mode: 0644]
package/kernel/mac80211/patches/subsys/359-wifi-cfg80211-update-hidden-BSSes-to-avoid-WARN_ON.patch [new file with mode: 0644]
package/kernel/mac80211/patches/subsys/362-wifi-mac80211-Fix-UAF-in-ieee80211_scan_rx.patch