rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-....: (10492 ticks this GP) idle=839/1/0x4000000000000000 softirq=53889/53889 fqs=5248 (t=10502 jiffies g=59221 q=340) NMI backtrace for cpu 0 CPU: 0 PID: 28162 Comm: syz-executor.2 Tainted: G W 5.17.0-syzkaller-12888-g77c9387c0c5b #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: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/0x2a0 kernel/locking/spinlock_debug.c:115 Code: 00 00 00 00 e8 0f 6a 66 00 be 04 00 00 00 48 8d 7c 24 28 e8 00 6a 66 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 70 3d a4 7e 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc9000be3ef70 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff920017c7def RCX: ffffffff815ddc40 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc9000be3ef98 RBP: ffff88802b288940 R08: 0000000000000001 R09: 0000000000000003 R10: fffff520017c7df3 R11: 0000000000000000 R12: ffff88802b288948 R13: ffff88802b288950 R14: 0000000000000225 R15: ffff8880251e0d00 spin_lock_bh include/linux/spinlock.h:354 [inline] batadv_tt_local_purge_pending_clients+0x112/0x4d0 net/batman-adv/translation-table.c:3655 batadv_tt_local_resize_to_mtu+0x96/0x130 net/batman-adv/translation-table.c:3958 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:5990 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2496 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/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fa15ea89049 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:00007fa15fbfe168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fa15eb9c030 RCX: 00007fa15ea89049 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 000000000000000f RBP: 00007fa15eae308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe88b8640f R14: 00007fa15fbfe300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: e8 0f 6a 66 00 callq 0x666a18 9: be 04 00 00 00 mov $0x4,%esi e: 48 8d 7c 24 28 lea 0x28(%rsp),%rdi 13: e8 00 6a 66 00 callq 0x666a18 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 70 3d a4 mov %gs:0x7ea43d70(%rip),%r14d # 0x7ea43da8 37: 7e 38: 48 rex.W 39: b8 00 00 00 00 mov $0x0,%eax 3e: 00 fc add %bh,%ah