mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00

* 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)
* mac80211: refresh patches
355-wifi-cfg80211-fix-BSS-refcounting-bugs.patch - 5a52384a51
Co-authored-by: Felix Fietkau <nbd@nbd.name>
Co-authored-by: 1054009064 <1054009064@users.noreply.github.com>
15 lines
440 B
Diff
15 lines
440 B
Diff
--- a/drivers/net/wireless/ath/ath10k/core.c
|
|
+++ b/drivers/net/wireless/ath/ath10k/core.c
|
|
@@ -3333,7 +3333,11 @@ static int ath10k_core_probe_fw(struct a
|
|
ath10k_debug_print_board_info(ar);
|
|
}
|
|
|
|
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,18,0)
|
|
device_get_mac_address(ar->dev, ar->mac_addr, sizeof(ar->mac_addr));
|
|
+#else
|
|
+ device_get_mac_address(ar->dev, ar->mac_addr);
|
|
+#endif
|
|
|
|
of_get_mac_address(ar->dev->of_node, ar->mac_addr);
|
|
|