rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10493 ticks this GP) idle=def/1/0x4000000000000000 softirq=109265/109265 fqs=0 (t=10500 jiffies g=184289 q=147) rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g184289 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=232958 rcu: rcu_preempt kthread starved for 10500 jiffies! g184289 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:26752 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5023 [inline] __schedule+0x1348/0x4610 kernel/sched/core.c:6369 schedule+0x11b/0x1f0 kernel/sched/core.c:6452 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1884 rcu_gp_fqs_loop+0x2af/0xf70 kernel/rcu/tree.c:1958 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2131 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 :298 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 13129 Comm: syz-executor.1 Not tainted 5.15.99-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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:481 print_cpu_stall kernel/rcu/tree_stall.h:625 [inline] check_cpu_stall kernel/rcu/tree_stall.h:711 [inline] rcu_pending kernel/rcu/tree.c:3887 [inline] rcu_sched_clock_irq+0xf21/0x1770 kernel/rcu/tree.c:2605 update_process_times+0x196/0x200 kernel/time/timer.c:1788 tick_sched_handle kernel/time/tick-sched.c:226 [inline] tick_sched_timer+0x22d/0x3c0 kernel/time/tick-sched.c:1420 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x5d9/0xeb0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0x17b/0x570 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:kasan_check_range+0x5/0x290 mm/kasan/generic.c:188 Code: c7 e8 6f c8 59 08 31 c0 c3 0f 0b b8 ea ff ff ff c3 0f 0b b8 ea ff ff ff c3 cc cc cc cc cc cc cc cc cc cc cc cc 55 41 57 41 56 <53> b0 01 48 85 f6 0f 84 9a 01 00 00 48 89 fd 48 01 f5 0f 82 59 02 RSP: 0018:ffffc9000342eb38 EFLAGS: 00000246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffffff81643db4 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff888056a5eec0 RBP: 00000000000003bb R08: dffffc0000000000 R09: fffffbfff1bc7216 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: ffffffff8a03d7e1 R15: ffff888056a5eec0 instrument_atomic_read include/linux/instrumented.h:71 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] queued_spin_is_locked include/asm-generic/qspinlock.h:28 [inline] debug_spin_unlock kernel/locking/spinlock_debug.c:100 [inline] do_raw_spin_unlock+0x54/0x8b0 kernel/locking/spinlock_debug.c:140 __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_pending_clients+0x2f1/0x380 net/batman-adv/translation-table.c:3674 batadv_tt_local_resize_to_mtu+0x90/0x130 net/batman-adv/translation-table.c:3958 batadv_update_min_mtu net/batman-adv/hard-interface.c:635 [inline] batadv_hardif_activate_interface+0x1b1/0x370 net/batman-adv/hard-interface.c:662 batadv_hardif_enable_interface+0x737/0x9e0 net/batman-adv/hard-interface.c:745 batadv_softif_slave_add+0x75/0xf0 net/batman-adv/soft-interface.c:839 do_set_master net/core/rtnetlink.c:2523 [inline] __rtnl_newlink net/core/rtnetlink.c:3479 [inline] rtnl_newlink+0x1b68/0x2060 net/core/rtnetlink.c:3510 rtnetlink_rcv_msg+0x993/0xee0 net/core/rtnetlink.c:5587 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2533 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:1952 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2412 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2466 __sys_sendmsg net/socket.c:2495 [inline] __do_sys_sendmsg net/socket.c:2504 [inline] __se_sys_sendmsg+0x19a/0x260 net/socket.c:2502 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:0x7f46b06d50f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f46aec26168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f46b07f5050 RCX: 00007f46b06d50f9 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000005 RBP: 00007f46b0730ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeb7b357bf R14: 00007f46aec26300 R15: 0000000000022000 NMI backtrace for cpu 0 CPU: 0 PID: 13129 Comm: syz-executor.1 Not tainted 5.15.99-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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:343 print_cpu_stall kernel/rcu/tree_stall.h:627 [inline] check_cpu_stall kernel/rcu/tree_stall.h:711 [inline] rcu_pending kernel/rcu/tree.c:3887 [inline] rcu_sched_clock_irq+0xf26/0x1770 kernel/rcu/tree.c:2605 update_process_times+0x196/0x200 kernel/time/timer.c:1788 tick_sched_handle kernel/time/tick-sched.c:226 [inline] tick_sched_timer+0x22d/0x3c0 kernel/time/tick-sched.c:1420 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x5d9/0xeb0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0x17b/0x570 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:kasan_check_range+0x5/0x290 mm/kasan/generic.c:188 Code: c7 e8 6f c8 59 08 31 c0 c3 0f 0b b8 ea ff ff ff c3 0f 0b b8 ea ff ff ff c3 cc cc cc cc cc cc cc cc cc cc cc cc 55 41 57 41 56 <53> b0 01 48 85 f6 0f 84 9a 01 00 00 48 89 fd 48 01 f5 0f 82 59 02 RSP: 0018:ffffc9000342eb38 EFLAGS: 00000246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffffff81643db4 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff888056a5eec0 RBP: 00000000000003bb R08: dffffc0000000000 R09: fffffbfff1bc7216 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: ffffffff8a03d7e1 R15: ffff888056a5eec0 instrument_atomic_read include/linux/instrumented.h:71 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] queued_spin_is_locked include/asm-generic/qspinlock.h:28 [inline] debug_spin_unlock kernel/locking/spinlock_debug.c:100 [inline] do_raw_spin_unlock+0x54/0x8b0 kernel/locking/spinlock_debug.c:140 __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_pending_clients+0x2f1/0x380 net/batman-adv/translation-table.c:3674 batadv_tt_local_resize_to_mtu+0x90/0x130 net/batman-adv/translation-table.c:3958 batadv_update_min_mtu net/batman-adv/hard-interface.c:635 [inline] batadv_hardif_activate_interface+0x1b1/0x370 net/batman-adv/hard-interface.c:662 batadv_hardif_enable_interface+0x737/0x9e0 net/batman-adv/hard-interface.c:745 batadv_softif_slave_add+0x75/0xf0 net/batman-adv/soft-interface.c:839 do_set_master net/core/rtnetlink.c:2523 [inline] __rtnl_newlink net/core/rtnetlink.c:3479 [inline] rtnl_newlink+0x1b68/0x2060 net/core/rtnetlink.c:3510 rtnetlink_rcv_msg+0x993/0xee0 net/core/rtnetlink.c:5587 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2533 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:1952 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2412 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2466 __sys_sendmsg net/socket.c:2495 [inline] __do_sys_sendmsg net/socket.c:2504 [inline] __se_sys_sendmsg+0x19a/0x260 net/socket.c:2502 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:0x7f46b06d50f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f46aec26168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f46b07f5050 RCX: 00007f46b06d50f9 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000005 RBP: 00007f46b0730ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeb7b357bf R14: 00007f46aec26300 R15: 0000000000022000