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: 30335 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
RIP: 0010:ieee80211_chanctx_num_assigned+0xb1/0x130 net/mac80211/chan.c:20
Code: e0 f7 ff ff 48 39 c5 74 3b 49 bd 00 00 00 00 00 fc ff df e8 01 a0 bc f9 48 8d bb 20 08 00 00 41 83 c4 01 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 75 61 48 8b 83 20 08 00 00 48 8d 98 e0 f7 ff ff 48
RSP: 0018:ffff8880a30873e8 EFLAGS: 00010a02
RAX: 1bd5a00000000020 RBX: deacfffffffff8e0 RCX: ffffc90006122000
RDX: 000000000000161e RSI: ffffffff87a5e56f RDI: dead000000000100
RBP: ffff8880b04c7720 R08: ffff888056f65e68 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000002
R13: dffffc0000000000 R14: ffff8880b04c7700 R15: 0000000000000000
FS:  00007efeac3a7700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2ee2e000 CR3: 0000000053aed000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ieee80211_assign_vif_chanctx+0x73c/0x1590 net/mac80211/chan.c:676
 __ieee80211_vif_release_channel+0x22f/0x420 net/mac80211/chan.c:1543
 ieee80211_vif_release_channel+0x10a/0x1e0 net/mac80211/chan.c:1757
 ieee80211_ibss_disconnect+0x5a0/0xe40 net/mac80211/ibss.c:744
 ieee80211_ibss_leave+0x12/0x150 net/mac80211/ibss.c:1858
 rdev_leave_ibss net/wireless/rdev-ops.h:531 [inline]
 __cfg80211_leave_ibss+0x191/0x7c0 net/wireless/ibss.c:206
 cfg80211_leave_ibss+0x54/0x70 net/wireless/ibss.c:224
 cfg80211_change_iface+0xec8/0x1520 net/wireless/util.c:956
 nl80211_set_interface+0x661/0x830 net/wireless/nl80211.c:3205
 genl_family_rcv_msg+0x642/0xc40 net/netlink/genetlink.c:602
 genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
 netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
 netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227
 __sys_sendmsg net/socket.c:2265 [inline]
 __do_sys_sendmsg net/socket.c:2274 [inline]
 __se_sys_sendmsg net/socket.c:2272 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7efeada345f9
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007efeac3a7168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007efeadb54f80 RCX: 00007efeada345f9
RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000005
RBP: 00007efeada8f7b0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffecea5a05f R14: 00007efeac3a7300 R15: 0000000000022000
Modules linked in:
---[ end trace 8752ff546e67c635 ]---
RIP: 0010:ieee80211_chanctx_num_assigned+0xb1/0x130 net/mac80211/chan.c:20
Code: e0 f7 ff ff 48 39 c5 74 3b 49 bd 00 00 00 00 00 fc ff df e8 01 a0 bc f9 48 8d bb 20 08 00 00 41 83 c4 01 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 75 61 48 8b 83 20 08 00 00 48 8d 98 e0 f7 ff ff 48
RSP: 0018:ffff8880a30873e8 EFLAGS: 00010a02
RAX: 1bd5a00000000020 RBX: deacfffffffff8e0 RCX: ffffc90006122000
RDX: 000000000000161e RSI: ffffffff87a5e56f RDI: dead000000000100
RBP: ffff8880b04c7720 R08: ffff888056f65e68 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000002
R13: dffffc0000000000 R14: ffff8880b04c7700 R15: 0000000000000000
FS:  00007efeac3a7700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007feade012000 CR3: 0000000053aed000 CR4: 00000000003426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 4 bytes skipped:
   0:	48 39 c5             	cmp    %rax,%rbp
   3:	74 3b                	je     0x40
   5:	49 bd 00 00 00 00 00 	movabs $0xdffffc0000000000,%r13
   c:	fc ff df
   f:	e8 01 a0 bc f9       	callq  0xf9bca015
  14:	48 8d bb 20 08 00 00 	lea    0x820(%rbx),%rdi
  1b:	41 83 c4 01          	add    $0x1,%r12d
  1f:	48 89 f8             	mov    %rdi,%rax
  22:	48 c1 e8 03          	shr    $0x3,%rax
* 26:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1) <-- trapping instruction
  2b:	75 61                	jne    0x8e
  2d:	48 8b 83 20 08 00 00 	mov    0x820(%rbx),%rax
  34:	48 8d 98 e0 f7 ff ff 	lea    -0x820(%rax),%rbx
  3b:	48                   	rex.W