------------[ cut here ]------------ WARNING: CPU: 0 PID: 7021 at kernel/kcov.c:871 kcov_remote_start+0x5a2/0x7e0 kernel/kcov.c:871 Modules linked in: CPU: 0 PID: 7021 Comm: syz.3.380 Not tainted 6.10.0-rc7-syzkaller-00003-g4376e966ecb7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:kcov_remote_start+0x5a2/0x7e0 kernel/kcov.c:871 Code: 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 0f 85 a6 01 00 00 41 f7 c6 00 02 00 00 0f 84 93 fa ff ff fb e9 8d fa ff ff 90 <0f> 0b 90 e8 66 cd ef 09 89 c0 48 c7 c7 c8 d4 02 00 48 03 3c c5 e0 RSP: 0000:ffffc90000006470 EFLAGS: 00010002 RAX: 0000000080010102 RBX: ffff88807d935a00 RCX: 0000000000000002 RDX: dffffc0000000000 RSI: ffffffff8bcaccc0 RDI: ffffffff8c1fe980 RBP: 0100000000000005 R08: ffffffff92fa75f7 R09: 1ffffffff25f4ebe R10: dffffc0000000000 R11: fffffbfff25f4ebf R12: ffffffff8196315e R13: ffff888028d7d600 R14: 0000000000000006 R15: ffff8880b942d4c8 FS: 00007f455fef76c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b317d7ff8 CR3: 000000001f45e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kcov_remote_start_usb include/linux/kcov.h:55 [inline] kcov_remote_start_usb_softirq include/linux/kcov.h:89 [inline] __usb_hcd_giveback_urb+0x405/0x6e0 drivers/usb/core/hcd.c:1649 dummy_timer+0x830/0x45d0 drivers/usb/gadget/udc/dummy_hcd.c:1987 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:check_kcov_mode kernel/kcov.c:175 [inline] RIP: 0010:write_comp_data kernel/kcov.c:236 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x2f/0x90 kernel/kcov.c:304 Code: 8b 04 24 65 48 8b 14 25 c0 d4 03 00 65 8b 05 c0 a8 6d 7e a9 00 01 ff 00 74 10 a9 00 01 00 00 74 5b 83 ba 1c 16 00 00 00 74 52 <8b> 82 f8 15 00 00 83 f8 03 75 47 48 8b 8a 00 16 00 00 44 8b 8a fc RSP: 0000:ffffc90000006c00 EFLAGS: 00000202 RAX: 0000000080000102 RBX: 0000000000000001 RCX: ffffc90009050000 RDX: ffff88807d935a00 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 1ffff92000000d9e R08: ffffffff8141008d R09: ffffffff8140ffe6 R10: 0000000000000003 R11: ffff88807d935a00 R12: ffffc900090576d8 R13: ffffc90009058000 R14: 1ffff92000000d9d R15: dffffc0000000000 on_stack arch/x86/include/asm/stacktrace.h:58 [inline] stack_access_ok arch/x86/kernel/unwind_orc.c:393 [inline] deref_stack_reg arch/x86/kernel/unwind_orc.c:403 [inline] unwind_next_frame+0x109d/0x2a00 arch/x86/kernel/unwind_orc.c:585 arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:370 [inline] __kasan_kmalloc+0x98/0xb0 mm/kasan/common.c:387 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slub.c:4123 [inline] __kmalloc_noprof+0x1f9/0x400 mm/slub.c:4136 kmalloc_noprof include/linux/slab.h:664 [inline] kzalloc_noprof include/linux/slab.h:778 [inline] cfg80211_inform_single_bss_data+0xd78/0x2360 net/wireless/scan.c:2265 cfg80211_inform_bss_data+0x3dd/0x5a70 net/wireless/scan.c:3117 cfg80211_inform_bss_frame_data+0x3bc/0x720 net/wireless/scan.c:3207 ieee80211_bss_info_update+0x8a7/0xbc0 net/mac80211/scan.c:226 ieee80211_scan_rx+0x526/0x9c0 net/mac80211/scan.c:340 __ieee80211_rx_handle_packet net/mac80211/rx.c:5222 [inline] ieee80211_rx_list+0x2b00/0x3780 net/mac80211/rx.c:5459 ieee80211_rx_napi+0x18a/0x3c0 net/mac80211/rx.c:5482 ieee80211_rx include/net/mac80211.h:5093 [inline] ieee80211_handle_queued_frames+0xe7/0x1e0 net/mac80211/main.c:438 tasklet_action_common+0x321/0x4d0 kernel/softirq.c:785 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554 do_softirq+0x11b/0x1e0 kernel/softirq.c:455 __local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:382 ieee80211_tx_skb_tid+0x264/0x420 net/mac80211/tx.c:6131 ieee80211_mgmt_tx+0x1b46/0x2170 net/mac80211/offchannel.c:989 rdev_mgmt_tx net/wireless/rdev-ops.h:762 [inline] cfg80211_mlme_mgmt_tx+0x950/0x16a0 net/wireless/mlme.c:937 nl80211_tx_mgmt+0xb0d/0x1190 net/wireless/nl80211.c:12655 genl_family_rcv_msg_doit net/netlink/genetlink.c:1115 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0xb14/0xec0 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2564 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline] netlink_unicast+0x7ea/0x980 net/netlink/af_netlink.c:1361 netlink_sendmsg+0x8db/0xcb0 net/netlink/af_netlink.c:1905 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2585 ___sys_sendmsg net/socket.c:2639 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2668 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f455f175bd9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f455fef7048 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f455f304038 RCX: 00007f455f175bd9 RDX: 0000000000000000 RSI: 0000000020000440 RDI: 0000000000000007 RBP: 00007f455f1e4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f455f304038 R15: 00007f455f42fa78 ---------------- Code disassembly (best guess): 0: 8b 04 24 mov (%rsp),%eax 3: 65 48 8b 14 25 c0 d4 mov %gs:0x3d4c0,%rdx a: 03 00 c: 65 8b 05 c0 a8 6d 7e mov %gs:0x7e6da8c0(%rip),%eax # 0x7e6da8d3 13: a9 00 01 ff 00 test $0xff0100,%eax 18: 74 10 je 0x2a 1a: a9 00 01 00 00 test $0x100,%eax 1f: 74 5b je 0x7c 21: 83 ba 1c 16 00 00 00 cmpl $0x0,0x161c(%rdx) 28: 74 52 je 0x7c * 2a: 8b 82 f8 15 00 00 mov 0x15f8(%rdx),%eax <-- trapping instruction 30: 83 f8 03 cmp $0x3,%eax 33: 75 47 jne 0x7c 35: 48 8b 8a 00 16 00 00 mov 0x1600(%rdx),%rcx 3c: 44 rex.R 3d: 8b .byte 0x8b 3e: 8a fc mov %ah,%bh