rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-....: (10566 ticks this GP) idle=d65/1/0x4000000000000000 softirq=24837/24839 fqs=2885 (t=10502 jiffies g=36745 q=500) rcu: rcu_preempt kthread starved for 4726 jiffies! g36745 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:28664 pid: 14 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: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt drivers/acpi/processor_idle.c:115 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_idle_do_entry+0x1c6/0x250 drivers/acpi/processor_idle.c:556 NMI backtrace for cpu 0 CPU: 0 PID: 7666 Comm: syz-executor.3 Not tainted 5.17.0-rc5-syzkaller-00006-g917bbdb107f8 #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:arch_atomic_try_cmpxchg arch/x86/include/asm/atomic.h:202 [inline] RIP: 0010:atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:543 [inline] RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:82 [inline] RIP: 0010:do_raw_spin_lock+0x132/0x2b0 kernel/locking/spinlock_debug.c:115 Code: 00 00 00 00 e8 5f 55 62 00 be 04 00 00 00 48 8d 7c 24 28 e8 50 55 62 00 8b 44 24 28 ba 01 00 00 00 89 44 24 04 f0 0f b1 55 00 <0f> 85 91 00 00 00 65 44 8b 35 08 ee a3 7e 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc9000a296f58 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff92001452dec RCX: ffffffff815e2ba0 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc9000a296f80 RBP: ffff88801d696a80 R08: 0000000000000001 R09: 0000000000000003 R10: fffff52001452df0 R11: 0000000000000000 R12: ffff88801d696a88 R13: ffff88801d696a90 R14: 00000000000001aa R15: dffffc0000000000 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:651 batadv_hardif_activate_interface net/batman-adv/hard-interface.c:742 [inline] batadv_hardif_enable_interface+0xa1c/0xb20 net/batman-adv/hard-interface.c:734 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:5596 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:0x7f09f490a059 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:00007f09f325e168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f09f4a1d030 RCX: 00007f09f490a059 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000006 RBP: 00007f09f496408d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f09f4f50b1f R14: 00007f09f325e300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: e8 5f 55 62 00 callq 0x625568 9: be 04 00 00 00 mov $0x4,%esi e: 48 8d 7c 24 28 lea 0x28(%rsp),%rdi 13: e8 50 55 62 00 callq 0x625568 18: 8b 44 24 28 mov 0x28(%rsp),%eax 1c: ba 01 00 00 00 mov $0x1,%edx 21: 89 44 24 04 mov %eax,0x4(%rsp) 25: f0 0f b1 55 00 lock cmpxchg %edx,0x0(%rbp) * 2a: 0f 85 91 00 00 00 jne 0xc1 <-- trapping instruction 30: 65 44 8b 35 08 ee a3 mov %gs:0x7ea3ee08(%rip),%r14d # 0x7ea3ee40 37: 7e 38: 48 rex.W 39: b8 00 00 00 00 mov $0x0,%eax 3e: 00 fc add %bh,%ah