rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=0dbc/1/0x4000000000000000 softirq=88265/88266 fqs=1 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5005 (detected by 0, t=10505 jiffies, g=113533, q=232 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5005 Comm: kworker/u4:10 Not tainted 6.1.42-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 Workqueue: bat_events batadv_nc_worker 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:111 [inline] RIP: 0010:do_raw_spin_lock+0x150/0x370 kernel/locking/spinlock_debug.c:115 Code: 00 00 c7 44 24 60 00 00 00 00 4c 89 e7 be 04 00 00 00 e8 63 3f 75 00 4c 89 f7 be 04 00 00 00 e8 56 3f 75 00 41 0f b6 44 1d 00 <84> c0 48 89 da 0f 85 89 01 00 00 8b 44 24 60 b9 01 00 00 00 f0 41 RSP: 0018:ffffc900001e0be0 EFLAGS: 00000097 RAX: 0000000000000004 RBX: dffffc0000000000 RCX: ffffffff816b384a RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc900001e0c40 RBP: ffffc900001e0cb0 R08: dffffc0000000000 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff88801eae32e8 R13: 1ffff9200003c188 R14: ffffc900001e0c40 R15: 1ffff11003d5c65e FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f090e975198 CR3: 0000000027b41000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_lock include/linux/spinlock.h:350 [inline] advance_sched+0x47/0x940 net/sched/sch_taprio.c:700 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 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+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:finish_lock_switch+0x91/0x100 kernel/sched/core.c:5001 Code: 45 31 c9 68 87 2a 60 81 e8 fc ae 09 00 48 83 c4 08 4c 89 ff e8 d0 ca fe ff 66 90 4c 89 ff e8 f6 23 2e 09 e8 f1 72 30 00 fb 5b <41> 5c 41 5d 41 5e 41 5f c3 44 89 f1 80 e1 07 80 c1 03 38 c1 7c 87 RSP: 0018:ffffc900082d76b8 EFLAGS: 00000282 RAX: 991f708d614b0100 RBX: ffff888027391df4 RCX: ffffffff816a475a RDX: dffffc0000000000 RSI: ffffffff8aebd7a0 RDI: ffffffff8b3cdca0 RBP: ffffc900082d7730 R08: dffffc0000000000 R09: fffffbfff2092c60 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff1101732756b R14: ffff8880b993ab58 R15: ffff8880b9939e00 finish_task_switch+0x134/0x630 kernel/sched/core.c:5118 context_switch kernel/sched/core.c:5244 [inline] __schedule+0x1334/0x4330 kernel/sched/core.c:6554 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6866 irqentry_exit+0x53/0x80 kernel/entry/common.c:433 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5673 Code: 2b 00 74 08 4c 89 f7 e8 0f 9a 76 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:ffffc900082d7a80 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200105af5c RCX: 1ffff9200105aefc RDX: dffffc0000000000 RSI: ffffffff8aebe920 RDI: ffffffff8b3cdca0 RBP: ffffc900082d7bd8 R08: dffffc0000000000 R09: fffffbfff2092c45 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200105af58 R13: dffffc0000000000 R14: ffffc900082d7ae0 R15: 0000000000000246 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:306 rcu_read_lock include/linux/rcupdate.h:747 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xc1/0x5b0 net/batman-adv/network-coding.c:719 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2292 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2439 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 task:kworker/u4:10 state:R running task stack:22232 pid:5005 ppid:2 flags:0x00004008 Workqueue: bat_events batadv_nc_worker Call Trace: rcu: rcu_preempt kthread starved for 10500 jiffies! g113533 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:25432 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x2c2/0x1010 kernel/rcu/tree.c:1661 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1860 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 25169 Comm: syz-executor.1 Not tainted 6.1.42-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x1f62/0x33d0 kernel/smp.c:987 Code: 2f 44 89 ee 83 e6 01 31 ff e8 4a 19 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 d5 15 0b 00 e9 1b ff ff ff f3 90 <42> 0f b6 04 2b 84 c0 75 14 41 f7 07 01 00 00 00 0f 84 fe fe ff ff RSP: 0018:ffffc9000a95f120 EFLAGS: 00000293 RAX: ffffffff817ed4fd RBX: 1ffff11017328031 RCX: ffff888027391dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000a95f500 R08: ffffffff817ed4c6 R09: ffffed10173075db R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880b9940188 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd775130a8 CR3: 00000000958d2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1155 __flush_tlb_multi arch/x86/include/asm/paravirt.h:87 [inline] flush_tlb_multi arch/x86/mm/tlb.c:924 [inline] flush_tlb_mm_range+0x353/0x590 arch/x86/mm/tlb.c:1010 tlb_flush arch/x86/include/asm/tlb.h:20 [inline] tlb_flush_mmu_tlbonly+0x1ab/0x410 include/asm-generic/tlb.h:430 tlb_flush_mmu+0x28/0x210 mm/mmu_gather.c:260 tlb_finish_mmu+0xce/0x1f0 mm/mmu_gather.c:361 exit_mmap+0x3c3/0x9f0 mm/mmap.c:3226 __mmput+0x115/0x3c0 kernel/fork.c:1191 exit_mm+0x226/0x300 kernel/exit.c:563 do_exit+0x67e/0x2300 kernel/exit.c:856 do_group_exit+0x202/0x2b0 kernel/exit.c:1019 get_signal+0x16f7/0x17d0 kernel/signal.c:2858 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:869 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:297 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff36187cb29 Code: Unable to access opcode bytes at 0x7ff36187caff. RSP: 002b:00007ff36266e178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007ff36199bf88 RCX: 00007ff36187cb29 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007ff36199bf88 RBP: 00007ff36199bf80 R08: 00007ff36266e6c0 R09: 00007ff36266e6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff36199bf8c R13: 000000000000000b R14: 00007fffa495d040 R15: 00007fffa495d128