watchdog: BUG: soft lockup - CPU#1 stuck for 144s! [syz.3.174:6255] Modules linked in: irq event stamp: 11876235 hardirqs last enabled at (11876234): [] irqentry_exit+0x63/0x90 kernel/entry/common.c:357 hardirqs last disabled at (11876235): [] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1043 softirqs last enabled at (11843280): [] __do_softirq kernel/softirq.c:588 [inline] softirqs last enabled at (11843280): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last enabled at (11843280): [] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 softirqs last disabled at (11843283): [] __do_softirq kernel/softirq.c:588 [inline] softirqs last disabled at (11843283): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last disabled at (11843283): [] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 CPU: 1 PID: 6255 Comm: syz.3.174 Not tainted 6.10.0-syzkaller-04559-g7d30b8aa4fc3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:__preempt_count_add arch/x86/include/asm/preempt.h:79 [inline] RIP: 0010:preempt_count_add+0x3d/0x190 kernel/sched/core.c:5651 Code: c1 e8 03 49 bf 00 00 00 00 00 fc ff df 42 0f b6 04 38 84 c0 0f 85 ed 00 00 00 83 3d 1c c3 68 13 00 75 07 65 8b 05 5b 11 9e 7e <65> 01 1d 54 11 9e 7e 48 c7 c0 40 87 ce 94 48 c1 e8 03 42 0f b6 04 RSP: 0018:ffffc90000a18288 EFLAGS: 00000246 RAX: 0000000000000102 RBX: 0000000000000001 RCX: ffffffff94ce8703 RDX: ffff888020cfda00 RSI: 0000000000000002 RDI: 0000000000000001 RBP: ffffc90000a18380 R08: ffffffff814110b1 R09: ffffc90000a18470 R10: 0000000000000003 R11: ffffffff818204a0 R12: ffff888020cfda00 R13: dffffc0000000000 R14: 0000000000000002 R15: dffffc0000000000 FS: 00007ff6019616c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000003021c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: unwind_next_frame+0xc1/0x2a00 arch/x86/kernel/unwind_orc.c:479 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 unpoison_slab_object mm/kasan/common.c:312 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3940 [inline] slab_alloc_node mm/slub.c:4002 [inline] kmem_cache_alloc_node_noprof+0x16b/0x320 mm/slub.c:4045 __alloc_skb+0x1c3/0x440 net/core/skbuff.c:664 skb_copy+0x12b/0x820 net/core/skbuff.c:2143 mac80211_hwsim_tx_frame_no_nl+0x1068/0x18d0 drivers/net/wireless/virtual/mac80211_hwsim.c:1866 mac80211_hwsim_tx_frame+0x1cc/0x220 drivers/net/wireless/virtual/mac80211_hwsim.c:2215 mac80211_hwsim_beacon_tx+0x3bf/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2315 __iterate_interfaces+0x223/0x4c0 net/mac80211/util.c:772 ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:808 mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2345 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1753 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1770 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline] sysvec_irq_work+0xa3/0xc0 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738 RIP: 0010:__sanitizer_cov_trace_switch+0xe/0x120 kernel/kcov.c:321 Code: 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 41 56 41 54 53 4c 8b 16 <48> 8b 46 08 48 83 c0 f8 48 c1 c0 3d 48 83 f8 02 7f 1f 48 85 c0 74 RSP: 0018:ffffc9000319e778 EFLAGS: 00000246 RAX: 1ffff92000633d04 RBX: 0000000000000002 RCX: 0000000000040000 RDX: ffff0a00ffffff03 RSI: ffffffff8fdd6aa0 RDI: 0000000000000003 RBP: ffffc9000319e890 R08: 0000000000000001 R09: ffffffff8baa1411 R10: 0000000000000012 R11: ffff888020cfda00 R12: ffffffff8beb8e42 R13: dffffc0000000000 R14: ffff0a00ffffff03 R15: ffffffff8beb8e40 vsnprintf+0x184/0x1da0 lib/vsprintf.c:2780 snprintf+0xda/0x120 lib/vsprintf.c:2959 print_caller kernel/printk/printk.c:1339 [inline] info_print_prefix+0x1f0/0x310 kernel/printk/printk.c:1358 record_print_text kernel/printk/printk.c:1405 [inline] printk_get_next_message+0x6da/0xbe0 kernel/printk/printk.c:2840 console_emit_next_record kernel/printk/printk.c:2880 [inline] console_flush_all+0x410/0xfd0 kernel/printk/printk.c:2979 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3048 vprintk_emit+0x5a6/0x770 kernel/printk/printk.c:2348 _printk+0xd5/0x120 kernel/printk/printk.c:2373 __nla_validate_parse+0x282e/0x3090 lib/nlattr.c:647 __nla_parse+0x40/0x60 lib/nlattr.c:732 __nlmsg_parse include/net/netlink.h:761 [inline] genl_family_rcv_msg_attrs_parse+0x1d1/0x290 net/netlink/genetlink.c:945 genl_family_rcv_msg_doit net/netlink/genetlink.c:1093 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0x802/0xec0 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597 ___sys_sendmsg net/socket.c:2651 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680 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:0x7ff600b77299 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:00007ff601961048 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007ff600d05f80 RCX: 00007ff600b77299 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000007 RBP: 00007ff600be48e6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff600d05f80 R15: 00007ffe465e0e48 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6263 Comm: syz.4.175 Not tainted 6.10.0-syzkaller-04559-g7d30b8aa4fc3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:write_comp_data kernel/kcov.c:236 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x2d/0x90 kernel/kcov.c:304 Code: fa 4c 8b 04 24 65 48 8b 14 25 80 d5 03 00 65 8b 05 70 73 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 RSP: 0018:ffffc90000006df8 EFLAGS: 00000046 RAX: 0000000000000103 RBX: 0000000000000000 RCX: ffff888061f59e00 RDX: ffff888061f59e00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000006f30 R08: ffffffff81b3ac64 R09: fffff52000000dd8 R10: dffffc0000000000 R11: fffff52000000dd8 R12: ffff8880b9236480 R13: dffffc0000000000 R14: ffffc90000006f91 R15: ffffc90000006f80 FS: 00007ff1194206c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f39a683ff58 CR3: 000000002d168000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: bpf_bprintf_prepare+0x324/0x1530 kernel/bpf/helpers.c:848 ____bpf_snprintf kernel/bpf/helpers.c:1061 [inline] bpf_snprintf+0x163/0x260 kernel/bpf/helpers.c:1045 bpf_prog_a0c2b32c1af58b65+0x56/0x5a bpf_dispatcher_nop_func include/linux/bpf.h:1252 [inline] __bpf_prog_run include/linux/filter.h:682 [inline] bpf_prog_run include/linux/filter.h:698 [inline] bpf_prog_run_array include/linux/bpf.h:2118 [inline] trace_call_bpf+0x3f5/0x8a0 kernel/trace/bpf_trace.c:147 perf_trace_run_bpf_submit+0x82/0x180 kernel/events/core.c:10304 perf_trace_preemptirq_template+0x2d2/0x3f0 include/trace/events/preemptirq.h:14 trace_irq_disable+0xf1/0x120 include/trace/events/preemptirq.h:36 irqentry_enter+0x39/0x60 kernel/entry/common.c:297 sysvec_irq_work+0xe/0xc0 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738 RIP: 0010:__asan_memset+0x23/0x50 mm/kasan/shadow.c:84 Code: 90 90 90 90 90 90 90 f3 0f 1e fa 55 41 56 53 48 89 d3 41 89 f6 48 89 fd 48 8b 4c 24 18 48 89 d6 ba 01 00 00 00 e8 fd e5 ff ff <84> c0 74 12 48 89 ef 44 89 f6 48 89 da 5b 41 5e 5d e9 57 25 b4 09 RSP: 0018:ffffc90000007398 EFLAGS: 00000256 RAX: ffffffff81413f01 RBX: 0000000000000060 RCX: ffffffff8141400e RDX: 0000000000000001 RSI: 0000000000000060 RDI: ffffc90000007420 RBP: ffffc90000007420 R08: ffffc9000000747f R09: 1ffff92000000e8f R10: dffffc0000000000 R11: fffff52000000e90 R12: 0000000000000000 R13: ffffffff818204a0 R14: 0000000000000000 R15: 0000000000000000 __unwind_start+0x3e/0x7c0 arch/x86/kernel/unwind_orc.c:688 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0x103/0x1b0 arch/x86/kernel/stacktrace.c:24 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 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579 poison_slab_object+0xe0/0x150 mm/kasan/common.c:240 __kasan_slab_free+0x37/0x60 mm/kasan/common.c:256 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2196 [inline] slab_free mm/slub.c:4438 [inline] kmem_cache_free+0x145/0x350 mm/slub.c:4513 packet_rcv+0x16e/0x13e0 net/packet/af_packet.c:2290 __netif_receive_skb_one_core net/core/dev.c:5660 [inline] __netif_receive_skb+0x2e0/0x650 net/core/dev.c:5774 process_backlog+0x662/0x15b0 net/core/dev.c:6107 __napi_poll+0xcb/0x490 net/core/dev.c:6771 napi_poll net/core/dev.c:6840 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:6962 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5062 Code: c9 50 e8 19 b6 0b 00 48 83 c4 08 4c 89 f7 e8 7d 38 00 00 0f 1f 44 00 00 4c 89 f7 e8 a0 01 55 0a e8 fb e7 36 00 fb 48 8b 5d c0 <48> 8d bb f8 15 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc RSP: 0018:ffffc900044b68a8 EFLAGS: 00000286 RAX: 8f21107c9e57a300 RBX: ffff888061f59e00 RCX: ffffffff94ce8703 RDX: dffffc0000000000 RSI: ffffffff8beac920 RDI: ffffffff8c4047a0 RBP: ffffc900044b68f0 R08: ffffffff8ff6666f R09: 1ffffffff1fecccd R10: dffffc0000000000 R11: fffffbfff1feccce R12: 1ffff11017247ebb R13: dffffc0000000000 R14: ffff8880b923e840 R15: ffff8880b923f5d8 context_switch kernel/sched/core.c:5191 [inline] __schedule+0x1808/0x4a60 kernel/sched/core.c:6529 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6851 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x18/0x70 kernel/kcov.c:207 Code: 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 04 24 65 48 8b 0c 25 80 d5 03 00 65 8b 15 b0 77 6d 7e c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 1c 16 00 00 RSP: 0018:ffffc900044b6c78 EFLAGS: 00000a06 RAX: ffffffff8206ea2b RBX: 0000000000000003 RCX: ffff888061f59e00 RDX: 0000000080000000 RSI: 0000000000000003 RDI: ffffea00018f9200 RBP: ffffc900044b6d70 R08: ffffea00018f9237 R09: 0000000000000000 R10: ffffed100c7c9000 R11: fffff9400031f247 R12: 0000000000140dc0 R13: 0000000000000008 R14: ffffea00018f9200 R15: dffffc0000000000 __set_page_owner+0x7b/0x800 mm/page_owner.c:315 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1473 prep_new_page mm/page_alloc.c:1481 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3425 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4683 __alloc_pages_node_noprof include/linux/gfp.h:269 [inline] alloc_pages_node_noprof include/linux/gfp.h:296 [inline] __kmalloc_large_node+0x8b/0x1d0 mm/slub.c:4068 kmalloc_large_noprof+0x1f/0x80 mm/slub.c:4085 kmalloc_noprof include/linux/slab.h:657 [inline] kzalloc_noprof include/linux/slab.h:778 [inline] bpf_check+0x1bd/0x1a100 kernel/bpf/verifier.c:22079 bpf_prog_load+0x1667/0x20f0 kernel/bpf/syscall.c:2908 __sys_bpf+0x4ee/0x810 kernel/bpf/syscall.c:5710 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 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:0x7ff118577299 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:00007ff119420048 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007ff118705f80 RCX: 00007ff118577299 RDX: 0000000000000090 RSI: 0000000020001200 RDI: 0000000000000005 RBP: 00007ff1185e48e6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff118705f80 R15: 00007ffc18245888