rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=34f4/1/0x4000000000000000 softirq=24919/24920 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P53/1:b..l rcu: (detected by 1, t=10502 jiffies, g=22169, q=181 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 7924 Comm: syz.1.425 Not tainted 6.14.0-rc2-syzkaller-00056-gab68d7eb7b1a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:lookup_object_or_alloc lib/debugobjects.c:662 [inline] RIP: 0010:debug_object_activate+0x184/0x580 lib/debugobjects.c:820 Code: 49 0f af cf 48 c1 e9 2f 83 e1 f8 48 8d 9c c9 c0 b3 5c 9a 48 8d bc c9 c8 b3 5c 9a 48 89 7c 24 28 e8 d1 99 09 07 48 89 44 24 20 <48> 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 c6 e8 36 fd RSP: 0018:ffffc90000007be0 EFLAGS: 00000046 RAX: 0000000000000046 RBX: ffffffff9a6d0de0 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffc90000007ac0 RBP: ffffc90000007cf8 R08: 0000000000000003 R09: fffff52000000f58 R10: dffffc0000000000 R11: fffff52000000f58 R12: ffffc90000007c40 R13: 1ffff92000000f84 R14: dffffc0000000000 R15: 000ffff888140aee FS: 00007fdc64a3c6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f43c8b7cbc0 CR3: 0000000067cba000 CR4: 0000000000350ef0 Call Trace: debug_hrtimer_activate kernel/time/hrtimer.c:455 [inline] debug_activate kernel/time/hrtimer.c:496 [inline] enqueue_hrtimer+0x30/0x3c0 kernel/time/hrtimer.c:1100 __run_hrtimer kernel/time/hrtimer.c:1818 [inline] __hrtimer_run_queues+0x6cb/0xd30 kernel/time/hrtimer.c:1865 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1927 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x112/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:copy_msghdr_from_user+0xe9/0x680 net/socket.c:2514 Code: 62 e8 cb 10 0c f8 bb f2 ff ff ff 48 c7 44 24 40 0e 36 e0 45 48 b8 00 00 00 00 00 fc ff df 48 8b 4c 24 38 c7 04 08 00 00 00 00 44 08 0b 00 00 00 00 c6 44 08 0f 00 65 48 8b 04 25 28 00 00 00 RSP: 0018:ffffc900171df960 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff92002e3bf34 RDX: ffffc900171dfd30 RSI: 0000000000000000 RDI: ffffc900171dfd28 RBP: ffffc900171dfa70 R08: ffffffff84e75928 R09: ffffc900171dfd10 R10: dffffc0000000000 R11: fffff52002e3bfac R12: 1ffff92002e3bf3b R13: 0000000000000000 R14: ffffc900171df9d8 R15: 1ffff92002e3bf00 recvmsg_copy_msghdr net/socket.c:2759 [inline] ___sys_recvmsg net/socket.c:2831 [inline] do_recvmmsg+0x3bd/0xab0 net/socket.c:2930 __sys_recvmmsg net/socket.c:3004 [inline] __do_sys_recvmmsg net/socket.c:3027 [inline] __se_sys_recvmmsg net/socket.c:3020 [inline] __x64_sys_recvmmsg+0x199/0x250 net/socket.c:3020 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:0x7fdc63b8cde9 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:00007fdc64a3c038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fdc63da6080 RCX: 00007fdc63b8cde9 RDX: 0000000000010106 RSI: 00004000000000c0 RDI: 0000000000000005 RBP: 00007fdc63c0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fdc63da6080 R15: 00007ffd53081658 task:kworker/u8:3 state:R running task stack:20504 pid:53 tgid:53 ppid:2 task_flags:0x4208160 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x190e/0x4c90 kernel/sched/core.c:6764 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7086 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:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5855 Code: 2b 00 74 08 4c 89 f7 e8 5a 3d 8b 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc90000be7940 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200017cf34 RCX: ffff888022eaa8e8 RDX: dffffc0000000000 RSI: ffffffff8c0ab8e0 RDI: ffffffff8c608cc0 RBP: ffffc90000be7aa0 R08: ffffffff942fb847 R09: 1ffffffff285f708 R10: dffffc0000000000 R11: fffffbfff285f709 R12: 1ffff9200017cf30 R13: dffffc0000000000 R14: ffffc90000be79a0 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xec/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xa68/0x1840 kernel/workqueue.c:3317 worker_thread+0x870/0xd30 kernel/workqueue.c:3398 kthread+0x7ab/0x920 kernel/kthread.c:464 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: rcu_preempt kthread starved for 10502 jiffies! g22169 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:23080 pid:17 tgid:17 ppid:2 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x190e/0x4c90 kernel/sched/core.c:6764 __schedule_loop kernel/sched/core.c:6841 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6856 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2024 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2226 kthread+0x7ab/0x920 kernel/kthread.c:464 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 UID: 0 PID: 5928 Comm: kworker/u8:8 Not tainted 6.14.0-rc2-syzkaller-00056-gab68d7eb7b1a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x1ba4/0x2d30 kernel/smp.c:885 Code: 03 84 c0 75 7e 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 b0 e8 0b 00 41 83 e4 01 4c 8b 64 24 68 75 07 e8 60 e4 0b 00 eb 41 f3 90 <48> b8 00 00 00 00 00 fc ff df 0f b6 04 03 84 c0 75 11 41 f7 45 00 RSP: 0018:ffffc900044ef640 EFLAGS: 00000293 RAX: ffffffff81b36b65 RBX: 1ffff110170c8c99 RCX: ffff88802e2c9e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900044ef840 R08: ffffffff81b36b30 R09: 1ffffffff285f708 R10: dffffc0000000000 R11: fffffbfff285f709 R12: ffff8880b873fb48 R13: ffff8880b86464c8 R14: ffff8880b873fb40 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5515334270 CR3: 000000000e738000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1052 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2118 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2328 text_poke_flush arch/x86/kernel/alternative.c:2519 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2526 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xbc/0x260 mm/kfence/core.c:850 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xa68/0x1840 kernel/workqueue.c:3317 worker_thread+0x870/0xd30 kernel/workqueue.c:3398 kthread+0x7ab/0x920 kernel/kthread.c:464 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244