------------[ cut here ]------------ WARNING: CPU: 3 PID: 14973 at net/mac80211/chan.c:844 ieee80211_recalc_chanctx_chantype+0x7a7/0xae0 net/mac80211/chan.c:844 Modules linked in: CPU: 3 UID: 0 PID: 14973 Comm: syz.3.2028 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ieee80211_recalc_chanctx_chantype+0x7a7/0xae0 net/mac80211/chan.c:844 Code: 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 80 3c 02 00 0f 84 6f f9 ff ff 4c 89 ff e8 a4 03 0b f7 e9 62 f9 ff ff e8 ba 93 a5 f6 90 <0f> 0b 90 e9 18 fc ff ff e8 ac 93 a5 f6 49 8d bd a0 09 00 00 48 b8 RSP: 0018:ffffc9000e56e870 EFLAGS: 00010283 RAX: 00000000000025fe RBX: 000000000000000f RCX: ffffc9000da42000 RDX: 0000000000080000 RSI: ffffffff8b157666 RDI: 0000000000000005 RBP: dffffc0000000000 R08: 0000000000000005 R09: 000000000000000f R10: 000000000000000f R11: 0000000000000000 R12: 1ffff92001cadd17 R13: 0000000000000000 R14: ffff88805fb0a8c0 R15: 0000000000000007 FS: 0000000000000000(0000) GS:ffff8880977ba000(0063) knlGS:00000000f5415b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000322e4ff8 CR3: 000000005fef4000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: ieee80211_assign_link_chanctx+0xb90/0xf00 net/mac80211/chan.c:944 __ieee80211_link_release_channel+0x273/0x4b0 net/mac80211/chan.c:1890 ieee80211_link_release_channel+0x128/0x200 net/mac80211/chan.c:2165 ieee80211_leave_mesh+0x71/0x150 net/mac80211/cfg.c:2842 rdev_leave_mesh net/wireless/rdev-ops.h:372 [inline] cfg80211_leave_mesh+0x23e/0x900 net/wireless/mesh.c:277 cfg80211_leave+0x26a/0x3f0 net/wireless/core.c:1383 cfg80211_netdev_notifier_call+0x2c1/0x1120 net/wireless/core.c:1567 notifier_call_chain+0xb9/0x410 kernel/notifier.c:85 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2229 call_netdevice_notifiers_extack net/core/dev.c:2267 [inline] call_netdevice_notifiers net/core/dev.c:2281 [inline] __dev_close_many+0xff/0x760 net/core/dev.c:1726 __dev_close net/core/dev.c:1767 [inline] __dev_change_flags+0x4d8/0x720 net/core/dev.c:9547 netif_change_flags+0x8d/0x160 net/core/dev.c:9612 do_setlink.constprop.0+0xb53/0x4380 net/core/rtnetlink.c:3143 rtnl_group_changelink net/core/rtnetlink.c:3775 [inline] __rtnl_newlink net/core/rtnetlink.c:3929 [inline] rtnl_newlink+0x18e0/0x2000 net/core/rtnetlink.c:4057 rtnetlink_rcv_msg+0x95e/0xe90 net/core/rtnetlink.c:6946 netlink_rcv_skb+0x155/0x420 net/netlink/af_netlink.c:2552 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x5aa/0x870 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:714 [inline] __sock_sendmsg net/socket.c:729 [inline] ____sys_sendmsg+0xa95/0xc70 net/socket.c:2614 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2668 __sys_sendmsg+0x16d/0x220 net/socket.c:2700 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0x7c/0x300 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:331 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7f33579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f541555c EFLAGS: 00000296 ORIG_RAX: 0000000000000172 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 0000000080000440 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 10 06 adc %al,(%rsi) 2: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 6: 10 07 adc %al,(%rdi) 8: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi c: 10 08 adc %cl,(%rax) e: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1e: 00 51 52 add %dl,0x52(%rcx) 21: 55 push %rbp 22: 89 e5 mov %esp,%ebp 24: 0f 34 sysenter 26: cd 80 int $0x80 * 28: 5d pop %rbp <-- trapping instruction 29: 5a pop %rdx 2a: 59 pop %rcx 2b: c3 ret 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi