linux_dsm_epyc7002/drivers/net/wireless/intel/iwlwifi
Emmanuel Grumbach 7d6a1ab6a2 iwlwifi: mvm: fix RCU splat in TKIP's update_key
The commit below mistakenly changed an rcu_dereference_check
to a rcu_dereference_protected which introduced the
following RCU warning:

[ INFO: suspicious RCU usage. ]
 4.6.0-rc7-next-20160513-dbg-00004-g8de8b92-dirty #655 Not tainted
 -------------------------------
 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h:1069 suspicious rcu_dereference_protected() usage!
 Call Trace:
  [<ffffffff8106b836>] lockdep_rcu_suspicious+0xf7/0x100
  [<ffffffffa03b2321>] iwl_mvm_get_key_sta.part.0+0x5d/0x80 [iwlmvm]
  [<ffffffffa03b4acb>] iwl_mvm_update_tkip_key+0xd3/0x162 [iwlmvm]
  [<ffffffffa03a2b60>] iwl_mvm_mac_update_tkip_key+0x17/0x19 [iwlmvm]
  [<ffffffffa0329646>] ieee80211_tkip_decrypt_data+0x22c/0x24b [mac80211]
  [<ffffffffa0318bb1>] ieee80211_crypto_tkip_decrypt+0xc5/0x110 [mac80211]
  [<ffffffffa033102e>] ieee80211_rx_handlers+0x9bb/0x1fe1 [mac80211]

Fixes: 13303c0fb1 ("iwlwifi: mvm: use helpers to get iwl_mvm_sta")
Reported-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2016-06-10 13:32:25 +03:00
..
dvm cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
mvm iwlwifi: mvm: fix RCU splat in TKIP's update_key 2016-06-10 13:32:25 +03:00
pcie iwlwifi: pcie: grab NIC access only once on RX init 2016-05-10 22:34:10 +03:00
iwl-1000.c iwlwifi: make configuration structs smaller 2016-05-10 22:34:06 +03:00
iwl-2000.c iwlwifi: make configuration structs smaller 2016-05-10 22:34:06 +03:00
iwl-5000.c iwlwifi: make configuration structs smaller 2016-05-10 22:34:06 +03:00
iwl-6000.c iwlwifi: make configuration structs smaller 2016-05-10 22:34:06 +03:00
iwl-7000.c iwlwifi: make configuration structs smaller 2016-05-10 22:34:06 +03:00
iwl-8000.c iwlwifi: make configuration structs smaller 2016-05-10 22:34:06 +03:00
iwl-9000.c iwlwifi: make configuration structs smaller 2016-05-10 22:34:06 +03:00
iwl-agn-hw.h
iwl-config.h iwlwifi: make configuration structs smaller 2016-05-10 22:34:06 +03:00
iwl-csr.h iwlwifi: allow combining different phy images with mac images 2016-05-10 22:14:49 +03:00
iwl-debug.c
iwl-debug.h
iwl-devtrace-data.h iwlwifi: pcie: build an A-MSDU using TSO core 2015-12-20 23:27:37 +02:00
iwl-devtrace-io.h
iwl-devtrace-iwlwifi.h iwlwifi: mvm: adapt the firmware assert log to new firmware 2016-03-09 21:05:16 +02:00
iwl-devtrace-msg.h
iwl-devtrace-ucode.h
iwl-devtrace.c
iwl-devtrace.h
iwl-drv.c * work for RX multiqueue continues (Sara); 2016-05-11 20:54:07 +03:00
iwl-drv.h
iwl-eeprom-parse.c cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
iwl-eeprom-parse.h iwlwifi: consider VHT 160MHz while parsing NVM 2016-05-10 22:14:49 +03:00
iwl-eeprom-read.c
iwl-eeprom-read.h
iwl-fh.h iwlwifi: pcie: use shadow registers for updating write pointer 2016-05-10 22:34:09 +03:00
iwl-fw-error-dump.h iwlwifi: mvm: support dumping UMAC internal txfifos 2016-03-20 13:26:02 +02:00
iwl-fw-file.h iwlwifi: fix fw version reading for DVM devices 2016-04-26 12:32:07 +03:00
iwl-fw.h iwlwifi: store fw memory segments length and addresses in run-time 2016-03-30 16:24:50 +03:00
iwl-io.c iwlwifi: remove unused parameter from grab_nic_access 2015-12-21 10:11:39 +02:00
iwl-io.h
iwl-modparams.h iwlwifi: make uapsd_disable module param a bitmap 2016-03-30 16:21:23 +03:00
iwl-notif-wait.c
iwl-notif-wait.h
iwl-nvm-parse.c iwlwifi: turn on SGI support for VHT 160MHz 2016-05-10 22:34:07 +03:00
iwl-nvm-parse.h iwlwifi: refactor the code that reads the MAC address from the NVM 2016-03-07 13:33:00 +02:00
iwl-op-mode.h
iwl-phy-db.c iwlwifi: mvm: remove redundant alloc_ctx parameter 2016-05-10 22:34:03 +03:00
iwl-phy-db.h iwlwifi: mvm: remove redundant alloc_ctx parameter 2016-05-10 22:34:03 +03:00
iwl-prph.h iwlwifi: mvm: support dumping UMAC internal txfifos 2016-03-20 13:26:02 +02:00
iwl-scd.h
iwl-trans.c
iwl-trans.h iwlwifi: allow combining different phy images with mac images 2016-05-10 22:14:49 +03:00
Kconfig iwlwifi: remove IWLWIFI_DEBUG_EXPERIMENTAL_UCODE 2016-05-10 22:34:05 +03:00
Makefile