openwrt/package/kernel/mac80211/patches/ath
Felix Fietkau 025bd93f36 mac80211: backport upstream fixes for FragAttacks
From the patch series description:

Several security issues in the 802.11 implementations were found by
Mathy Vanhoef (New York University Abu Dhabi), who has published all
the details at

	https://papers.mathyvanhoef.com/usenix2021.pdf

Specifically, the following CVEs were assigned:

 * CVE-2020-24586 - Fragmentation cache not cleared on reconnection
 * CVE-2020-24587 - Reassembling fragments encrypted under different
                    keys
 * CVE-2020-24588 - Accepting non-SPP A-MSDU frames, which leads to
                    payload being parsed as an L2 frame under an
                    A-MSDU bit toggling attack
 * CVE-2020-26139 - Forwarding EAPOL from unauthenticated sender
 * CVE-2020-26140 - Accepting plaintext data frames in protected
                    networks
 * CVE-2020-26141 - Not verifying TKIP MIC of fragmented frames
 * CVE-2020-26142 - Processing fragmented frames as full frames
 * CVE-2020-26143 - Accepting fragmented plaintext frames in
                    protected networks
 * CVE-2020-26144 - Always accepting unencrypted A-MSDU frames that
                    start with RFC1042 header with EAPOL ethertype
 * CVE-2020-26145 - Accepting plaintext broadcast fragments as full
                    frames
 * CVE-2020-26146 - Reassembling encrypted fragments with non-consecutive
                    packet numbers
 * CVE-2020-26147 - Reassembling mixed encrypted/plaintext fragments

In general, the scope of these attacks is that they may allow an
attacker to
 * inject L2 frames that they can more or less control (depending on the
   vulnerability and attack method) into an otherwise protected network;
 * exfiltrate (some) network data under certain conditions, this is
   specific to the fragmentation issues.

A subset of these issues is known to apply to the Linux IEEE 802.11
implementation (mac80211). Where it is affected, the attached patches
fix the issues, even if not all of them reference the exact CVE IDs.

In addition, driver and/or firmware updates may be necessary, as well
as potentially more fixes to mac80211, depending on how drivers are
using it.

Specifically, for Intel devices, firmware needs to be updated to the
most recently released versions (which was done without any reference
to the security issues) to address some of the vulnerabilities.

To have a single set of patches, I'm also including patches for the
ath10k and ath11k drivers here.

