rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10490 ticks this GP) idle=2bf/1/0x4000000000000000 softirq=98260/98260 fqs=0 (t=10500 jiffies g=131101 q=595) rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g131101 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=42315 rcu: rcu_preempt kthread starved for 10500 jiffies! g131101 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:28664 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4995 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6304 schedule+0xd2/0x260 kernel/sched/core.c:6377 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1963 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2136 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 9604 Comm: syz-executor.2 Not tainted 5.17.0-rc6-syzkaller-01921-gd59e3cbaef70 #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:458 print_cpu_stall kernel/rcu/tree_stall.h:602 [inline] check_cpu_stall kernel/rcu/tree_stall.h:688 [inline] rcu_pending kernel/rcu/tree.c:3919 [inline] rcu_sched_clock_irq.cold+0x3fd/0x755 kernel/rcu/tree.c:2617 update_process_times+0x16d/0x200 kernel/time/timer.c:1785 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226 tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1428 __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:638 RIP: 0010:trace_lock_acquire include/trace/events/lock.h:13 [inline] RIP: 0010:lock_acquire+0xc5/0x510 kernel/locking/lockdep.c:5610 Code: 08 00 00 00 48 89 d0 48 89 54 24 08 48 c1 f8 06 48 8d 3c c5 d0 73 94 8d e8 48 0d 63 00 48 8b 54 24 08 48 0f a3 15 6b f3 36 0c <0f> 82 64 03 00 00 48 c7 c0 ac a7 94 8d 48 ba 00 00 00 00 00 fc ff RSP: 0018:ffffc9000ad96ef0 EFLAGS: 00000247 RAX: 0000000000000001 RBX: 1ffff920015b2de0 RCX: ffffffff815d8058 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8d9473d0 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8d9473d7 R10: fffffbfff1b28e7a R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88804c4a4a18 R15: 0000000000000000 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:354 [inline] batadv_tt_local_purge+0x114/0x370 net/batman-adv/translation-table.c:1355 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+0x13b0/0x1760 net/core/rtnetlink.c:3500 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3531 rtnetlink_rcv_msg+0x413/0xb80 net/core/rtnetlink.c:5979 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2494 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x539/0x7e0 net/netlink/af_netlink.c:1343 netlink_sendmsg+0x904/0xe00 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 ____sys_sendmsg+0x6e8/0x810 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:0x7f04b140a049 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:00007f04afd5e168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f04b151d030 RCX: 00007f04b140a049 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000006 RBP: 00007f04b146408d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd4c3c7a1f R14: 00007f04afd5e300 R15: 0000000000022000 NMI backtrace for cpu 0 CPU: 0 PID: 9604 Comm: syz-executor.2 Not tainted 5.17.0-rc6-syzkaller-01921-gd59e3cbaef70 #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+0x25e/0x3f0 kernel/rcu/tree_stall.h:343 print_cpu_stall kernel/rcu/tree_stall.h:604 [inline] check_cpu_stall kernel/rcu/tree_stall.h:688 [inline] rcu_pending kernel/rcu/tree.c:3919 [inline] rcu_sched_clock_irq.cold+0x402/0x755 kernel/rcu/tree.c:2617 update_process_times+0x16d/0x200 kernel/time/timer.c:1785 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226 tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1428 __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:638 RIP: 0010:trace_lock_acquire include/trace/events/lock.h:13 [inline] RIP: 0010:lock_acquire+0xc5/0x510 kernel/locking/lockdep.c:5610 Code: 08 00 00 00 48 89 d0 48 89 54 24 08 48 c1 f8 06 48 8d 3c c5 d0 73 94 8d e8 48 0d 63 00 48 8b 54 24 08 48 0f a3 15 6b f3 36 0c <0f> 82 64 03 00 00 48 c7 c0 ac a7 94 8d 48 ba 00 00 00 00 00 fc ff RSP: 0018:ffffc9000ad96ef0 EFLAGS: 00000247 RAX: 0000000000000001 RBX: 1ffff920015b2de0 RCX: ffffffff815d8058 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8d9473d0 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8d9473d7 R10: fffffbfff1b28e7a R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88804c4a4a18 R15: 0000000000000000 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:354 [inline] batadv_tt_local_purge+0x114/0x370 net/batman-adv/translation-table.c:1355 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+0x13b0/0x1760 net/core/rtnetlink.c:3500 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3531 rtnetlink_rcv_msg+0x413/0xb80 net/core/rtnetlink.c:5979 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2494 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x539/0x7e0 net/netlink/af_netlink.c:1343 netlink_sendmsg+0x904/0xe00 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 ____sys_sendmsg+0x6e8/0x810 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:0x7f04b140a049 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:00007f04afd5e168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f04b151d030 RCX: 00007f04b140a049 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000006 RBP: 00007f04b146408d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd4c3c7a1f R14: 00007f04afd5e300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 08 00 or %al,(%rax) 2: 00 00 add %al,(%rax) 4: 48 89 d0 mov %rdx,%rax 7: 48 89 54 24 08 mov %rdx,0x8(%rsp) c: 48 c1 f8 06 sar $0x6,%rax 10: 48 8d 3c c5 d0 73 94 lea -0x726b8c30(,%rax,8),%rdi 17: 8d 18: e8 48 0d 63 00 callq 0x630d65 1d: 48 8b 54 24 08 mov 0x8(%rsp),%rdx 22: 48 0f a3 15 6b f3 36 bt %rdx,0xc36f36b(%rip) # 0xc36f395 29: 0c * 2a: 0f 82 64 03 00 00 jb 0x394 <-- trapping instruction 30: 48 c7 c0 ac a7 94 8d mov $0xffffffff8d94a7ac,%rax 37: 48 rex.W 38: ba 00 00 00 00 mov $0x0,%edx 3d: 00 fc add %bh,%ah 3f: ff .byte 0xff