rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=2f1c/1/0x4000000000000000 softirq=57409/57409 fqs=0 rcu: (detected by 0, t=10502 jiffies, g=54585, q=163 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 14843 Comm: syz.3.2171 Not tainted 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3798 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3817 [inline] RIP: 0010:validate_chain kernel/locking/lockdep.c:3872 [inline] RIP: 0010:__lock_acquire+0x162f/0x3c40 kernel/locking/lockdep.c:5226 Code: 85 db 48 0f 45 d8 eb 04 48 83 eb 08 48 85 db 74 40 48 8d 7b 18 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 cd 18 00 00 48 8b 43 18 <49> 39 c6 0f 84 57 f7 ff ff 48 8d 7b 08 48 89 f8 48 c1 e8 03 80 3c RSP: 0018:ffffc90000a18be8 EFLAGS: 00000046 RAX: 35a08aec8a9222e9 RBX: ffffffff941e34c0 RCX: ffffffff8175d13e RDX: 1ffffffff2da9d8c RSI: 0000000000000008 RDI: ffffffff941e34d8 RBP: dffffc0000000000 R08: 0000000000000000 R09: fffffbfff2dca399 R10: ffffffff96e51ccf R11: 0000000000000002 R12: 0000000000068a08 R13: ffff888026552440 R14: 35a08aec8a9222e9 R15: ffff888026552f70 FS: 00007fb0e95a46c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30d1fffc CR3: 000000004d116000 CR4: 00000000003526f0 Call Trace: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0x36/0x50 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1743 [inline] __hrtimer_run_queues+0x2be/0xae0 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x392/0x8e0 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x10f/0x400 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:batadv_hardif_get_by_netdev+0xfd/0x430 net/batman-adv/hard-interface.c:71 Code: 00 00 48 8b 1d 54 24 ca 0f 48 8d 44 24 30 49 bc 00 00 00 00 00 fc ff df 48 89 04 24 48 81 fb a0 9d c0 9a 75 2c e9 ab 01 00 00 3e 9c a3 f6 48 89 d8 48 c1 e8 03 42 80 3c 20 00 0f 85 e0 02 00 RSP: 0018:ffffc90004e57760 EFLAGS: 00000206 RAX: 1ffff11006360a03 RBX: ffff888031b05000 RCX: ffffffff8af67b49 RDX: ffff888026552440 RSI: ffffffff8af67999 RDI: ffff888031b05018 RBP: ffff888031638000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: dffffc0000000000 R13: ffffffff903e6840 R14: ffff888031638000 R15: 0000000000000001 batadv_hard_if_event+0x98/0x1640 net/batman-adv/hard-interface.c:967 notifier_call_chain+0xb7/0x410 kernel/notifier.c:85 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:1996 call_netdevice_notifiers_extack net/core/dev.c:2034 [inline] call_netdevice_notifiers net/core/dev.c:2048 [inline] __dev_notify_flags+0x12d/0x2e0 net/core/dev.c:8988 dev_change_flags+0x10c/0x160 net/core/dev.c:9026 devinet_ioctl+0x11d9/0x1f50 net/ipv4/devinet.c:1208 inet_ioctl+0x3aa/0x3f0 net/ipv4/af_inet.c:1001 packet_ioctl+0xb3/0x280 net/packet/af_packet.c:4338 sock_do_ioctl+0x116/0x280 net/socket.c:1209 sock_ioctl+0x228/0x6c0 net/socket.c:1328 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl fs/ioctl.c:892 [inline] __x64_sys_ioctl+0x190/0x200 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb0e8785d29 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:00007fb0e95a4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb0e8975fa0 RCX: 00007fb0e8785d29 RDX: 0000000020000180 RSI: 0000000000008914 RDI: 0000000000000005 RBP: 00007fb0e8801aa8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb0e8975fa0 R15: 00007ffe60299798 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g54585 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=35301 rcu: rcu_preempt kthread starved for 10502 jiffies! g54585 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26240 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_timeout+0x124/0x280 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2045 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2247 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244