------------[ cut here ]------------ in_task() && kcov_mode_enabled(mode) WARNING: kernel/kcov.c:911 at kcov_remote_start+0x55b/0x7e0 kernel/kcov.c:911, CPU#0: syz.0.0/5357 Modules linked in: CPU: 0 UID: 0 PID: 5357 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:kcov_remote_start+0x55b/0x7e0 kernel/kcov.c:911 Code: f7 c5 00 02 00 00 0f 84 86 fc ff ff fb e9 80 fc ff ff e8 b8 83 3f 0a 41 f7 c5 00 02 00 00 0f 85 67 fc ff ff e9 69 fc ff ff 90 <0f> 0b 90 e8 9d a1 3f 0a 89 c0 48 c7 c7 d8 02 e3 94 48 03 3c c5 d0 RSP: 0018:ffffc9000e096378 EFLAGS: 00010002 RAX: 8000000000000200 RBX: ffffffff81c93e0c RCX: 8000000000000201 RDX: ffff888013d35700 RSI: ffffffff8e93a8f0 RDI: ffffffff8c8ec380 RBP: ffffc9000e096630 R08: ffffc9000e096158 R09: 0000000000000020 R10: dffffc0000000000 R11: ffffffff81a49a50 R12: ffff88801f8292d8 R13: 0000000000000246 R14: ffff888013d34b00 R15: 0000000000000000 FS: 00007f51f23bd6c0(0000) GS:ffff88808a9f9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffff9fc11c0 CR3: 0000000043f7f000 CR4: 0000000000352ef0 Call Trace: kcov_remote_start_common include/linux/kcov.h:48 [inline] ieee80211_rx_list+0x973/0x4c10 net/mac80211/rx.c:5747 ieee80211_rx_napi+0x1ad/0x3d0 net/mac80211/rx.c:5790 ieee80211_rx include/net/mac80211.h:5491 [inline] ieee80211_handle_queued_frames+0xe4/0x1d0 net/mac80211/main.c:452 ieee80211_stop_device+0x3e/0xf0 net/mac80211/util.c:1659 ieee80211_do_stop+0x1e19/0x2450 net/mac80211/iface.c:777 ieee80211_stop+0x1ab/0x200 net/mac80211/iface.c:871 __dev_close_many+0x361/0x6e0 net/core/dev.c:1836 __dev_close net/core/dev.c:1849 [inline] __dev_change_flags+0x3f5/0x820 net/core/dev.c:10008 netif_change_flags+0x7c/0x1b0 net/core/dev.c:10075 do_setlink+0xdd6/0x47a0 net/core/rtnetlink.c:3294 rtnl_changelink net/core/rtnetlink.c:3942 [inline] __rtnl_newlink net/core/rtnetlink.c:4113 [inline] rtnl_newlink+0x15b0/0x1c30 net/core/rtnetlink.c:4252 rtnetlink_rcv_msg+0x802/0xc00 net/core/rtnetlink.c:7169 netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2584 netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline] netlink_unicast+0x8ef/0xa80 net/netlink/af_netlink.c:1361 netlink_sendmsg+0x7f0/0xb20 net/netlink/af_netlink.c:1920 sock_sendmsg_nosec+0x14e/0x190 net/socket.c:800 __sock_sendmsg net/socket.c:818 [inline] ____sys_sendmsg+0x54e/0x850 net/socket.c:2715 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2769 __sys_sendmsg net/socket.c:2801 [inline] __do_sys_sendmsg net/socket.c:2806 [inline] __se_sys_sendmsg net/socket.c:2804 [inline] __x64_sys_sendmsg+0x1b1/0x290 net/socket.c:2804 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x16a/0x530 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f51f159fb19 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 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 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f51f23bcfe8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f51f1825fa0 RCX: 00007f51f159fb19 RDX: 0000000000000000 RSI: 0000200000000200 RDI: 0000000000000008 RBP: 00007f51f1637b70 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f51f1826038 R14: 00007f51f1825fa0 R15: 00007ffe254a2208