------------[ 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/5343 Modules linked in: CPU: 0 UID: 0 PID: 5343 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 08 e4 40 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 01 41 0a 89 c0 48 c7 c7 d8 52 e3 94 48 03 3c c5 d0 RSP: 0018:ffffc9000dc16358 EFLAGS: 00010002 RAX: 8000000000000200 RBX: ffffffff81c93dbc RCX: 8000000000000201 RDX: ffff888013895700 RSI: ffffffff8e93ac9b RDI: ffffffff8c8eba80 RBP: ffffc9000dc16610 R08: ffffc9000dc16138 R09: 0000000000000020 R10: dffffc0000000000 R11: ffffffff81a49a20 R12: ffff88801f8292d8 R13: 0000000000000246 R14: ffff888013894b00 R15: 0000000000000000 FS: 00007f0070a2a6c0(0000) GS:ffff88808a9f4000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000561286b49168 CR3: 0000000045559000 CR4: 0000000000352ef0 Call Trace: kcov_remote_start_common include/linux/kcov.h:48 [inline] ieee80211_rx_list+0x973/0x4a50 net/mac80211/rx.c:5781 ieee80211_rx_napi+0x1ad/0x3d0 net/mac80211/rx.c:5824 ieee80211_rx include/net/mac80211.h:5492 [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:10020 netif_change_flags+0x7c/0x1b0 net/core/dev.c:10087 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:2585 netlink_unicast_kernel net/netlink/af_netlink.c:1336 [inline] netlink_unicast+0x8ef/0xa80 net/netlink/af_netlink.c:1362 netlink_sendmsg+0x7f0/0xb20 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec+0x14e/0x190 net/socket.c:800 __sock_sendmsg net/socket.c:818 [inline] ____sys_sendmsg+0x49f/0x790 net/socket.c:2713 ___sys_sendmsg+0x2f8/0x3d0 net/socket.c:2770 __sys_sendmsg net/socket.c:2802 [inline] __do_sys_sendmsg net/socket.c:2807 [inline] __se_sys_sendmsg net/socket.c:2805 [inline] __x64_sys_sendmsg+0x1b1/0x290 net/socket.c:2805 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:0x7f006fba94d9 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:00007f0070a29fe8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f006fe25fa0 RCX: 00007f006fba94d9 RDX: 0000000000000000 RSI: 00002000000003c0 RDI: 0000000000000005 RBP: 00007f006fc3804e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f006fe26038 R14: 00007f006fe25fa0 R15: 00007ffcc9d1aa68