bisecting fixing commit since 7f75285ca572eaabc028cf78c6ab5473d0d160be building syzkaller on fcdb12ba70875c410749932abf39160d19c753d9 testing commit 7f75285ca572eaabc028cf78c6ab5473d0d160be compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5a35942aaf03f046596d485c96a62c55f444cdf54b245dccfb0c73cdb1716f95 all runs: crashed: general protection fault in ieee80211_chanctx_num_assigned testing current HEAD ec681c53f8d2d0ee362ff67f5b98dd8263c15002 testing commit ec681c53f8d2d0ee362ff67f5b98dd8263c15002 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4c4c05ca4bdce07c0dcf0516a30ec7998c3081d051f6c88993586297c1f915a9 all runs: crashed: general protection fault in ieee80211_chanctx_num_assigned revisions tested: 2, total time: 21m11.333276112s (build: 13m15.782920476s, test: 7m8.809407634s) the crash still happens on HEAD commit msg: Merge tag 'net-5.15-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net crash: general protection fault in ieee80211_chanctx_num_assigned general protection fault, probably for non-canonical address 0xfbd59c0000000020: 0000 [#1] PREEMPT SMP KASAN KASAN: maybe wild-memory-access in range [0xdead000000000100-0xdead000000000107] CPU: 0 PID: 9027 Comm: syz-executor.0 Not tainted 5.15.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ieee80211_chanctx_num_assigned+0x92/0x100 net/mac80211/chan.c:23 Code: 31 e4 48 8d 98 18 f5 ff ff 48 39 c5 74 36 49 bd 00 00 00 00 00 fc ff df 48 8d bb e8 0a 00 00 41 83 c4 01 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 75 4e 48 8b 83 e8 0a 00 00 48 8d 98 18 f5 ff ff 48 RSP: 0018:ffffc9000cf4f360 EFLAGS: 00010a02 RAX: 1bd5a00000000020 RBX: deacfffffffff618 RCX: 0000000000000001 RDX: 1ffff110022473e4 RSI: ffffffff88cb3ae0 RDI: dead000000000100 RBP: ffff888011239f20 R08: 0000000000000000 R09: ffff888069c19770 R10: ffffed10173c6549 R11: 0000000000000001 R12: 0000000000000002 R13: dffffc0000000000 R14: ffff888069c1a080 R15: 0000000000000000 FS: 00007f9999ecf700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0126fcc000 CR3: 000000005b50d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_assign_vif_chanctx+0x5ea/0x1020 net/mac80211/chan.c:785 __ieee80211_vif_release_channel+0x1f9/0x390 net/mac80211/chan.c:1651 ieee80211_vif_release_channel+0xe4/0x1b0 net/mac80211/chan.c:1865 ieee80211_ibss_disconnect+0x3d8/0x760 net/mac80211/ibss.c:728 ieee80211_ibss_leave+0xa/0x150 net/mac80211/ibss.c:1864 rdev_leave_ibss net/wireless/rdev-ops.h:555 [inline] __cfg80211_leave_ibss+0x148/0x390 net/wireless/ibss.c:213 cfg80211_leave_ibss+0x52/0x70 net/wireless/ibss.c:231 cfg80211_change_iface+0x935/0xc70 net/wireless/util.c:1050 nl80211_set_interface+0x435/0x840 net/wireless/nl80211.c:3930 genl_family_rcv_msg_doit+0x1e4/0x2f0 net/netlink/genetlink.c:731 genl_family_rcv_msg net/netlink/genetlink.c:775 [inline] genl_rcv_msg+0x27a/0x4a0 net/netlink/genetlink.c:792 netlink_rcv_skb+0x118/0x370 net/netlink/af_netlink.c:2510 genl_rcv+0x1f/0x30 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x42e/0x700 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x706/0xbf0 net/netlink/af_netlink.c:1935 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg+0xab/0xe0 net/socket.c:724 ____sys_sendmsg+0x5bf/0x7a0 net/socket.c:2409 ___sys_sendmsg+0xd3/0x150 net/socket.c:2463 __sys_sendmsg+0xb2/0x140 net/socket.c:2492 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x466459 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9999ecf188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459 RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000003 RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffe76b2883f R14: 00007f9999ecf300 R15: 0000000000022000 Modules linked in: ---[ end trace 87d9345b6e583520 ]--- RIP: 0010:ieee80211_chanctx_num_assigned+0x92/0x100 net/mac80211/chan.c:23 Code: 31 e4 48 8d 98 18 f5 ff ff 48 39 c5 74 36 49 bd 00 00 00 00 00 fc ff df 48 8d bb e8 0a 00 00 41 83 c4 01 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 75 4e 48 8b 83 e8 0a 00 00 48 8d 98 18 f5 ff ff 48 RSP: 0018:ffffc9000cf4f360 EFLAGS: 00010a02 RAX: 1bd5a00000000020 RBX: deacfffffffff618 RCX: 0000000000000001 RDX: 1ffff110022473e4 RSI: ffffffff88cb3ae0 RDI: dead000000000100 RBP: ffff888011239f20 R08: 0000000000000000 R09: ffff888069c19770 R10: ffffed10173c6549 R11: 0000000000000001 R12: 0000000000000002 R13: dffffc0000000000 R14: ffff888069c1a080 R15: 0000000000000000 FS: 00007f9999ecf700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0126fcc000 CR3: 000000005b50d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 31 e4 xor %esp,%esp 2: 48 8d 98 18 f5 ff ff lea -0xae8(%rax),%rbx 9: 48 39 c5 cmp %rax,%rbp c: 74 36 je 0x44 e: 49 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%r13 15: fc ff df 18: 48 8d bb e8 0a 00 00 lea 0xae8(%rbx),%rdi 1f: 41 83 c4 01 add $0x1,%r12d 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 75 4e jne 0x7f 31: 48 8b 83 e8 0a 00 00 mov 0xae8(%rbx),%rax 38: 48 8d 98 18 f5 ff ff lea -0xae8(%rax),%rbx 3f: 48 rex.W