linux-uconsole/drivers/net/wireless
Martin Willi 43e319d7c0 mac80211_hwsim: Add missing check for HWSIM_ATTR_SIGNAL
commit 62397da50b upstream.

A wmediumd that does not send this attribute causes a NULL pointer
dereference, as the attribute is accessed even if it does not exist.

The attribute was required but never checked ever since userspace frame
forwarding has been introduced. The issue gets more problematic once we
allow wmediumd registration from user namespaces.

Fixes: 7882513bac ("mac80211_hwsim driver support userspace frame tx/rx")
Signed-off-by: Martin Willi <martin@strongswan.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-07-27 09:47:27 -07:00
..
ath ath5k: Change led pin configuration for compaq c700 laptop 2016-06-07 18:14:33 -07:00
b43 driver core update for 4.4-rc1 2015-11-04 21:50:37 -08:00
b43legacy debugfs: Pass bool pointer to debugfs_create_bool() 2015-10-04 11:36:07 +01:00
brcm80211 brcm80211: Add support for brcm4371 2015-10-21 10:57:44 +03:00
cw1200 spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
hostap net: hostap: convert to using IFF_NO_QUEUE 2015-08-18 11:55:07 -07:00
ipw2x00 drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
iwlegacy driver core update for 4.4-rc1 2015-11-04 21:50:37 -08:00
iwlwifi iwlwifi: mvm: fix memory leak in paging 2016-05-04 14:48:44 -07:00
libertas spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
libertas_tf Minor merge needed, due to function move. 2015-07-01 10:49:25 -07:00
mediatek mac80211: allow to transmit A-MSDU within A-MPDU 2015-09-22 15:21:23 +02:00
mwifiex mwifiex: fix corner case association failure 2016-05-11 11:21:10 +02:00
orinoco orinoco_usb: return error in ezusb_probe when alloc_orinocodev fails 2015-10-28 20:55:47 +02:00
p54 spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
prism54
realtek rtlwifi: pci: use dev_kfree_skb_irq instead of kfree_skb in rtl_pci_reset_trx_ring 2016-06-07 18:14:33 -07:00
rsi mac80211: allow to transmit A-MSDU within A-MPDU 2015-09-22 15:21:23 +02:00
rt2x00 Here's another set of patches for the current cycle: 2015-10-22 07:28:41 -07:00
ti wlcore/wl12xx: spi: fix NULL pointer dereference (Oops) 2016-02-17 12:30:56 -08:00
zd1211rw
adm8211.c
adm8211.h
airo.c airo: fix scan after SIOCSIWAP (airo_set_wap) 2015-10-28 20:54:39 +02:00
airo.h
airo_cs.c
at76c50x-usb.c
at76c50x-usb.h
atmel.c
atmel.h
atmel_cs.c
atmel_pci.c
Kconfig New driver: rtl8xxxu (mac80211) 2015-10-21 10:53:29 +03:00
mac80211_hwsim.c mac80211_hwsim: Add missing check for HWSIM_ATTR_SIGNAL 2016-07-27 09:47:27 -07:00
mac80211_hwsim.h
Makefile rtlwifi: rtl818x: Move drivers into new realtek directory 2015-10-14 13:33:10 +03:00
mwl8k.c mac80211: allow to transmit A-MSDU within A-MPDU 2015-09-22 15:21:23 +02:00
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: fix checking for default value 2015-09-22 16:14:32 -07:00
wl3501.h
wl3501_cs.c
zd1201.c
zd1201.h