rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (10491 ticks this GP) idle=58b/1/0x4000000000000000 softirq=44292/44292 fqs=10 (t=10502 jiffies g=60225 q=28) rcu: rcu_preempt kthread timer wakeup didn't happen for 10482 jiffies! g60225 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=34418 rcu: rcu_preempt kthread starved for 10485 jiffies! g60225 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:27000 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1884 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9 Comm: kworker/u4:0 Not tainted 5.15.140-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] RIP: 0010:kvm_wait+0x1b4/0x200 arch/x86/kernel/kvm.c:918 Code: e0 48 c1 e8 03 42 0f b6 04 28 84 c0 75 42 45 0f b6 34 24 e8 ce c4 4e 00 44 3a 74 24 1c 75 10 66 90 0f 00 2d 3e 85 50 09 fb f4 c8 fe ff ff fb e9 c2 fe ff ff 44 89 e1 80 e1 07 38 c1 0f 8c 54 RSP: 0018:ffffc90000ce7760 EFLAGS: 00000246 RAX: c690d1ea5c7a5500 RBX: 1ffff9200019cef0 RCX: ffffffff8162ec08 RDX: dffffc0000000000 RSI: ffffffff8a8b0d60 RDI: ffffffff8ad87d00 RBP: ffffc90000ce7830 R08: dffffc0000000000 R09: fffffbfff1f79c38 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801a1a9330 R13: dffffc0000000000 R14: 0000000000000003 R15: ffffc90000ce77a0 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3012d000 CR3: 00000000596c1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:597 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x6bc/0xc40 kernel/locking/qspinlock.c:508 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline] queued_spin_lock_slowpath+0x42/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x269/0x370 kernel/locking/spinlock_debug.c:115 spin_lock_bh include/linux/spinlock.h:368 [inline] batadv_tt_local_commit_changes+0x1a/0x30 net/batman-adv/translation-table.c:3717 batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:812 [inline] batadv_iv_ogm_schedule+0x26c/0x1000 net/batman-adv/bat_iv_ogm.c:869 batadv_iv_send_outstanding_bat_ogm_packet+0x6fa/0x800 net/batman-adv/bat_iv_ogm.c:1713 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 NMI backtrace for cpu 1 CPU: 1 PID: 16534 Comm: syz-executor.3 Not tainted 5.15.140-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_dump_cpu_stacks+0x223/0x390 kernel/rcu/tree_stall.h:349 print_cpu_stall+0x320/0x600 kernel/rcu/tree_stall.h:633 check_cpu_stall kernel/rcu/tree_stall.h:727 [inline] rcu_pending kernel/rcu/tree.c:3932 [inline] rcu_sched_clock_irq+0x8d9/0x1150 kernel/rcu/tree.c:2619 update_process_times+0x196/0x200 kernel/time/timer.c:1788 tick_sched_handle kernel/time/tick-sched.c:254 [inline] tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:lock_release+0x144/0x9a0 kernel/locking/lockdep.c:5638 Code: 05 00 00 83 3b 00 0f 85 fe 04 00 00 4c 8d b4 24 b0 00 00 00 4c 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 ac 39 67 00 <4c> 89 6c 24 50 48 c7 84 24 b0 00 00 00 00 00 00 00 9c 8f 84 24 b0 RSP: 0018:ffffc90004d7e200 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff920009afc56 RCX: ffffffff8162a538 RDX: 0000000000000000 RSI: ffffffff8ad87ce0 RDI: ffffffff8ad87ca0 RBP: ffffc90004d7e330 R08: dffffc0000000000 R09: fffffbfff1bc72a6 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920009afc4c R13: ffffffff89fc7641 R14: ffffc90004d7e2b0 R15: dffffc0000000000 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:174 [inline] _raw_spin_unlock_bh+0x17/0x30 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:408 [inline] batadv_tt_local_purge_pending_clients+0x2f1/0x380 net/batman-adv/translation-table.c:3673 batadv_tt_local_resize_to_mtu+0x90/0x130 net/batman-adv/translation-table.c:3957 batadv_update_min_mtu net/batman-adv/hard-interface.c:647 [inline] batadv_hardif_activate_interface+0x1ca/0x390 net/batman-adv/hard-interface.c:674 batadv_hard_if_event+0xbc/0x17a0 net/batman-adv/hard-interface.c:965 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:391 __dev_notify_flags+0x304/0x610 dev_change_flags+0xe7/0x190 net/core/dev.c:8883 vlan_device_event+0x442/0x1dd0 net/8021q/vlan.c:469 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:391 __dev_notify_flags+0x304/0x610 dev_change_flags+0xe7/0x190 net/core/dev.c:8883 do_setlink+0xcd1/0x3ae0 net/core/rtnetlink.c:2741 rtnl_group_changelink net/core/rtnetlink.c:3270 [inline] __rtnl_newlink net/core/rtnetlink.c:3439 [inline] rtnl_newlink+0x10b0/0x2070 net/core/rtnetlink.c:3549 rtnetlink_rcv_msg+0x993/0xee0 net/core/rtnetlink.c:5630 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2505 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline] netlink_unicast+0x7b6/0x980 net/netlink/af_netlink.c:1356 netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1924 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2429 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2483 __sys_sendmsg net/socket.c:2512 [inline] __do_sys_sendmsg net/socket.c:2521 [inline] __se_sys_sendmsg+0x19a/0x260 net/socket.c:2519 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fd92f55fae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd92dae10c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fd92f67ef80 RCX: 00007fd92f55fae9 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000005 RBP: 00007fd92f5ab47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd92f67ef80 R15: 00007ffd376d9388