general protection fault in ieee80211_chanctx_num_assigned
From: syzbot <hidden>
Date: 2020-10-06 12:45:22
Hello, syzbot found the following issue on: HEAD commit: 2172e358 Add linux-next specific files for 20201002 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=176b55c0500000 kernel config: https://syzkaller.appspot.com/x/.config?x=70698f530a7e856f dashboard link: https://syzkaller.appspot.com/bug?extid=00ce7332120071df39b1 compiler: gcc (GCC) 10.1.0-syz 20200507 Unfortunately, I don't have any reproducer for this issue yet. IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: <redacted> mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium general protection fault, probably for non-canonical address 0xfbd59c0000000020: 0000 [#1] PREEMPT SMP KASAN KASAN: maybe wild-memory-access in range [0xdead000000000100-0xdead000000000107] CPU: 1 PID: 13099 Comm: syz-executor.2 Not tainted 5.9.0-rc7-next-20201002-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ieee80211_chanctx_num_assigned+0xb1/0x140 net/mac80211/chan.c:21 Code: a8 f6 ff ff 48 39 c5 74 3b 49 bd 00 00 00 00 00 fc ff df e8 e1 64 b0 f9 48 8d bb 58 09 00 00 41 83 c4 01 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 75 68 48 8b 83 58 09 00 00 48 8d 98 a8 f6 ff ff 48 RSP: 0018:ffffc900167873f8 EFLAGS: 00010a02 RAX: 1bd5a00000000020 RBX: deacfffffffff7a8 RCX: ffffc9000e597000 RDX: 0000000000040000 RSI: ffffffff87c4e20f RDI: dead000000000100 RBP: ffff8880a7738020 R08: 0000000000000000 R09: ffffffff8bb59e0f R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000002 R13: dffffc0000000000 R14: ffff8880a7738000 R15: 0000000000000000 FS: 00007f95513db700(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000050a070 CR3: 00000000a695e000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: ieee80211_assign_vif_chanctx+0x7b8/0x1230 net/mac80211/chan.c:690 __ieee80211_vif_release_channel+0x236/0x430 net/mac80211/chan.c:1557 ieee80211_vif_release_channel+0x117/0x220 net/mac80211/chan.c:1771 ieee80211_ibss_disconnect+0x44e/0x7b0 net/mac80211/ibss.c:735 ieee80211_ibss_leave+0x12/0xe0 net/mac80211/ibss.c:1871