linux_dsm_epyc7002/drivers/net/wireless/intel/iwlwifi
Sara Sharon 5ab2ba9312 iwlwifi: mvm: fix security bug in PN checking
A previous patch allowed the same PN for packets originating from the
same AMSDU by copying PN only for the last packet in the series.

This however is bogus since we cannot assume the last frame will be
received on the same queue, and if it is received on a different ueue
we will end up not incrementing the PN and possibly let the next
packet to have the same PN and pass through.

Change the logic instead to driver explicitly indicate for the second
sub frame and on to be allowed to have the same PN as the first
subframe. Indicate it to mac80211 as well for the fallback queue.

Fixes: f1ae02b186 ("iwlwifi: mvm: allow same PN for de-aggregated AMSDU")
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2018-02-16 15:34:31 +02:00
..
cfg iwlwifi: bump FW API to 36 for 8000 and up 2017-12-05 21:01:39 +02:00
dvm treewide: setup_timer() -> timer_setup() (2 field) 2017-11-21 15:57:09 -08:00
fw iwlwifi: mvm: send the low latency command 2017-12-20 18:28:25 +02:00
mvm iwlwifi: mvm: fix security bug in PN checking 2018-02-16 15:34:31 +02:00
pcie wireless-drivers-next patches for 4.16 2018-01-15 14:46:16 -05:00
iwl-agn-hw.h
iwl-config.h First batch of iwlwifi updates for v4.16 2017-12-02 15:22:54 +02:00
iwl-context-info.h
iwl-csr.h iwlwifi: remove dead code for internal devices only 2017-11-03 11:56:08 +02:00
iwl-debug.c
iwl-debug.h iwlwifi: acpi: add common code to read from ACPI 2017-10-06 15:22:28 +03:00
iwl-devtrace-data.h
iwl-devtrace-io.h iwlwifi: pcie: add MSI-X interrupt tracing 2017-06-29 20:27:48 +03:00
iwl-devtrace-iwlwifi.h iwlwifi: add skb address to tx cmd in trace events data 2017-12-20 18:28:24 +02:00
iwl-devtrace-msg.h
iwl-devtrace-ucode.h
iwl-devtrace.c
iwl-devtrace.h iwlwifi: fix tracing when tx only is enabled 2017-07-21 12:26:38 +03:00
iwl-drv.c iwlwifi: support internal debug data collection for new devices 2017-12-20 18:28:23 +02:00
iwl-drv.h
iwl-eeprom-parse.c
iwl-eeprom-parse.h
iwl-eeprom-read.c
iwl-eeprom-read.h
iwl-fh.h iwlwifi: rename the temporary name of A000 to the official 22000 2017-11-28 16:39:57 +02:00
iwl-io.c iwlwifi: fix nmi triggering from host 2017-08-09 21:14:43 +03:00
iwl-io.h
iwl-modparams.h iwlwifi: unify external & internal modparam names 2017-06-29 13:26:25 +03:00
iwl-nvm-parse.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git 2017-10-16 17:09:24 +03:00
iwl-nvm-parse.h iwlwifi: acpi: move function to get mcc into acpi code 2017-10-06 15:22:32 +03:00
iwl-op-mode.h
iwl-phy-db.c iwlwifi: mvm: add documentation for all command IDs 2017-06-29 13:26:24 +03:00
iwl-phy-db.h
iwl-prph.h iwlwifi: fix nmi triggering from host 2017-08-09 21:14:43 +03:00
iwl-scd.h
iwl-trans.c iwlwifi: trans: move ref/unref code to the common part of the transport 2017-10-06 14:57:20 +03:00
iwl-trans.h iwlwifi: avoid duplicate sw reset executions in the code 2017-12-20 18:28:24 +02:00
Kconfig
Makefile iwlwifi: runtime: sync FW and host clocks for logs 2017-12-20 18:28:24 +02:00