rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=ab44/1/0x4000000000000000 softirq=114937/114938 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P23745/1:b..l P23749/1:b..l rcu: (detected by 0, t=10502 jiffies, g=97073, q=366 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 23750 Comm: syz.3.4119 Not tainted 6.14.0-rc5-syzkaller-00105-gf315296c92fd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:get_current arch/x86/include/asm/current.h:49 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x8/0x70 kernel/kcov.c:216 Code: 8b 3d 14 05 92 0c 48 89 de 5b e9 23 5e 59 00 0f 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 00 d5 03 00 65 8b 15 a0 06 42 7e 81 e2 00 01 ff 00 RSP: 0018:ffffc90000a18cd0 EFLAGS: 00000086 RAX: ffffffff8bfc8247 RBX: dffffc0000000000 RCX: 0000000000000001 RDX: 0000000000010000 RSI: ffff88805b406340 RDI: ffff8880b872c650 RBP: ffffc90000a18ea0 R08: ffffffff81af3930 R09: 1ffffffff207794e R10: dffffc0000000000 R11: fffffbfff207794f R12: ffff8880b872c650 R13: dffffc0000000000 R14: ffff88805b406340 R15: ffff88805b406340 FS: 00007ffadad066c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c460244 CR3: 000000007b448000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: timerqueue_add+0x27/0x290 lib/timerqueue.c:36 __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+0x110/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:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5855 Code: 2b 00 74 08 4c 89 f7 e8 0a bf 89 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:ffffc9000218f420 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000431e90 RCX: ffff88805c95a8e8 RDX: dffffc0000000000 RSI: ffffffff8c2ac500 RDI: ffffffff8c802a60 RBP: ffffc9000218f568 R08: ffffffff945148ff R09: 1ffffffff28a291f R10: dffffc0000000000 R11: fffffbfff28a2920 R12: 1ffff92000431e8c R13: dffffc0000000000 R14: ffffc9000218f480 R15: 0000000000000246 __mutex_lock_common kernel/locking/mutex.c:585 [inline] __mutex_lock+0x19c/0x1010 kernel/locking/mutex.c:730 __unix_dgram_recvmsg+0x24f/0x1320 net/unix/af_unix.c:2427 sock_recvmsg_nosec+0x18e/0x1d0 net/socket.c:1023 ____sys_recvmsg+0x3cd/0x480 net/socket.c:2791 ___sys_recvmsg net/socket.c:2835 [inline] do_recvmmsg+0x426/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:0x7ffad9f8d169 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:00007ffadad06038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007ffada1a6080 RCX: 00007ffad9f8d169 RDX: 0000000000010106 RSI: 00004000000000c0 RDI: 0000000000000003 RBP: 00007ffada00e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffada1a6080 R15: 00007ffc48300ac8 task:syz.8.4118 state:R running task stack:24256 pid:23749 tgid:23741 ppid:13599 task_flags:0x400140 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5378 [inline] __schedule+0x18bc/0x4c40 kernel/sched/core.c:6765 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7087 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:batadv_hardif_get_by_netdev+0x17d/0x4e0 net/batman-adv/hard-interface.c:72 Code: 48 8d 44 24 40 48 c1 e8 03 48 89 04 24 49 c7 c5 20 e0 a3 9a 4c 89 74 24 18 49 8d 5c 24 18 48 89 d8 48 c1 e8 03 42 80 3c 38 00 <74> 08 48 89 df e8 29 5a 5c f6 4c 39 33 74 0a e8 df a5 f7 f5 e9 81 RSP: 0018:ffffc90002e67920 EFLAGS: 00000246 RAX: 1ffff1100498ba03 RBX: ffff888024c5d018 RCX: 0000000000080000 RDX: ffffc90014902000 RSI: 000000000000cc97 RDI: 000000000000cc98 RBP: ffffc90002e679c8 R08: ffffffff8bca2794 R09: 1ffffffff28a2908 R10: dffffc0000000000 R11: fffffbfff28a2909 R12: ffff888024c5d000 R13: ffffffff9aa3e020 R14: ffff888027d34000 R15: dffffc0000000000 batadv_hard_if_event+0x82/0x1810 net/batman-adv/hard-interface.c:967 notifier_call_chain+0x1a5/0x3f0 kernel/notifier.c:85 call_netdevice_notifiers_extack net/core/dev.c:2244 [inline] call_netdevice_notifiers net/core/dev.c:2258 [inline] register_netdevice+0x16b5/0x1b60 net/core/dev.c:10978 br_add_bridge+0x9f/0xe0 net/bridge/br_if.c:469 br_ioctl_stub+0x43d/0xb00 br_ioctl_call net/socket.c:1172 [inline] sock_ioctl+0x5eb/0x8e0 net/socket.c:1272 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf5/0x170 fs/ioctl.c:892 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:0x7fd07358d169 RSP: 002b:00007fd074311038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd0737a6160 RCX: 00007fd07358d169 RDX: 0000400000000040 RSI: 00000000000089a0 RDI: 0000000000000003 RBP: 00007fd07360e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd0737a6160 R15: 00007ffdb649eeb8 task:modprobe state:R running task stack:22848 pid:23745 tgid:23745 ppid:11518 task_flags:0x400000 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5378 [inline] __schedule+0x18bc/0x4c40 kernel/sched/core.c:6765 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6944 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6968 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] wp_page_copy mm/memory.c:3547 [inline] do_wp_page+0x1e15/0x49b0 mm/memory.c:3838 handle_pte_fault mm/memory.c:5916 [inline] __handle_mm_fault+0x24d5/0x70f0 mm/memory.c:6043 handle_mm_fault+0x2c1/0x7e0 mm/memory.c:6212 do_user_addr_fault arch/x86/mm/fault.c:1337 [inline] handle_page_fault arch/x86/mm/fault.c:1480 [inline] exc_page_fault+0x459/0x8b0 arch/x86/mm/fault.c:1538 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f1c1ba71d4e RSP: 002b:00007ffed29c8610 EFLAGS: 00010216 RAX: 00007f1c1b94cc2c RBX: 00007f1c1b810260 RCX: 00007ffed29c86a0 RDX: 00007f1c1b98b380 RSI: 00007f1c1b810a88 RDI: 00007f1c1b810f38 RBP: 00007ffed29c8710 R08: 00007f1c1b810a88 R09: 0000000000000001 R10: 0000000053053053 R11: 0000000000000246 R12: 00007f1c1ba5d5c0 R13: 00007f1c1b80f930 R14: 0000000000000000 R15: 00007f1c1ba952a0 rcu: rcu_preempt kthread starved for 10502 jiffies! g97073 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 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:25784 pid:17 tgid:17 ppid:2 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5378 [inline] __schedule+0x18bc/0x4c40 kernel/sched/core.c:6765 __schedule_loop kernel/sched/core.c:6842 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6857 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+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/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: 0 UID: 0 PID: 53 Comm: kworker/u8:3 Not tainted 6.14.0-rc5-syzkaller-00105-gf315296c92fd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x1bae/0x2d30 kernel/smp.c:885 Code: 89 e6 83 e6 01 31 ff e8 c0 f4 0b 00 41 83 e4 01 4c 8b 64 24 68 75 07 e8 70 f0 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 01 00 00 00 74 1e e8 4b f0 0b RSP: 0018:ffffc90000bd7640 EFLAGS: 00000293 RAX: dffffc0000000000 RBX: 1ffff110170e88c9 RCX: ffff888022ab9e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000bd7840 R08: ffffffff81b5ddd0 R09: 1ffffffff28a2908 R10: dffffc0000000000 R11: fffffbfff28a2909 R12: ffff8880b863f9c8 R13: ffff8880b8744648 R14: ffff8880b863f9c0 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4aa0426e45 CR3: 000000000e938000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:3238 [inline] process_scheduled_works+0xabe/0x18e0 kernel/workqueue.c:3319 worker_thread+0x870/0xd30 kernel/workqueue.c:3400 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244