kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 332 Comm: syz-executor766 Not tainted 5.4.70-syzkaller-00063-gd0e6eb879517 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ieee80211_chanctx_num_assigned net/mac80211/chan.c:21 [inline] RIP: 0010:ieee80211_assign_vif_chanctx+0x287/0x590 net/mac80211/chan.c:677 Code: e7 e8 4d 33 b8 fd 49 8b 1c 24 49 39 dc 0f 84 7e 01 00 00 e8 1b 79 8a fd bd 01 00 00 00 66 0f 1f 44 00 00 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 1a 33 b8 fd 48 8b 1b 49 39 dc 74 RSP: 0018:ffff8881cdd1f1f0 EFLAGS: 00010a02 RAX: 1bd5a00000000020 RBX: dead000000000100 RCX: ffff8881ce046c80 RDX: 0000000000000000 RSI: 0000000000000020 RDI: ffff8881d6ca0da0 RBP: 0000000000000002 R08: ffffffff83b75d0b R09: ffffed1039ba3e4d R10: ffffed1039ba3e4d R11: 0000000000000000 R12: ffff8881cf3ae720 R13: ffff8881cf3ae700 R14: dffffc0000000000 R15: ffff8881d6ca0940 FS: 00000000010f8940(0000) GS:ffff8881db900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006d3090 CR3: 00000001cf3e6004 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __ieee80211_vif_release_channel+0x196/0x770 net/mac80211/chan.c:1544 ieee80211_vif_release_channel+0xc4/0x100 net/mac80211/chan.c:1758 ieee80211_ibss_disconnect+0x8bb/0xa50 net/mac80211/ibss.c:742 ieee80211_ibss_leave+0x26/0xe0 net/mac80211/ibss.c:1865 rdev_leave_ibss+0x194/0x2f0 net/wireless/rdev-ops.h:532 __cfg80211_leave_ibss net/wireless/ibss.c:212 [inline] cfg80211_leave_ibss+0x97/0x130 net/wireless/ibss.c:230 cfg80211_change_iface+0x2eb/0x970 net/wireless/util.c:965 nl80211_set_interface+0x4f8/0x880 net/wireless/nl80211.c:3566 genl_family_rcv_msg net/netlink/genetlink.c:629 [inline] genl_rcv_msg+0xe76/0x1330 net/netlink/genetlink.c:654 netlink_rcv_skb+0x1f0/0x460 net/netlink/af_netlink.c:2478 genl_rcv+0x24/0x40 net/netlink/genetlink.c:665 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0x87c/0xa20 net/netlink/af_netlink.c:1329 netlink_sendmsg+0x9a7/0xd40 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] ____sys_sendmsg+0x56f/0x860 net/socket.c:2298 ___sys_sendmsg net/socket.c:2352 [inline] __sys_sendmsg+0x26a/0x350 net/socket.c:2398 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4429b9 Code: e8 bc fd 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 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 0f 83 db 06 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffd2098e2d8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004429b9 RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000004 RBP: 0000000000005008 R08: 00000000004035b0 R09: 00000000004035b0 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000403520 R13: 00000000004035b0 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 945ad0191387b29a ]--- RDX: 0000000000000000 RSI: 0000000000000020 RDI: ffff8881d6ca0da0 R13: ffff8881cf3ae700 R14: dffffc0000000000 R15: ffff8881d6ca0940 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006d3090 CR3: 00000001cf3e6004 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400