rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (10495 ticks this GP) idle=af9/1/0x4000000000000000 softirq=42303/42303 fqs=0 (t=10500 jiffies g=61945 q=312) rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g61945 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=38165 rcu: rcu_preempt kthread starved for 10500 jiffies! g61945 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:28728 pid: 16 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6388 schedule+0xd2/0x1f0 kernel/sched/core.c:6460 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1884 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1971 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2144 kthread+0x2e9/0x3a0 kernel/kthread.c:376 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 1 CPU: 1 PID: 12163 Comm: syz-executor.3 Not tainted 5.18.0-rc6-syzkaller-00104-gedf410cb74dc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_check_gp_kthread_starvation.cold+0x1fb/0x200 kernel/rcu/tree_stall.h:490 print_cpu_stall kernel/rcu/tree_stall.h:634 [inline] check_cpu_stall kernel/rcu/tree_stall.h:723 [inline] rcu_pending kernel/rcu/tree.c:3923 [inline] rcu_sched_clock_irq.cold+0x57/0x8d6 kernel/rcu/tree.c:2625 update_process_times+0x16d/0x200 kernel/time/timer.c:1788 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:243 tick_sched_timer+0xee/0x120 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__local_bh_enable_ip+0xa8/0x120 kernel/softirq.c:390 Code: 1d cd a1 ba 7e 65 8b 05 c6 a1 ba 7e a9 00 ff ff 00 74 45 bf 01 00 00 00 e8 a5 7c 09 00 e8 10 bb 37 00 fb 65 8b 05 a8 a1 ba 7e <85> c0 74 58 5b 5d c3 65 8b 05 d6 a8 ba 7e 85 c0 75 a2 0f 0b eb 9e RSP: 0018:ffffc90005d4efd8 EFLAGS: 00000202 RAX: 0000000000000201 RBX: 00000000fffffe00 RCX: 1ffffffff2019826 RDX: 0000000000000000 RSI: 0000000000000201 RDI: 0000000000000000 RBP: ffffffff890a82d5 R08: 0000000000000001 R09: ffffffff9006e9ff R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000100 R13: ffff888027896298 R14: 0000000000000311 R15: dffffc0000000000 spin_unlock_bh include/linux/spinlock.h:394 [inline] batadv_tt_local_purge+0x285/0x370 net/batman-adv/translation-table.c:1357 batadv_tt_local_resize_to_mtu+0x8e/0x130 net/batman-adv/translation-table.c:3957 batadv_hardif_activate_interface.part.0.cold+0x65/0x1ba net/batman-adv/hard-interface.c:662 batadv_hardif_activate_interface net/batman-adv/hard-interface.c:753 [inline] batadv_hardif_enable_interface+0xaba/0xac0 net/batman-adv/hard-interface.c:745 batadv_softif_slave_add+0x64/0x130 net/batman-adv/soft-interface.c:839 do_set_master+0x1c8/0x220 net/core/rtnetlink.c:2534 __rtnl_newlink+0x13b3/0x1760 net/core/rtnetlink.c:3500 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3531 rtnetlink_rcv_msg+0x413/0xb80 net/core/rtnetlink.c:5993 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2502 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x904/0xe00 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 ____sys_sendmsg+0x6e2/0x800 net/socket.c:2413 ___sys_sendmsg+0xf3/0x170 net/socket.c:2467 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2496 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fc7a04890e9 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc7a1662168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fc7a059c1d0 RCX: 00007fc7a04890e9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000006 RBP: 00007fc7a04e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd44123dff R14: 00007fc7a1662300 R15: 0000000000022000 NMI backtrace for cpu 1 CPU: 1 PID: 12163 Comm: syz-executor.3 Not tainted 5.18.0-rc6-syzkaller-00104-gedf410cb74dc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x262/0x3f0 kernel/rcu/tree_stall.h:343 print_cpu_stall kernel/rcu/tree_stall.h:639 [inline] check_cpu_stall kernel/rcu/tree_stall.h:723 [inline] rcu_pending kernel/rcu/tree.c:3923 [inline] rcu_sched_clock_irq.cold+0xa1/0x8d6 kernel/rcu/tree.c:2625 update_process_times+0x16d/0x200 kernel/time/timer.c:1788 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:243 tick_sched_timer+0xee/0x120 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__local_bh_enable_ip+0xa8/0x120 kernel/softirq.c:390 Code: 1d cd a1 ba 7e 65 8b 05 c6 a1 ba 7e a9 00 ff ff 00 74 45 bf 01 00 00 00 e8 a5 7c 09 00 e8 10 bb 37 00 fb 65 8b 05 a8 a1 ba 7e <85> c0 74 58 5b 5d c3 65 8b 05 d6 a8 ba 7e 85 c0 75 a2 0f 0b eb 9e RSP: 0018:ffffc90005d4efd8 EFLAGS: 00000202 RAX: 0000000000000201 RBX: 00000000fffffe00 RCX: 1ffffffff2019826 RDX: 0000000000000000 RSI: 0000000000000201 RDI: 0000000000000000 RBP: ffffffff890a82d5 R08: 0000000000000001 R09: ffffffff9006e9ff R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000100 R13: ffff888027896298 R14: 0000000000000311 R15: dffffc0000000000 spin_unlock_bh include/linux/spinlock.h:394 [inline] batadv_tt_local_purge+0x285/0x370 net/batman-adv/translation-table.c:1357 batadv_tt_local_resize_to_mtu+0x8e/0x130 net/batman-adv/translation-table.c:3957 batadv_hardif_activate_interface.part.0.cold+0x65/0x1ba net/batman-adv/hard-interface.c:662 batadv_hardif_activate_interface net/batman-adv/hard-interface.c:753 [inline] batadv_hardif_enable_interface+0xaba/0xac0 net/batman-adv/hard-interface.c:745 batadv_softif_slave_add+0x64/0x130 net/batman-adv/soft-interface.c:839 do_set_master+0x1c8/0x220 net/core/rtnetlink.c:2534 __rtnl_newlink+0x13b3/0x1760 net/core/rtnetlink.c:3500 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3531 rtnetlink_rcv_msg+0x413/0xb80 net/core/rtnetlink.c:5993 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2502 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x904/0xe00 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 ____sys_sendmsg+0x6e2/0x800 net/socket.c:2413 ___sys_sendmsg+0xf3/0x170 net/socket.c:2467 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2496 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fc7a04890e9 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc7a1662168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fc7a059c1d0 RCX: 00007fc7a04890e9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000006 RBP: 00007fc7a04e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd44123dff R14: 00007fc7a1662300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 1d cd a1 ba 7e sbb $0x7ebaa1cd,%eax 5: 65 8b 05 c6 a1 ba 7e mov %gs:0x7ebaa1c6(%rip),%eax # 0x7ebaa1d2 c: a9 00 ff ff 00 test $0xffff00,%eax 11: 74 45 je 0x58 13: bf 01 00 00 00 mov $0x1,%edi 18: e8 a5 7c 09 00 callq 0x97cc2 1d: e8 10 bb 37 00 callq 0x37bb32 22: fb sti 23: 65 8b 05 a8 a1 ba 7e mov %gs:0x7ebaa1a8(%rip),%eax # 0x7ebaa1d2 * 2a: 85 c0 test %eax,%eax <-- trapping instruction 2c: 74 58 je 0x86 2e: 5b pop %rbx 2f: 5d pop %rbp 30: c3 retq 31: 65 8b 05 d6 a8 ba 7e mov %gs:0x7ebaa8d6(%rip),%eax # 0x7ebaa90e 38: 85 c0 test %eax,%eax 3a: 75 a2 jne 0xffffffde 3c: 0f 0b ud2 3e: eb 9e jmp 0xffffffde