rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10497 ticks this GP) idle=943/1/0x4000000000000000 softirq=47236/47236 fqs=0 (t=10502 jiffies g=64521 q=6) rcu: rcu_preempt kthread timer wakeup didn't happen for 10502 jiffies! g64521 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=42816 rcu: rcu_preempt kthread starved for 10505 jiffies! g64521 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: NMI backtrace for cpu 0 CPU: 0 PID: 14793 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_check_gp_kthread_starvation+0x1d2/0x240 kernel/rcu/tree_stall.h:487 print_cpu_stall+0x31b/0x600 kernel/rcu/tree_stall.h:631 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:debug_spin_unlock kernel/locking/spinlock_debug.c:102 [inline] RIP: 0010:do_raw_spin_unlock+0xb6/0x8b0 kernel/locking/spinlock_debug.c:140 Code: 48 8b 2d 3d 77 9e 7e 49 39 6d 00 0f 85 31 02 00 00 4d 8d 77 08 4c 89 f3 48 c1 eb 03 48 b8 00 00 00 00 00 fc ff df 0f b6 04 03 <84> c0 0f 85 eb 03 00 00 41 8b 06 65 8b 0d a0 1c 9e 7e 39 c8 0f 85 RSP: 0018:ffffc900035f65d8 EFLAGS: 00000a06 RAX: 0000000000000000 RBX: 1ffff110067d3c09 RCX: ffffffff8163f844 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff888033e9e040 RBP: ffff888020af5940 R08: dffffc0000000000 R09: ffffed10067d3c09 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff110067d3c0a R13: ffff888033e9e050 R14: ffff888033e9e048 R15: ffff888033e9e040 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:175 [inline] _raw_spin_unlock_bh+0x1f/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:1356 batadv_tt_local_resize_to_mtu+0x88/0x130 net/batman-adv/translation-table.c:3956 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_setlink+0x3eb/0x540 net/core/rtnetlink.c:3034 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] sock_write_iter+0x39b/0x530 net/socket.c:1077 do_iter_readv_writev+0x594/0x7a0 do_iter_write+0x1ea/0x760 fs/read_write.c:855 vfs_writev fs/read_write.c:928 [inline] do_writev+0x281/0x470 fs/read_write.c:971 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:0x7fe74d95aae9 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:00007fe74bebb0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007fe74da7a050 RCX: 00007fe74d95aae9 RDX: 0000000000000001 RSI: 00000000200000c0 RDI: 0000000000000004 RBP: 00007fe74d9a647a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fe74da7a050 R15: 00007ffc1fcb8bb8 NMI backtrace for cpu 0 CPU: 0 PID: 14793 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:debug_spin_unlock kernel/locking/spinlock_debug.c:102 [inline] RIP: 0010:do_raw_spin_unlock+0xb6/0x8b0 kernel/locking/spinlock_debug.c:140 Code: 48 8b 2d 3d 77 9e 7e 49 39 6d 00 0f 85 31 02 00 00 4d 8d 77 08 4c 89 f3 48 c1 eb 03 48 b8 00 00 00 00 00 fc ff df 0f b6 04 03 <84> c0 0f 85 eb 03 00 00 41 8b 06 65 8b 0d a0 1c 9e 7e 39 c8 0f 85 RSP: 0018:ffffc900035f65d8 EFLAGS: 00000a06 RAX: 0000000000000000 RBX: 1ffff110067d3c09 RCX: ffffffff8163f844 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff888033e9e040 RBP: ffff888020af5940 R08: dffffc0000000000 R09: ffffed10067d3c09 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff110067d3c0a R13: ffff888033e9e050 R14: ffff888033e9e048 R15: ffff888033e9e040 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:175 [inline] _raw_spin_unlock_bh+0x1f/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:1356 batadv_tt_local_resize_to_mtu+0x88/0x130 net/batman-adv/translation-table.c:3956 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_setlink+0x3eb/0x540 net/core/rtnetlink.c:3034 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] sock_write_iter+0x39b/0x530 net/socket.c:1077 do_iter_readv_writev+0x594/0x7a0 do_iter_write+0x1ea/0x760 fs/read_write.c:855 vfs_writev fs/read_write.c:928 [inline] do_writev+0x281/0x470 fs/read_write.c:971 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:0x7fe74d95aae9 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:00007fe74bebb0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007fe74da7a050 RCX: 00007fe74d95aae9 RDX: 0000000000000001 RSI: 00000000200000c0 RDI: 0000000000000004 RBP: 00007fe74d9a647a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fe74da7a050 R15: 00007ffc1fcb8bb8