------------[ cut here ]------------ in_task() && kcov_mode_enabled(mode) WARNING: kernel/kcov.c:893 at kcov_remote_start+0x55b/0x7e0 kernel/kcov.c:893, CPU#0: syz.0.0/5320 Modules linked in: CPU: 0 UID: 0 PID: 5320 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:893 Code: f7 c5 00 02 00 00 0f 84 86 fc ff ff fb e9 80 fc ff ff e8 08 55 22 0a 41 f7 c5 00 02 00 00 0f 85 67 fc ff ff e9 69 fc ff ff 90 <0f> 0b 90 e8 5d 72 22 0a 89 c0 48 c7 c7 58 4f 97 94 48 03 3c c5 d0 RSP: 0018:ffffc9000ee063d8 EFLAGS: 00010002 RAX: 8000000000000200 RBX: ffffffff81c82bfc RCX: 8000000000000201 RDX: ffff8880368e5700 RSI: ffffffff8e6f41f5 RDI: ffffffff8c6de880 RBP: ffffc9000ee06690 R08: ffffc9000ee061b8 R09: 0000000000000020 R10: dffffc0000000000 R11: ffffffff81a3d790 R12: ffff88801fa28f58 R13: 0000000000000246 R14: ffff8880368e4b00 R15: 0000000000000000 FS: 00007f561d4ee6c0(0000) GS:ffff88808b0b4000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557173922660 CR3: 000000000bf2c000 CR4: 0000000000352ef0 Call Trace: kcov_remote_start_common include/linux/kcov.h:48 [inline] ieee80211_rx_list+0x7ae/0x3b00 net/mac80211/rx.c:5708 ieee80211_rx_napi+0x1ad/0x3d0 net/mac80211/rx.c:5749 ieee80211_rx include/net/mac80211.h:5449 [inline] ieee80211_handle_queued_frames+0xe4/0x1d0 net/mac80211/main.c:452 ieee80211_stop_device+0x3e/0xf0 net/mac80211/util.c:1637 ieee80211_do_stop+0x1c35/0x2450 net/mac80211/iface.c:776 ieee80211_stop+0x1ab/0x200 net/mac80211/iface.c:870 __dev_close_many+0x366/0x6e0 net/core/dev.c:1798 __dev_close net/core/dev.c:1811 [inline] __dev_change_flags+0x3f5/0x820 net/core/dev.c:9853 netif_change_flags+0x7c/0x1b0 net/core/dev.c:9920 do_setlink+0xdd6/0x4670 net/core/rtnetlink.c:3271 rtnl_changelink net/core/rtnetlink.c:3910 [inline] __rtnl_newlink net/core/rtnetlink.c:4081 [inline] rtnl_newlink+0x15a3/0x1c30 net/core/rtnetlink.c:4220 rtnetlink_rcv_msg+0x802/0xc00 net/core/rtnetlink.c:7137 netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2575 netlink_unicast_kernel net/netlink/af_netlink.c:1338 [inline] netlink_unicast+0x7bd/0x940 net/netlink/af_netlink.c:1364 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec+0x13a/0x180 net/socket.c:800 __sock_sendmsg net/socket.c:815 [inline] ____sys_sendmsg+0x54e/0x850 net/socket.c:2713 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2767 __sys_sendmsg net/socket.c:2799 [inline] __do_sys_sendmsg net/socket.c:2804 [inline] __se_sys_sendmsg net/socket.c:2802 [inline] __x64_sys_sendmsg+0x1b1/0x290 net/socket.c:2802 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f561c59e1d9 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:00007f561d4edfe8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f561c825fa0 RCX: 00007f561c59e1d9 RDX: 0000000000000000 RSI: 0000200000000280 RDI: 0000000000000008 RBP: 00007f561c635888 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f561c826038 R14: 00007f561c825fa0 R15: 00007fff0bf0f9a8