------------[ cut here ]------------ wlan1: Failed check-sdata-in-driver check, flags: 0x0 WARNING: CPU: 3 PID: 23559 at net/mac80211/driver-ops.c:366 drv_unassign_vif_chanctx+0x247/0x850 net/mac80211/driver-ops.c:366 Modules linked in: CPU: 3 UID: 0 PID: 23559 Comm: syz.4.5151 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:drv_unassign_vif_chanctx+0x247/0x850 net/mac80211/driver-ops.c:366 Code: 74 24 10 48 81 c6 20 01 00 00 48 89 74 24 10 e8 ff 37 ed f6 8b 54 24 04 48 8b 74 24 10 48 c7 c7 60 d4 e2 8c e8 6a b3 aa f6 90 <0f> 0b 90 90 e8 e0 37 ed f6 4c 89 f2 48 b8 00 00 00 00 00 fc ff df RSP: 0018:ffffc90006497260 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88804915cd80 RCX: ffffc9002cbab000 RDX: 0000000000080000 RSI: ffffffff817b2025 RDI: 0000000000000001 RBP: ffff888037090e80 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88804915ead8 R13: 0000000000000000 R14: ffff88804915d7b8 R15: ffff88804915ea80 FS: 00007f5bf21f66c0(0000) GS:ffff8880d6cf6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3f96f8 CR3: 0000000012cef000 CR4: 0000000000352ef0 DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000083 DR3: ffffffffefffff15 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: ieee80211_assign_link_chanctx+0x3f1/0xf00 net/mac80211/chan.c:905 __ieee80211_link_release_channel+0x273/0x4b0 net/mac80211/chan.c:1879 ieee80211_link_release_channel+0x128/0x200 net/mac80211/chan.c:2154 ieee80211_if_change_type+0x2b0/0x800 net/mac80211/iface.c:2015 ieee80211_change_iface+0xa5/0x500 net/mac80211/cfg.c:254 rdev_change_virtual_intf net/wireless/rdev-ops.h:74 [inline] cfg80211_change_iface+0x582/0xdc0 net/wireless/util.c:1238 nl80211_set_interface+0x911/0xcb0 net/wireless/nl80211.c:4632 genl_family_rcv_msg_doit+0x209/0x2f0 net/netlink/genetlink.c:1115 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0x55c/0x800 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x158/0x420 net/netlink/af_netlink.c:2552 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x5aa/0x870 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x8c8/0xdd0 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg net/socket.c:742 [inline] ____sys_sendmsg+0xa98/0xc70 net/socket.c:2630 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2684 __sys_sendmsg+0x16d/0x220 net/socket.c:2716 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5bf3f8f7c9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5bf21f6038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f5bf41e5fa0 RCX: 00007f5bf3f8f7c9 RDX: 0000000000000000 RSI: 0000200000000100 RDI: 0000000000000003 RBP: 00007f5bf4013f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5bf41e6038 R14: 00007f5bf41e5fa0 R15: 00007ffd591b1fc8