We currently don't have information about how other drivers are, if
at all, affected.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-05-12 17:51:59 +02:00
..
070-ath_common_config.patch mac80211: Update to version 5.3-rc4-1 2019-08-17 13:41:16 +02:00
080-ath10k_thermal_config.patch mac80211: backport upstream fixes for FragAttacks 2021-05-12 17:51:59 +02:00
120-owl-loader-compat.patch mac80211: Update to version 5.5.19 2020-05-21 14:39:34 +02:00
201-ath5k-WAR-for-AR71xx-PCI-bug.patch
300-ath10k-add-CCMP-PN-replay-protection-for-fragmented-.patch mac80211: backport upstream fixes for FragAttacks 2021-05-12 17:51:59 +02:00
301-ath10k-drop-fragments-with-multicast-DA-for-PCIe.patch mac80211: backport upstream fixes for FragAttacks 2021-05-12 17:51:59 +02:00
302-ath10k-drop-fragments-with-multicast-DA-for-SDIO.patch mac80211: backport upstream fixes for FragAttacks 2021-05-12 17:51:59 +02:00
303-ath10k-drop-MPDU-which-has-discard-flag-set-by-firmw.patch mac80211: backport upstream fixes for FragAttacks 2021-05-12 17:51:59 +02:00
304-ath10k-Fix-TKIP-Michael-MIC-verification-for-PCIe.patch mac80211: backport upstream fixes for FragAttacks 2021-05-12 17:51:59 +02:00
305-ath10k-Validate-first-subframe-of-A-MSDU-before-proc.patch mac80211: backport upstream fixes for FragAttacks 2021-05-12 17:51:59 +02:00
350-ath9k_hw-reset-AHB-WMAC-interface-on-AR91xx.patch mac80211: Update to version 5.2.8-1 2019-08-17 13:39:14 +02:00
351-ath9k_hw-issue-external-reset-for-QCA955x.patch mac80211: Refresh patches again 2021-02-15 22:29:42 +01:00
354-ath9k-force-rx_clear-when-disabling-rx.patch
356-Revert-ath9k-interpret-requested-txpower-in-EIRP-dom.patch mac80211: Update to version 5.3-rc4-1 2019-08-17 13:41:16 +02:00
365-ath9k-adjust-tx-power-reduction-for-US-regulatory-do.patch mac80211: Update to version 5.2.8-1 2019-08-17 13:39:14 +02:00
400-ath_move_debug_code.patch mac80211: Update to version 5.6.8-1 2020-05-21 14:39:34 +02:00
401-ath9k_blink_default.patch mac80211: update to version based on 4.19-rc4 2018-09-26 16:39:44 +02:00
402-ath_regd_optional.patch mac80211: backport upstream fixes for FragAttacks 2021-05-12 17:51:59 +02:00
403-world_regd_fixup.patch mac80211: Update to version 5.5.19 2020-05-21 14:39:34 +02:00
404-regd_no_assoc_hints.patch mac80211: Update to version 5.10-rc6-1 2021-02-14 15:15:29 +01:00
405-ath_regd_us.patch mac80211: Update to version 5.2-rc7 2019-07-18 00:22:04 +02:00
406-ath_relax_default_regd.patch
410-ath9k_allow_adhoc_and_ap.patch mac80211: Update to version 5.10-rc6-1 2021-02-14 15:15:29 +01:00
411-ath5k_allow_adhoc_and_ap.patch mac80211: Update to version 5.2-rc7 2019-07-18 00:22:04 +02:00
420-ath5k_disable_fast_cc.patch
430-add_ath5k_platform.patch
431-add_platform_eeprom_support_to_ath5k.patch mac80211: Update to version 5.4-rc2 2019-10-19 12:35:55 +02:00
432-ath5k_add_pciids.patch mac80211: Update to version 5.4-rc2 2019-10-19 12:35:55 +02:00
440-ath5k_channel_bw_debugfs.patch mac80211: Update to version 5.10-rc6-1 2021-02-14 15:15:29 +01:00
450-ath9k-enabled-MFP-capability-unconditionally.patch mac80211: Update to version 5.10-rc6-1 2021-02-14 15:15:29 +01:00
500-ath9k_eeprom_debugfs.patch mac80211: Update to version 5.10.34-1 2021-05-04 22:25:43 +02:00
501-ath9k_ahb_init.patch mac80211: Update to version 5.8-rc2-1 2020-07-23 23:39:56 +02:00
510-ath9k_intr_mitigation_tweak.patch mac80211: Update to version 5.2.8-1 2019-08-17 13:39:14 +02:00
511-ath9k_reduce_rxbuf.patch
512-ath9k_channelbw_debugfs.patch mac80211: Update to version 5.10.34-1 2021-05-04 22:25:43 +02:00
513-ath9k_add_pci_ids.patch mac80211: Update to version 5.2.8-1 2019-08-17 13:39:14 +02:00
530-ath9k_extra_leds.patch mac80211: Update to version 5.10.34-1 2021-05-04 22:25:43 +02:00
531-ath9k_extra_platform_leds.patch
540-ath9k_reduce_ani_interval.patch
542-ath9k_debugfs_diag.patch mac80211: Update to version 5.10.34-1 2021-05-04 22:25:43 +02:00
543-ath9k_entropy_from_adc.patch mac80211: Update to version 5.10-rc6-1 2021-02-14 15:15:29 +01:00
544-ath9k-ar933x-usb-hang-workaround.patch mac80211: Update to version 5.2.8-1 2019-08-17 13:39:14 +02:00
545-ath9k_ani_ws_detect.patch mac80211: Update to version 5.10-rc6-1 2021-02-14 15:15:29 +01:00
547-ath9k_led_defstate_fix.patch
548-ath9k_enable_gpio_chip.patch mac80211: Update to version 5.10.34-1 2021-05-04 22:25:43 +02:00
549-ath9k_enable_gpio_buttons.patch mac80211: Update to version 5.10.34-1 2021-05-04 22:25:43 +02:00
550-ath9k-disable-bands-via-dt.patch mac80211: update to version based on 4.19-rc4 2018-09-26 16:39:44 +02:00
551-ath9k_ubnt_uap_plus_hsr.patch mac80211: backport upstream fixes for FragAttacks 2021-05-12 17:51:59 +02:00
552-ahb_of.patch mac80211: Update to version 5.10.34-1 2021-05-04 22:25:43 +02:00
553-ath9k_of_gpio_mask.patch mac80211: Update to version 5.10-rc6-1 2021-02-14 15:15:29 +01:00
921-ath10k_init_devices_synchronously.patch mac80211: Update to version 5.10-rc6-1 2021-02-14 15:15:29 +01:00
922-ath10k-increase-rx-buffer-size-to-2048.patch mac80211: backport upstream fixes for FragAttacks 2021-05-12 17:51:59 +02:00
930-ath10k_add_tpt_led_trigger.patch mac80211: Update to version 5.10.34-1 2021-05-04 22:25:43 +02:00
974-ath10k_add-LED-and-GPIO-controlling-support-for-various-chipsets.patch mac80211: backport upstream fixes for FragAttacks 2021-05-12 17:51:59 +02:00
975-ath10k-use-tpt-trigger-by-default.patch mac80211: Update to version 5.10.34-1 2021-05-04 22:25:43 +02:00
980-ath10k-fix-max-antenna-gain-unit.patch mac80211: Update to version 5.10-rc6-1 2021-02-14 15:15:29 +01:00
981-ath10k-adjust-tx-power-reduction-for-US-regulatory-d.patch mac80211: Update to version 5.10-rc6-1 2021-02-14 15:15:29 +01:00