android_kernel_oneplus_msm8998/drivers/net/wireless
Vasyl Vavrychuk 71a8069fb1 mac80211_hwsim: Timer should be initialized before device registered
commit a1881c9b8a1edef0a5ae1d5c1b61406fe3402114 upstream.

Otherwise if network manager starts configuring Wi-Fi interface
immidiatelly after getting notification of its creation, we will get
NULL pointer dereference:

  BUG: unable to handle kernel NULL pointer dereference at           (null)
  IP: [<ffffffff95ae94c8>] hrtimer_active+0x28/0x50
  ...
  Call Trace:
   [<ffffffff95ae9997>] ? hrtimer_try_to_cancel+0x27/0x110
   [<ffffffff95ae9a95>] ? hrtimer_cancel+0x15/0x20
   [<ffffffffc0803bf0>] ? mac80211_hwsim_config+0x140/0x1c0 [mac80211_hwsim]

Cc: stable@vger.kernel.org
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@globallogic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-13 09:21:37 +01:00
..
ath ath10k: fix kernel panic due to race in accessing arvif list 2018-12-01 09:46:36 +01:00
b43
b43legacy
brcm80211 brcmfmac: Fix glom_skb leak in brcmf_sdiod_recv_chain 2018-11-10 07:41:38 -08:00
cw1200 cw1200: Don't leak memory if krealloc failes 2018-12-01 09:46:40 +01:00
hostap hostap: avoid uninitialized variable use in hfa384x_get_rid 2017-04-30 05:49:28 +02:00
ipw2x00
iwlegacy mac80211: pass block ack session timeout to to driver 2017-05-20 14:27:03 +02:00
iwlwifi iwlwifi: mvm: fix regulatory domain update when the firmware starts 2018-12-01 09:46:40 +01:00
libertas
libertas_tf
mediatek mt7601u: check return value of alloc_skb 2018-03-24 10:58:44 +01:00
mwifiex mwifiex: fix p2p device doesn't find in scan problem 2018-12-01 09:46:40 +01:00
orinoco
p54 p54: memset(0) whole array 2017-09-02 07:06:51 +02:00
prism54
realtek rtlwifi: rtl8821ae: fix firmware is not ready to run 2018-07-22 14:25:53 +02:00
rsi rsi: Fix 'invalid vdd' warning in mmc 2018-08-06 16:24:38 +02:00
rt2x00 mac80211: pass block ack session timeout to to driver 2017-05-20 14:27:03 +02:00
ti Revert "wlcore: Add missing PM call for wlcore_cmd_wait_for_event_or_timeout()" 2018-12-13 09:21:26 +01:00
zd1211rw
adm8211.c
adm8211.h
airo.c
airo.h
airo_cs.c
at76c50x-usb.c
at76c50x-usb.h
atmel.c
atmel.h
atmel_cs.c
atmel_pci.c
Kconfig
mac80211_hwsim.c mac80211_hwsim: Timer should be initialized before device registered 2018-12-13 09:21:37 +01:00
mac80211_hwsim.h
Makefile
mwl8k.c mac80211: pass block ack session timeout to to driver 2017-05-20 14:27:03 +02:00
ray_cs.c ray_cs: Avoid reading past end of buffer 2018-04-13 19:50:09 +02:00
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: potential buffer overflow in rndis_wlan_auth_indication() 2018-10-10 08:52:06 +02:00
wl3501.h
wl3501_cs.c
zd1201.c
zd1201.h