------------[ cut here ]------------ wlan1: Failed check-sdata-in-driver check, flags: 0x1 WARNING: net/mac80211/driver-ops.c:366 at 0x0, CPU#2: syz.4.6682/4402 Modules linked in: CPU: 2 UID: 0 PID: 4402 Comm: syz.4.6682 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+0x204/0x7f0 net/mac80211/driver-ops.c:366 Code: 22 51 f4 f6 48 8b 74 24 10 48 81 c6 20 01 00 00 48 89 74 24 10 e8 0c 51 f4 f6 48 8d 3d 25 6c ac 05 8b 54 24 04 48 8b 74 24 10 <67> 48 0f b9 3a e8 f2 50 f4 f6 4c 89 f2 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffffc90024b77370 EFLAGS: 00010283 RAX: 000000000000ae61 RBX: ffff88806efacd80 RCX: ffffc9000c001000 RDX: 0000000000000001 RSI: ffff88806efac120 RDI: ffffffff90753c50 RBP: ffff888057da8e80 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 00000000ba0c319a R12: ffff88806efaead8 R13: 0000000000000000 R14: ffff88806efad7b8 R15: ffff88806efaea80 FS: 0000000000000000(0000) GS:ffff888097ba8000(0063) knlGS:00000000f54e6b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f54e550e CR3: 0000000052c70000 CR4: 0000000000352ef0 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/0x7a0 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/0xd60 net/wireless/util.c:1238 nl80211_set_interface+0x8e0/0xc80 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:718 [inline] __sock_sendmsg net/socket.c:733 [inline] __sys_sendto+0x4a3/0x520 net/socket.c:2222 __do_compat_sys_socketcall net/compat.c:475 [inline] __se_compat_sys_socketcall net/compat.c:423 [inline] __ia32_compat_sys_socketcall+0x625/0x770 net/compat.c:423 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0x7c/0x370 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:0xf7ff1579 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:00000000f54e53d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000066 RAX: ffffffffffffffda RBX: 000000000000000b RCX: 00000000f54e53e4 RDX: 0000000000000000 RSI: 00000000f54e5550 RDI: 00000000f7486ff4 RBP: 00000000f54e5550 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 22 51 f4 and -0xc(%rcx),%dl 3: f6 48 8b 74 testb $0x74,-0x75(%rax) 7: 24 10 and $0x10,%al 9: 48 81 c6 20 01 00 00 add $0x120,%rsi 10: 48 89 74 24 10 mov %rsi,0x10(%rsp) 15: e8 0c 51 f4 f6 call 0xf6f45126 1a: 48 8d 3d 25 6c ac 05 lea 0x5ac6c25(%rip),%rdi # 0x5ac6c46 21: 8b 54 24 04 mov 0x4(%rsp),%edx 25: 48 8b 74 24 10 mov 0x10(%rsp),%rsi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: e8 f2 50 f4 f6 call 0xf6f45126 34: 4c 89 f2 mov %r14,%rdx 37: 48 rex.W 38: b8 00 00 00 00 mov $0x0,%eax 3d: 00 fc add %bh,%ah 3f: ff .byte 0xff