------------[ 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/5351 Modules linked in: CPU: 0 UID: 0 PID: 5351 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 c8 39 0a 41 f7 c5 00 02 00 00 0f 85 67 fc ff ff e9 69 fc ff ff 90 <0f> 0b 90 e8 ed e5 39 0a 89 c0 48 c7 c7 d8 c2 c0 94 48 03 3c c5 d0 RSP: 0018:ffffc9000e426378 EFLAGS: 00010002 RAX: 8000000000000200 RBX: ffffffff81c9295c RCX: 8000000000000201 RDX: ffff888032bdd700 RSI: ffffffff8e92c8b3 RDI: ffffffff8c8e9180 RBP: ffffc9000e426630 R08: ffffc9000e426158 R09: 0000000000000020 R10: dffffc0000000000 R11: ffffffff81a48bd0 R12: ffff88801f8292d8 R13: 0000000000000246 R14: ffff888032bdcb00 R15: 0000000000000000 FS: 00007fcc87f9e6c0(0000) GS:ffff88808ac1d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e1f115e168 CR3: 0000000044a9e000 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:9961 netif_change_flags+0x7c/0x1b0 net/core/dev.c:10028 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:2576 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+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcc8719f559 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:00007fcc87f9dfe8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fcc87425fa0 RCX: 00007fcc8719f559 RDX: 0000000000000000 RSI: 00002000000003c0 RDI: 0000000000000005 RBP: 00007fcc87236b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fcc87426038 R14: 00007fcc87425fa0 R15: 00007ffd26be82b8