rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3741/1:b..l P3542/1:b..l (detected by 1, t=10506 jiffies, g=95877, q=205) task:syz-executor.2 state:R running task stack:20800 pid: 3542 ppid: 3522 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6776 irqentry_exit+0x53/0x80 kernel/entry/common.c:426 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:hlist_bl_first_rcu include/linux/rculist_bl.h:24 [inline] RIP: 0010:__d_lookup+0x106/0x730 fs/dcache.c:2423 Code: 01 48 c7 c7 c0 cd 96 8a be ba 02 00 00 48 c7 c2 00 ce 96 8a e8 ab 3a 87 ff 4c 89 64 24 18 4c 89 f3 48 c1 eb 03 42 80 3c 3b 00 <74> 08 4c 89 f7 e8 40 15 ee ff 4d 8b 26 e8 a8 df 40 08 89 c5 31 ff RSP: 0018:ffffc9000315f578 EFLAGS: 00000246 RAX: ffffffff81db9e1d RBX: 1ffff920000b55d6 RCX: ffff888012da0000 RDX: 0000000000000000 RSI: ffffffff8ad878e0 RDI: ffffffff8ad878a0 RBP: 00000000000b31d6 R08: ffffffff81db9e0b R09: fffffbfff1f7b021 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9000315fbd0 R13: ffff8880763fa758 R14: ffffc900005aaeb0 R15: dffffc0000000000 lookup_fast+0xdc/0x7b0 fs/namei.c:1617 walk_component+0x115/0x610 fs/namei.c:1968 link_path_walk+0x642/0xd90 path_openat+0x249/0x2f20 fs/namei.c:3668 do_filp_open+0x21c/0x460 fs/namei.c:3699 do_sys_openat2+0x13b/0x500 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_openat fs/open.c:1243 [inline] __se_sys_openat fs/open.c:1238 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1238 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:0x7fbd7985d6e0 RSP: 002b:00007fff49766dc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fbd7985d6e0 RDX: 0000000000000002 RSI: 00007fff49766f00 RDI: 00000000ffffff9c RBP: 00007fff49766f00 R08: 0000000000000000 R09: 00007fff49766b87 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 000000000013fabc R14: 000000000013f6b2 R15: 0000000000000005 task:kworker/u4:12 state:R running task stack:20384 pid: 3741 ppid: 2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6776 irqentry_exit+0x53/0x80 kernel/entry/common.c:426 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:lock_acquire+0x252/0x4f0 kernel/locking/lockdep.c:5626 Code: 2b 00 74 08 4c 89 f7 e8 0c 35 67 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:ffffc90004e1fa80 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920009c3f5c RCX: 1ffff920009c3efc RDX: dffffc0000000000 RSI: ffffffff8a8b1f00 RDI: ffffffff8ad87900 RBP: ffffc90004e1fbd8 R08: dffffc0000000000 R09: fffffbfff1f7b021 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920009c3f58 R13: dffffc0000000000 R14: ffffc90004e1fae0 R15: 0000000000000246 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:269 rcu_read_lock include/linux/rcupdate.h:696 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0xc1/0x5b0 net/batman-adv/network-coding.c:723 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g95877 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=78371 rcu: rcu_preempt kthread starved for 10506 jiffies! g95877 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:26712 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1884 rcu_gp_fqs_loop+0x2af/0xf70 kernel/rcu/tree.c:1959 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2132 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3616 Comm: kworker/0:6 Not tainted 5.15.127-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: events_power_efficient gc_worker RIP: 0010:__lock_acquire+0x12ce/0x1ff0 kernel/locking/lockdep.c:5014 Code: 00 00 fc ff df 48 8b 44 24 60 80 3c 10 00 48 8b 5c 24 58 74 12 48 89 df e8 cf 1e 67 00 48 ba 00 00 00 00 00 fc ff df 48 89 2b <48> 8b 44 24 40 0f b6 04 10 84 c0 0f 85 7e 08 00 00 41 8b 45 00 ff RSP: 0018:ffffc90000007a60 EFLAGS: 00000046 RAX: 1ffff110042278cc RBX: ffff88802113c660 RCX: ffffffff816335f2 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffffff8fbd8318 RBP: 146f635554c54a2e R08: dffffc0000000000 R09: fffffbfff1f7b064 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000003 R13: ffff88802113c668 R14: ffff88802113bb80 R15: ffff88802113c708 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff6b8a4f990 CR3: 0000000030f7c000 CR4: 00000000003506f0 Call Trace: lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5622 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:363 [inline] advance_sched+0x47/0x940 net/sched/sch_taprio.c:716 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:seqcount_lockdep_reader_access+0x1dc/0x220 include/linux/seqlock.h:106 Code: f9 4d 85 ed 75 16 e8 83 4a 05 f9 eb 15 e8 7c 4a 05 f9 e8 37 af a1 01 4d 85 ed 74 ea e8 6d 4a 05 f9 fb 48 c7 04 24 0e 36 e0 45 <4b> c7 04 3c 00 00 00 00 66 43 c7 44 3c 09 00 00 43 c6 44 3c 0b 00 RSP: 0018:ffffc90004557a40 EFLAGS: 00000293 RAX: ffffffff887ac973 RBX: 0000000000000000 RCX: ffff88802113bb80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90004557af0 R08: ffffffff887ac949 R09: fffffbfff1f7b033 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000200 R14: 0000000000000046 R15: 1ffff920008aaf48 nf_conntrack_get_ht include/net/netfilter/nf_conntrack.h:330 [inline] gc_worker+0x30f/0x14b0 net/netfilter/nf_conntrack_core.c:1472 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298