rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (10502 ticks this GP) idle=f7b/1/0x4000000000000000 softirq=5778/5781 fqs=11 (t=10502 jiffies g=4045 q=5) rcu: rcu_preempt kthread timer wakeup didn't happen for 10474 jiffies! g4045 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=10887 rcu: rcu_preempt kthread starved for 10477 jiffies! g4045 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:27032 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5023 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6369 schedule+0x11b/0x1f0 kernel/sched/core.c:6452 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1884 rcu_gp_fqs_loop+0x2af/0xf70 kernel/rcu/tree.c:1958 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2131 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: 931 Comm: kworker/u4:3 Not tainted 5.15.104-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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 8e 82 4e 00 44 3a 74 24 1c 75 10 66 90 0f 00 2d fe ac 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:ffffc9000469f760 EFLAGS: 00000246 RAX: 14240948f218c000 RBX: 1ffff920008d3ef0 RCX: ffffffff8162a208 RDX: dffffc0000000000 RSI: ffffffff8a8af0e0 RDI: ffffffff8ad85100 RBP: ffffc9000469f830 R08: dffffc0000000000 R09: fffffbfff1f76c30 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801f449328 R13: dffffc0000000000 R14: 0000000000000003 R15: ffffc9000469f7a0 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7c7034e160 CR3: 000000001b1bf000 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:3718 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:2306 worker_thread+0xaca/0x1280 kernel/workqueue.c:2453 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: 3617 Comm: syz-executor176 Not tainted 5.15.104-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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:343 print_cpu_stall kernel/rcu/tree_stall.h:627 [inline] check_cpu_stall kernel/rcu/tree_stall.h:711 [inline] rcu_pending kernel/rcu/tree.c:3887 [inline] rcu_sched_clock_irq+0xf26/0x1770 kernel/rcu/tree.c:2605 update_process_times+0x196/0x200 kernel/time/timer.c:1788 tick_sched_handle kernel/time/tick-sched.c:226 [inline] tick_sched_timer+0x22d/0x3c0 kernel/time/tick-sched.c:1420 __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:1086 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:lock_release+0x62d/0x9a0 kernel/locking/lockdep.c:5646 Code: 3c 3b 00 74 08 4c 89 f7 e8 10 9f 66 00 f6 84 24 91 00 00 00 02 75 6f 41 f7 c5 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 27 00 00 00 00 4b c7 44 27 08 00 00 00 00 65 48 8b 04 25 RSP: 0018:ffffc90002dbea60 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920005b7d5e RCX: ffffc90002dbea03 RDX: 0000000000000002 RSI: ffffffff8a8b0380 RDI: ffffffff8ad85100 RBP: ffffc90002dbeba0 R08: dffffc0000000000 R09: fffffbfff1bc62ee R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920005b7d58 R13: 0000000000000246 R14: ffffc90002dbeaf0 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+0x2a0/0x340 net/batman-adv/translation-table.c:1357 batadv_tt_local_resize_to_mtu+0x88/0x130 net/batman-adv/translation-table.c:3957 batadv_update_min_mtu net/batman-adv/hard-interface.c:635 [inline] batadv_hardif_activate_interface+0x1b1/0x370 net/batman-adv/hard-interface.c:662 batadv_hardif_enable_interface+0x737/0x9e0 net/batman-adv/hard-interface.c:745 batadv_softif_slave_add+0x75/0xf0 net/batman-adv/soft-interface.c:839 do_set_master net/core/rtnetlink.c:2523 [inline] __rtnl_newlink net/core/rtnetlink.c:3479 [inline] rtnl_newlink+0x1b68/0x2060 net/core/rtnetlink.c:3510 rtnetlink_rcv_msg+0x993/0xee0 net/core/rtnetlink.c:5587 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2533 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:1952 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2412 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2466 __sys_sendmsg net/socket.c:2495 [inline] __do_sys_sendmsg net/socket.c:2504 [inline] __se_sys_sendmsg+0x19a/0x260 net/socket.c:2502 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:0x7f7c702d5ef9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 15 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc364b6028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f7c702d5ef9 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000005 RBP: 0000000000000000 R08: 000000000000000d R09: 000000000000000d R10: 000000000000000d R11: 0000000000000246 R12: 00007ffc364b6040 R13: 00000000000f4240 R14: 0000000000000000 R15: 0000000000000000