rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2781 jiffies s: 31733 root: 0x1/. rcu: blocking rcu_node structures (internal RCU debug): Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7271 Comm: syz.0.1248 Not tainted 6.1.111-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:hlock_class kernel/locking/lockdep.c:223 [inline] RIP: 0010:mark_lock+0x71/0x340 kernel/locking/lockdep.c:4606 Code: f5 09 eb 0b 89 d5 83 fa 20 0f 83 d2 02 00 00 41 be 01 00 00 00 89 e9 41 d3 e6 49 8d 5f 20 48 89 d8 48 c1 e8 03 42 0f b6 04 28 <84> c0 0f 85 29 02 00 00 8b 1b 81 e3 ff 1f 00 00 48 89 d8 48 c1 e8 RSP: 0018:ffffc90000006078 EFLAGS: 00000806 RAX: 0000000000000000 RBX: ffff888024ef8c40 RCX: 0000000000000001 RDX: 0000000000000001 RSI: ffff888024ef8c20 RDI: ffff888024ef8000 RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff223b846 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888024ef8ad8 R13: dffffc0000000000 R14: 0000000000000002 R15: ffff888024ef8c20 FS: 00007f64889206c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f319ff8 CR3: 0000000026802000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:4511 [inline] __lock_acquire+0xa28/0x1f80 kernel/locking/lockdep.c:5003 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 seqcount_lockdep_reader_access+0xf8/0x220 include/linux/seqlock.h:102 ktime_get+0x31/0x270 kernel/time/timekeeping.c:846 hrtimer_forward_now include/linux/hrtimer.h:508 [inline] perf_swevent_hrtimer+0x43b/0x4f0 kernel/events/core.c:10881 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x5a7/0xe50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666 Code: 2b 00 74 08 4c 89 f7 e8 3f ac 77 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc900000069c0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000000d44 RCX: 1ffff92000000ce4 RDX: dffffc0000000000 RSI: ffffffff8b0c14c0 RDI: ffffffff8b5d6dc0 RBP: ffffc90000006b08 R08: dffffc0000000000 R09: fffffbfff223b845 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000d40 R13: dffffc0000000000 R14: ffffc90000006a20 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:350 [inline] rcu_read_lock include/linux/rcupdate.h:791 [inline] batadv_choose_next_candidate net/batman-adv/distributed-arp-table.c:582 [inline] batadv_dat_select_candidates net/batman-adv/distributed-arp-table.c:654 [inline] batadv_dat_forward_data+0x30f/0x1040 net/batman-adv/distributed-arp-table.c:685 batadv_interface_tx+0xecf/0x1750 net/batman-adv/soft-interface.c:330 __netdev_start_xmit include/linux/netdevice.h:4853 [inline] netdev_start_xmit include/linux/netdevice.h:4867 [inline] xmit_one net/core/dev.c:3627 [inline] dev_hard_start_xmit+0x261/0x8c0 net/core/dev.c:3643 __dev_queue_xmit+0x1bb1/0x3cf0 net/core/dev.c:4293 NF_HOOK+0x39d/0x450 include/linux/netfilter.h:302 arp_solicit+0xc4d/0xe60 net/ipv4/arp.c:392 neigh_probe net/core/neighbour.c:1075 [inline] __neigh_event_send+0xf30/0x1610 net/core/neighbour.c:1242 neigh_event_send_probe include/net/neighbour.h:468 [inline] neigh_event_send include/net/neighbour.h:474 [inline] neigh_resolve_output+0x1b4/0x730 net/core/neighbour.c:1547 neigh_output include/net/neighbour.h:544 [inline] ip_finish_output2+0xe3f/0x1330 net/ipv4/ip_output.c:228 dst_output include/net/dst.h:444 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0x11b1/0x1b60 net/ipv4/ip_output.c:532 __tcp_transmit_skb+0x1e33/0x33a0 net/ipv4/tcp_output.c:1403 tcp_transmit_skb net/ipv4/tcp_output.c:1421 [inline] __tcp_retransmit_skb+0x9f0/0x1610 net/ipv4/tcp_output.c:3304 tcp_retransmit_skb+0x2e/0x3a0 net/ipv4/tcp_output.c:3327 tcp_retransmit_timer+0x1556/0x2800 net/ipv4/tcp_timer.c:574 tcp_write_timer+0x12e/0x280 net/ipv4/tcp_timer.c:676 call_timer_fn+0x1ad/0x6b0 kernel/time/timer.c:1504 expire_timers kernel/time/timer.c:1549 [inline] __run_timers+0x67c/0x890 kernel/time/timer.c:1820 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571 __do_softirq kernel/softirq.c:605 [inline] invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654 irq_exit_rcu+0x5/0x20 kernel/softirq.c:666 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:native_irq_enable arch/x86/include/asm/irqflags.h:45 [inline] RIP: 0010:arch_local_irq_enable arch/x86/include/asm/irqflags.h:80 [inline] RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:138 [inline] RIP: 0010:generic_exec_single+0x2f5/0x530 kernel/smp.c:533 Code: 21 f3 0f 85 dc 00 00 00 e8 b8 65 0b 00 48 8b 5c 24 08 4d 85 ff 75 0a e8 a9 65 0b 00 45 31 f6 eb 6e e8 9f 65 0b 00 fb 45 31 f6 63 e8 94 65 0b 00 49 bd 00 00 00 00 00 fc ff df 49 83 c7 08 4d RSP: 0018:ffffc9001693f760 EFLAGS: 00000246 RAX: ffffffff817f49a1 RBX: 1ffff92002d27ef0 RCX: 0000000000040000 RDX: ffffc90003d11000 RSI: 00000000000003d5 RDI: 00000000000003d6 RBP: ffffc9001693f830 R08: ffffffff817f497a R09: fffffbfff223b864 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9001693f7c0 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000200 smp_call_function_single+0x457/0x2680 kernel/smp.c:784 task_function_call kernel/events/core.c:120 [inline] perf_install_in_context+0x6b6/0xa90 kernel/events/core.c:2935 __do_sys_perf_event_open kernel/events/core.c:12733 [inline] __se_sys_perf_event_open+0x37f3/0x4960 kernel/events/core.c:12327 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f6487b7def9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6488920038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007f6487d35f80 RCX: 00007f6487b7def9 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f6487bf0b76 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6487d35f80 R15: 00007ffd6b7c4ec8