linux/drivers/net/wireless
Helmut Schaa a59be0811c ath: Fix NULL ptr dereference in ath_reg_apply_world_flags
This happens with devices using a regulatory domain 0x68 that are only
5Ghz capable because ath_reg_apply_active_scan_flags assumes that we
always have a 2,4Ghz band.

CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 82cd838c, ra == 82cd8384
Oops[#1]:
Cpu 0
$ 0 : 00000000 00000061 00000003 00000024
$ 4 : 00000003 000016c1 82f900ac 00000024
$ 8 : 00000000 82cda304 0058bad8 00000005
$12 : 005908f8 001e8481 00000003 1dcd6500
$16 : 00000002 00000000 82c700c0 82c700c0
$20 : 82d415e4 82c70d64 82c70200 82c715bc
$24 : 00000000 11e1a300
$28 : 82ce2000 82ce3c70 82c715a8 82cd8384
Hi : 00000000
Lo : 0000001e
epc : 82cd838c ath_reg_apply_world_flags+0x78/0x17c [ath]
Not tainted
ra : 82cd8384 ath_reg_apply_world_flags+0x70/0x17c [ath]
Status: 1000d403 KERNEL EXL IE
Cause : 80800008
BadVA : 00000000
PrId : 00019374 (MIPS 24Kc)
Modules linked in: ath9k(+) ath9k_common ath9k_hw ath mac80211 cfg80211
	compat_firmware_class compat arc4 aes_generic deflate ecb cbc
	leds_gpio button_hotplug gpio_buttons input_polldev ie
Process insmod (pid: 464, threadinfo=82ce2000, task=838b31d8, tls=00000000)
Stack : 00000000 00000002 82f900ac 82c700c0 82d415e4 82c70d64 00000000 00000068
82f900ac 82cd88f4 82c700c0 82cda304 00000001 000020f0 82f90000 82c70d40
00000002 82f90000 82f900ac 82d4207c 82d518a0 00000002 7fee6118 8017c0d8
00000008 8397ba00 82c70d40 00000000 82c70200 83813000 83813058 b0010000
82d518a0 00000002 7fee6118 82d4b8c8 83445cc0 80120dc0 83804000 800eeda0
...
Call Trace:
[<82cd838c>] ath_reg_apply_world_flags+0x78/0x17c [ath]
[<82cd88f4>] ath_regd_init+0x464/0x488 [ath]
[<82d4207c>] ath9k_init_device+0x6a4/0x6b4 [ath9k]
[<82d4b8c8>] ath_pci_probe+0x27c/0x358 [ath9k]
[<80181de0>] pci_device_probe+0x64/0xa4
[<8019e874>] driver_probe_device+0xb8/0x190
[<8019e9b8>] __driver_attach+0x6c/0xa4
[<8019dfc0>] bus_for_each_dev+0x60/0xb0
[<8019d744>] bus_add_driver+0xc4/0x25c
[<8019ed6c>] driver_register+0xe0/0x198
[<8018206c>] __pci_register_driver+0x50/0xe0
[<82dd0010>] ath9k_init+0x10/0x54 [ath9k]
[<8006b4a0>] do_one_initcall+0x68/0x1ec
[<800a901c>] sys_init_module+0xec/0x23c
[<80062544>] stack_done+0x20/0x3c

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-11-08 15:02:45 -05:00
..
ath ath: Fix NULL ptr dereference in ath_reg_apply_world_flags 2011-11-08 15:02:45 -05:00
b43 b43: HT-PHY: report signal to mac80211 2011-11-07 13:19:12 -05:00
b43legacy mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
brcm80211 brcm80211: smac: eliminate a null pointer dereference in dma.c 2011-11-07 13:19:13 -05:00
hostap
ipw2x00 Merge branch 'pm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm 2011-10-25 15:18:39 +02:00
iwlegacy mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
iwlwifi iwlwifi: don't perform "echo test" when cmd queue stuck 2011-11-02 15:23:13 -04:00
iwmc3200wifi iwmc3200wifi: add a range check to iwm_cfg80211_get_key() 2011-10-14 14:48:15 -04:00
libertas libertas: ensure we clean up a scan request properly 2011-11-02 15:23:12 -04:00
libertas_tf
mwifiex net, wireless, mwifiex: Fix mem leak in mwifiex_update_curr_bss_params() 2011-11-07 13:19:15 -05:00
orinoco
p54 mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
prism54
rt2x00 mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
rtl818x mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
rtlwifi Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2011-10-25 13:25:22 +02:00
wl12xx wl12xx: disable AP-mode-specific quirks 2011-10-07 08:32:30 +03:00
wl1251 mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
zd1211rw mac80211: add ieee80211_vif param to tsf functions 2011-09-27 14:27:48 -04:00
Kconfig net: wireless: add brcm80211 drivers 2011-10-11 15:55:30 -04:00
Makefile net: wireless: add brcm80211 drivers 2011-10-11 15:55:30 -04:00
adm8211.c mac80211: add ieee80211_vif param to tsf functions 2011-09-27 14:27:48 -04:00
adm8211.h
airo.c
airo.h
airo_cs.c
at76c50x-usb.c wireless: at76c50x: use native hex_pack_byte() method 2011-09-30 15:16:25 -04:00
at76c50x-usb.h
atmel.c
atmel.h
atmel_cs.c
atmel_pci.c
mac80211_hwsim.c mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
mac80211_hwsim.h
mwl8k.c mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c
wl3501.h
wl3501_cs.c wl3501_cs: min_t() cast truncates high bits 2011-09-27 14:36:04 -04:00
zd1201.c
zd1201.h