rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-....: (10500 ticks this GP) idle=dc94/1/0x4000000000000000 softirq=58057/2123481 fqs=5232 rcu: hardirqs softirqs csw/system rcu: number: 19 1032986 0 rcu: cputime: 962 49878 1631 ==> 52490(ms) rcu: (t=10501 jiffies g=53585 q=2567 ncpus=2) CPU: 0 UID: 0 PID: 54 Comm: kworker/u8:3 Not tainted 6.12.0-syzkaller-g27802ca14cae #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound nsim_dev_trap_report_work RIP: 0010:check_kcov_mode kernel/kcov.c:183 [inline] RIP: 0010:write_comp_data kernel/kcov.c:246 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x18/0x90 kernel/kcov.c:321 Code: 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 4c 8b 04 24 65 48 8b 0c 25 c0 d4 03 00 65 8b 05 c0 ef 6d 7e <25> 00 01 ff 00 74 10 3d 00 01 00 00 75 57 83 b9 1c 16 00 00 00 74 RSP: 0018:ffffc90000007898 EFLAGS: 00000246 RAX: 0000000000000104 RBX: 0000000000000400 RCX: ffff888022af1e00 RDX: 0000000000000100 RSI: 0000000000000400 RDI: 0000000000000000 RBP: ffffc90000007990 R08: ffffffff8bcbe2fe R09: 0000000000000020 R10: dffffc0000000000 R11: ffffed10170c6c99 R12: ffff8880b86364c0 R13: ffff8880b86362c0 R14: dffffc0000000000 R15: ffff8880b86368c0 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000007d292000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: bstr_printf+0x112e/0x1210 lib/vsprintf.c:3417 ____bpf_trace_printk kernel/trace/bpf_trace.c:389 [inline] bpf_trace_printk+0x1a1/0x230 kernel/trace/bpf_trace.c:374 bpf_prog_0605f9f479290f07+0x38/0x3c bpf_dispatcher_nop_func include/linux/bpf.h:1290 [inline] __bpf_prog_run include/linux/filter.h:701 [inline] bpf_prog_run include/linux/filter.h:708 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2351 [inline] bpf_trace_run1+0x2ca/0x520 kernel/trace/bpf_trace.c:2391 trace_rcu_utilization+0x1b4/0x1e0 include/trace/events/rcu.h:27 rcu_core+0x1161/0x17a0 kernel/rcu/tree.c:2831 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:655 irq_exit_rcu+0x9/0x30 kernel/softirq.c:671 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:on_stack arch/x86/include/asm/stacktrace.h:55 [inline] RIP: 0010:stack_access_ok arch/x86/kernel/unwind_orc.c:393 [inline] RIP: 0010:deref_stack_reg arch/x86/kernel/unwind_orc.c:403 [inline] RIP: 0010:unwind_next_frame+0xb36/0x22d0 arch/x86/kernel/unwind_orc.c:585 Code: 77 01 83 e6 07 83 fe 04 0f 84 e6 01 00 00 83 fe 03 0f 84 3e 03 00 00 83 fe 02 0f 85 98 04 00 00 48 89 6c 24 48 4c 89 7c 24 28 <49> 8d 6d 08 48 89 e8 48 c1 e8 03 48 89 84 24 88 00 00 00 42 80 3c RSP: 0018:ffffc90000be6f30 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffffffff2162121 RCX: ffffffff9037169c RDX: ffffffff90b10906 RSI: 0000000000000002 RDI: 0000000000000001 RBP: ffffffff90b1090b R08: 000000000000000b R09: ffffc90000be70f0 R10: ffffc90000be7050 R11: ffffffff81819e90 R12: dffffc0000000000 R13: ffffc90000be7000 R14: ffffc90000be7038 R15: ffffffff90b1090a arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __set_page_owner+0x92/0x800 mm/page_owner.c:320 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1556 prep_new_page mm/page_alloc.c:1564 [inline] get_page_from_freelist+0x3649/0x3790 mm/page_alloc.c:3474 __alloc_pages_noprof+0x292/0x710 mm/page_alloc.c:4751 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265 alloc_slab_page+0x6a/0x140 mm/slub.c:2412 allocate_slab+0x5a/0x2f0 mm/slub.c:2578 new_slab mm/slub.c:2631 [inline] ___slab_alloc+0xcd1/0x14b0 mm/slub.c:3818 __slab_alloc+0x58/0xa0 mm/slub.c:3908 __slab_alloc_node mm/slub.c:3961 [inline] slab_alloc_node mm/slub.c:4122 [inline] __do_kmalloc_node mm/slub.c:4263 [inline] __kmalloc_node_track_caller_noprof+0x281/0x440 mm/slub.c:4283 kmalloc_reserve+0x111/0x2a0 net/core/skbuff.c:609 __alloc_skb+0x1f3/0x440 net/core/skbuff.c:678 alloc_skb include/linux/skbuff.h:1323 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:748 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] nsim_dev_trap_report_work+0x261/0xb50 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244