rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=aa64/1/0x4000000000000000 softirq=13909/13909 fqs=0 (detected by 1, t=10502 jiffies, g=14153, q=159 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4313 Comm: kworker/u4:6 Not tainted 6.1.126-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:preempt_count_sub+0x2e/0x160 kernel/sched/core.c:5734 Code: fb 48 c7 c0 60 51 35 97 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 0f b6 04 30 84 c0 0f 85 c0 00 00 00 83 3d 92 c1 d6 15 00 <75> 22 65 8b 05 71 df a3 7e 89 c1 81 e1 ff ff ff 7f 39 d9 7c 23 81 RSP: 0018:ffffc90000007c08 EFLAGS: 00000046 RAX: 0000000000000004 RBX: 0000000000000001 RCX: ffffffff97355103 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffffc90000007cb8 R08: dffffc0000000000 R09: fffffbfff2ec5971 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92000000f84 R14: dffffc0000000000 R15: 0000000000000046 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556a16d808 CR3: 000000000d08e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0xd9/0x130 kernel/locking/spinlock.c:194 debug_object_activate+0x2f9/0x4e0 lib/debugobjects.c:716 debug_hrtimer_activate kernel/time/hrtimer.c:421 [inline] debug_activate kernel/time/hrtimer.c:476 [inline] enqueue_hrtimer+0x30/0x410 kernel/time/hrtimer.c:1085 __run_hrtimer kernel/time/hrtimer.c:1706 [inline] __hrtimer_run_queues+0x728/0xe50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline] __sysvec_apic_timer_interrupt+0x158/0x5b0 arch/x86/kernel/apic/apic.c:1124 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:kasan_mem_to_shadow include/linux/kasan.h:60 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x41/0x290 mm/kasan/generic.c:189 Code: 0f 82 5a 02 00 00 48 89 fd 48 c1 ed 2f 81 fd ff ff 01 00 0f 82 47 02 00 00 48 89 fb 48 c1 eb 03 49 b8 00 00 00 00 00 fc ff df <4e> 8d 0c 03 4c 8d 54 37 ff 49 c1 ea 03 49 bb 01 00 00 00 00 fc ff RSP: 0018:ffffc90004147ac0 EFLAGS: 00000a02 RAX: 0000000000000001 RBX: 1ffff1100492a320 RCX: ffffffff816c05e4 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff888024951900 RBP: 000000000001ffff R08: dffffc0000000000 R09: fffffbfff1d36196 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888024820c80 R13: dffffc0000000000 R14: ffffffff8a83b70e R15: ffff888024951900 instrument_atomic_read include/linux/instrumented.h:72 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] queued_spin_is_locked include/asm-generic/qspinlock.h:57 [inline] debug_spin_unlock kernel/locking/spinlock_debug.c:100 [inline] do_raw_spin_unlock+0x54/0x8a0 kernel/locking/spinlock_debug.c:140 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:166 [inline] _raw_spin_unlock_bh+0x1f/0x30 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_nc_purge_paths+0x30e/0x3b0 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x324/0x610 net/batman-adv/network-coding.c:720 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: rcu_preempt kthread starved for 10502 jiffies! g14153 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. rcu: RCU grace-period kthread stack dump: task:rcu_preempt state:R running task stack:27064 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 5622 Comm: syz.4.459 Not tainted 6.1.126-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:check_kcov_mode kernel/kcov.c:193 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x32/0x60 kernel/kcov.c:216 Code: 34 d3 77 7e 65 8b 15 35 d3 77 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 1c 16 00 00 00 74 2c 8b 91 f8 15 00 00 <83> fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 48 8d 7e 01 8b 89 fc RSP: 0018:ffffc90006127698 EFLAGS: 00000246 RAX: ffffffff817f5b89 RBX: 1ffff110171c8595 RCX: ffff888029bcd940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90006127a80 R08: ffffffff817f5b52 R09: fffffbfff2249c4d R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880b8e42ca8 FS: 00005555886e3500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020003c80 CR3: 000000004c713000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:424 [inline] smp_call_function_many_cond+0x1fc9/0x3460 kernel/smp.c:998 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1166 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1334 [inline] text_poke_bp_batch+0x2bb/0x940 arch/x86/kernel/alternative.c:1534 text_poke_flush arch/x86/kernel/alternative.c:1725 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1732 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked+0xce/0x1b0 kernel/jump_label.c:237 static_key_disable+0x16/0x20 kernel/jump_label.c:245 tracepoint_remove_func kernel/tracepoint.c:417 [inline] tracepoint_probe_unregister+0x6e6/0x980 kernel/tracepoint.c:551 bpf_raw_tp_link_release+0x5f/0x80 kernel/bpf/syscall.c:3195 bpf_link_free kernel/bpf/syscall.c:2764 [inline] bpf_link_put+0x234/0x2c0 kernel/bpf/syscall.c:2790 bpf_link_release+0x37/0x40 kernel/bpf/syscall.c:2799 __fput+0x3f6/0x8d0 fs/file_table.c:320 task_work_run+0x246/0x300 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f1e70f85d29 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:00007ffd946297e8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 000000000001de86 RCX: 00007f1e70f85d29 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f1e71177ba0 R08: 0000000000000001 R09: 00007ffd94629adf R10: 00007f1e70c00000 R11: 0000000000000246 R12: 000000000001deda R13: 00007f1e71175fa0 R14: 0000000000000032 R15: ffffffffffffffff