Bug 45481 - kernel panic in iwlwifi on enabling wireless from rfkill
Summary: kernel panic in iwlwifi on enabling wireless from rfkill
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
: 45491 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-03 12:32 UTC by Denis Lisov
Modified: 2015-11-22 07:29 UTC (History)
5 users (show)

See Also:
Kernel Version: 3.5.0
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
screen photo (745.46 KB, image/jpeg)
2012-08-03 12:36 UTC, Denis Lisov
Details
readable screen photo (888.84 KB, image/jpeg)
2012-08-03 12:40 UTC, Denis Lisov
Details

Description Denis Lisov 2012-08-03 12:32:00 UTC
Reproducing:
- turn on the laptop
- disable wireless with hardware button
- enable wireless with hardware button

Results in kernel panic
BUG: unable to handle kernel NULL pointer dereference at   (null)
IP: [<ffffffffa01cdef8>] ieee80211_ave_rssi+0x8/0x40 [mac80211]
<several lines skipped, see attached screen photo>
Call Trace:
 <IRQ>
 [<ffffffffa01f07fa>] iwlagn_bt_coex_profile_notif+0xda/0x240 [iwlwifi]
 [<ffffffffa01f81ab>] iwl_rx_dispatch+0xbb/0xe0 [iwlwifi]
 [<ffffffffa0203320>] iwl_irq_tasklet+0x520/0x8c0 [iwlwifi]
<furtherer lines available on the photo>

System:
MSI GE60 0NC laptop (Ivy Bridge, Wireless-N 135)
Gentoo Linux (kernel vanilla 3.5.0, linux-firmware 20120719)

# lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 0fd1 (rev ff)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
04:00.1 SD Host controller: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
05:00.0 Network controller: Intel Corporation Centrino Wireless-N 135 (rev c4)
Comment 1 Denis Lisov 2012-08-03 12:36:57 UTC
Created attachment 76741 [details]
screen photo
Comment 2 Denis Lisov 2012-08-03 12:40:44 UTC
Created attachment 76751 [details]
readable screen photo

More readable, but incomplete photo
Comment 3 Johannes Berg 2012-08-03 14:13:46 UTC
This is probably the issue we fixed in 


commit e19ebcab01cc130fa832764d453b263460ec3b91
Author: Ilan Peer <ilan.peer@intel.com>
Date:   Thu May 10 15:53:14 2012 +0300

    iwlwifi: Check BSS ctx active before call mac80211


I think it needs to be sent to 3.5 stable as it just narrowly missed making it into it?
Comment 4 Joseph Salisbury 2012-08-03 16:47:02 UTC
*** Bug 45491 has been marked as a duplicate of this bug. ***
Comment 5 Johannes Berg 2012-08-03 16:48:55 UTC
I have sent it to stable:

http://www.mail-archive.com/stable@vger.kernel.org/msg12286.html

Sorry about that. When I posted the patch I thought it could still make it into 3.5 proper, but then it narrowly missed it and I forgot about it :(

Note You need to log in before you can comment on or make changes to this bug.