rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10499 ticks this GP) idle=c03/1/0x4000000000000000 softirq=52138/52138 fqs=0 (t=10502 jiffies g=78913 q=1092) rcu: rcu_preempt kthread timer wakeup didn't happen for 10502 jiffies! g78913 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=27912 rcu: rcu_preempt kthread starved for 10505 jiffies! g78913 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:28728 pid: 16 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6382 schedule+0xd2/0x1f0 kernel/sched/core.c:6454 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 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 0 CPU: 0 PID: 15846 Comm: syz-executor.1 Not tainted 5.18.0-rc1-syzkaller-00125-ge8a64bbaaad1 #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:1785 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:lock_acquire+0x1ef/0x510 kernel/locking/lockdep.c:5609 Code: ca a4 7e 83 f8 01 0f 85 b4 02 00 00 9c 58 f6 c4 02 0f 85 9f 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc9000465f750 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff920008cbeec RCX: ffffffff815d5a7e RDX: 1ffff1100b4bf88b RSI: 0000000000000402 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff900319e7 R10: fffffbfff200633c R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88805e33cc98 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_update_min_mtu net/batman-adv/hard-interface.c:635 [inline] batadv_hard_if_event+0x67d/0x1400 net/batman-adv/hard-interface.c:968 notifier_call_chain+0xb5/0x200 kernel/notifier.c:84 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:1938 call_netdevice_notifiers_mtu net/core/dev.c:2013 [inline] dev_set_mtu_ext+0x39d/0x5b0 net/core/dev.c:8575 dev_set_mtu+0x8e/0x120 net/core/dev.c:8596 dev_ifsioc+0xb87/0x1120 net/core/dev_ioctl.c:332 dev_ioctl+0x1b9/0xed0 net/core/dev_ioctl.c:586 sock_do_ioctl+0x15a/0x230 net/socket.c:1136 sock_ioctl+0x2f1/0x640 net/socket.c:1239 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856 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:0x7f9a6a289049 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:00007f9a6b309168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f9a6a39bf60 RCX: 00007f9a6a289049 RDX: 0000000020000180 RSI: 0000000000008922 RDI: 0000000000000003 RBP: 00007f9a6a2e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe8492be9f R14: 00007f9a6b309300 R15: 0000000000022000 NMI backtrace for cpu 0 CPU: 0 PID: 15846 Comm: syz-executor.1 Not tainted 5.18.0-rc1-syzkaller-00125-ge8a64bbaaad1 #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:1785 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:lock_acquire+0x1ef/0x510 kernel/locking/lockdep.c:5609 Code: ca a4 7e 83 f8 01 0f 85 b4 02 00 00 9c 58 f6 c4 02 0f 85 9f 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc9000465f750 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff920008cbeec RCX: ffffffff815d5a7e RDX: 1ffff1100b4bf88b RSI: 0000000000000402 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff900319e7 R10: fffffbfff200633c R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88805e33cc98 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_update_min_mtu net/batman-adv/hard-interface.c:635 [inline] batadv_hard_if_event+0x67d/0x1400 net/batman-adv/hard-interface.c:968 notifier_call_chain+0xb5/0x200 kernel/notifier.c:84 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:1938 call_netdevice_notifiers_mtu net/core/dev.c:2013 [inline] dev_set_mtu_ext+0x39d/0x5b0 net/core/dev.c:8575 dev_set_mtu+0x8e/0x120 net/core/dev.c:8596 dev_ifsioc+0xb87/0x1120 net/core/dev_ioctl.c:332 dev_ioctl+0x1b9/0xed0 net/core/dev_ioctl.c:586 sock_do_ioctl+0x15a/0x230 net/socket.c:1136 sock_ioctl+0x2f1/0x640 net/socket.c:1239 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856 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:0x7f9a6a289049 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:00007f9a6b309168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f9a6a39bf60 RCX: 00007f9a6a289049 RDX: 0000000020000180 RSI: 0000000000008922 RDI: 0000000000000003 RBP: 00007f9a6a2e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe8492be9f R14: 00007f9a6b309300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: ca a4 7e lret $0x7ea4 3: 83 f8 01 cmp $0x1,%eax 6: 0f 85 b4 02 00 00 jne 0x2c0 c: 9c pushfq d: 58 pop %rax e: f6 c4 02 test $0x2,%ah 11: 0f 85 9f 02 00 00 jne 0x2b6 17: 48 83 7c 24 08 00 cmpq $0x0,0x8(%rsp) 1d: 74 01 je 0x20 1f: fb sti 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 48 01 c3 add %rax,%rbx <-- trapping instruction 2d: 48 c7 03 00 00 00 00 movq $0x0,(%rbx) 34: 48 c7 43 08 00 00 00 movq $0x0,0x8(%rbx) 3b: 00 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 84 .byte 0x84 3f: 24 .byte 0x24