rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-....: (10499 ticks this GP) idle=c404/1/0x4000000000000000 softirq=17454/2509368 fqs=4892 rcu: hardirqs softirqs csw/system rcu: number: 17 1250397 0 rcu: cputime: 1071 50035 1375 ==> 52490(ms) rcu: (t=10500 jiffies g=13749 q=3179 ncpus=2) CPU: 0 UID: 0 PID: 6939 Comm: syz.0.217 Not tainted 6.12.0-syzkaller-g27802ca14cae #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 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_switch+0xb2/0x120 kernel/kcov.c:351 Code: c0 d4 03 00 31 d2 eb 08 48 ff c2 49 39 d2 74 71 4c 8b 74 d6 10 65 8b 05 94 ee 6d 7e 25 00 01 ff 00 74 11 3d 00 01 00 00 75 de <41> 83 bb 1c 16 00 00 00 74 d4 41 8b 83 f8 15 00 00 83 f8 03 75 c8 RSP: 0018:ffffc90000007348 EFLAGS: 00000246 RAX: 0000000000000100 RBX: 0000000000000004 RCX: ffff888025818000 RDX: 0000000000000006 RSI: ffffffff8e9920e0 RDI: 0000000000000004 RBP: 000000000000000a R08: 0000000000000005 R09: ffffffff8197d395 R10: 0000000000000020 R11: ffff888025818000 R12: dffffc0000000000 R13: 00000000000000b4 R14: 0000000000000006 R15: 00000000000642e4 FS: 00007f157a1f66c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff2a08c1fe4 CR3: 000000006069e000 CR4: 00000000003526f0 DR0: 0000000020000300 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: rb_event_length+0x45/0x400 kernel/trace/ring_buffer.c:218 rb_read_data_buffer+0x3fd/0x520 kernel/trace/ring_buffer.c:1749 check_buffer+0x35e/0x850 kernel/trace/ring_buffer.c:4221 __rb_reserve_next kernel/trace/ring_buffer.c:4320 [inline] rb_reserve_next_event kernel/trace/ring_buffer.c:4452 [inline] ring_buffer_lock_reserve+0x12a9/0x21c0 kernel/trace/ring_buffer.c:4511 __trace_buffer_lock_reserve kernel/trace/trace.c:1020 [inline] trace_event_buffer_lock_reserve+0x2ab/0x6a0 kernel/trace/trace.c:2746 trace_event_buffer_reserve+0x2b7/0x3f0 kernel/trace/trace_events.c:515 do_trace_event_raw_event_bpf_trace_printk kernel/trace/bpf_trace.h:11 [inline] trace_event_raw_event_bpf_trace_printk+0x102/0x260 kernel/trace/bpf_trace.h:11 trace_bpf_trace_printk+0x186/0x1f0 kernel/trace/bpf_trace.h:11 ____bpf_trace_printk kernel/trace/bpf_trace.c:391 [inline] bpf_trace_printk+0x1bf/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+0x133/0x17a0 kernel/rcu/tree.c:2795 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:rcu_read_unlock_special+0x88/0x570 kernel/rcu/tree_plugin.h:693 Code: f1 f1 f1 00 f2 f2 f2 49 89 04 14 66 41 c7 44 14 09 f3 f3 41 c6 44 14 0b f3 65 44 8b 3d 19 7b 87 7e 41 f7 c7 00 00 f0 00 74 49 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 22 00 00 00 00 66 42 c7 44 22 RSP: 0018:ffffc90003366620 EFLAGS: 00000206 RAX: c773d6b88dbb2400 RBX: 1ffff9200066cccc RCX: ffffffff9a426903 RDX: dffffc0000000000 RSI: ffffffff8c0ad880 RDI: ffffffff8c615460 RBP: ffffc900033666f8 R08: ffffffff901e4037 R09: 1ffffffff203c806 R10: dffffc0000000000 R11: fffffbfff203c807 R12: 1ffff9200066ccc8 R13: ffff888025818460 R14: ffffc90003366660 R15: ffffffff8e941300 __rcu_read_unlock+0xa1/0x110 kernel/rcu/tree_plugin.h:437 rcu_read_unlock include/linux/rcupdate.h:882 [inline] trace_call_bpf+0x607/0x8a0 kernel/trace/bpf_trace.c:148 perf_trace_run_bpf_submit+0x82/0x180 kernel/events/core.c:10473 do_perf_trace_lock_acquire include/trace/events/lock.h:24 [inline] perf_trace_lock_acquire+0x3c3/0x4f0 include/trace/events/lock.h:24 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x51b/0x550 kernel/locking/lockdep.c:5820 __fs_reclaim_acquire mm/page_alloc.c:3851 [inline] fs_reclaim_acquire+0x88/0x130 mm/page_alloc.c:3865 might_alloc include/linux/sched/mm.h:318 [inline] slab_pre_alloc_hook mm/slub.c:4036 [inline] slab_alloc_node mm/slub.c:4114 [inline] __do_kmalloc_node mm/slub.c:4263 [inline] __kmalloc_node_track_caller_noprof+0xab/0x440 mm/slub.c:4283 __do_krealloc mm/slab_common.c:1229 [inline] krealloc_noprof+0x88/0x120 mm/slab_common.c:1278 copy_array kernel/bpf/verifier.c:1243 [inline] copy_stack_state kernel/bpf/verifier.c:1298 [inline] copy_func_state kernel/bpf/verifier.c:1480 [inline] copy_verifier_state+0x865/0xec0 kernel/bpf/verifier.c:1519 is_state_visited kernel/bpf/verifier.c:18413 [inline] do_check+0x4522/0xfcd0 kernel/bpf/verifier.c:18575 do_check_common+0x1564/0x2010 kernel/bpf/verifier.c:21848 do_check_main kernel/bpf/verifier.c:21939 [inline] bpf_check+0x19380/0x1f1b0 kernel/bpf/verifier.c:22656 bpf_prog_load+0x1667/0x20f0 kernel/bpf/syscall.c:2947 __sys_bpf+0x4ee/0x810 kernel/bpf/syscall.c:5790 __do_sys_bpf kernel/bpf/syscall.c:5897 [inline] __se_sys_bpf kernel/bpf/syscall.c:5895 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5895 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:0x7f157937e819 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:00007f157a1f6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f1579535fa0 RCX: 00007f157937e819 RDX: 0000000000000048 RSI: 00000000200017c0 RDI: 0000000000000005 RBP: 00007f15793f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1579535fa0 R15: 00007fff41f26098