rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=281c/1/0x4000000000000000 softirq=38107/38108 fqs=4 rcu: (detected by 1, t=10502 jiffies, g=61909, q=287 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 12814 Comm: syz-executor.0 Not tainted 6.9.0-rc2-next-20240404-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:get_current arch/x86/include/asm/current.h:49 [inline] RIP: 0010:write_comp_data kernel/kcov.c:235 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x8/0x90 kernel/kcov.c:290 Code: cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 4c 8b 04 24 <65> 48 8b 14 25 40 d3 03 00 65 8b 05 70 46 6e 7e a9 00 01 ff 00 74 RSP: 0018:ffffc90000007d38 EFLAGS: 00000046 RAX: 0000000000010001 RBX: 0000000000000001 RCX: ffffffff81833ccd RDX: ffff888020330000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff81833cf3 R09: 1ffffffff1f57f8d R10: dffffc0000000000 R11: fffffbfff1f57f8e R12: 1ffff1101728593b R13: dffffc0000000000 R14: ffff88801c6d3340 R15: ffff8880b942c980 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ec21000 CR3: 000000006afee000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: variable_test_bit arch/x86/include/asm/bitops.h:232 [inline] arch_test_bit arch/x86/include/asm/bitops.h:239 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] cpumask_test_cpu include/linux/cpumask.h:505 [inline] cpu_online include/linux/cpumask.h:1120 [inline] trace_hrtimer_cancel include/trace/events/timer.h:317 [inline] debug_deactivate+0x83/0x220 kernel/time/hrtimer.c:485 __run_hrtimer kernel/time/hrtimer.c:1660 [inline] __hrtimer_run_queues+0x30f/0xd50 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__refcount_sub_and_test include/linux/refcount.h:274 [inline] RIP: 0010:__refcount_dec_and_test include/linux/refcount.h:307 [inline] RIP: 0010:refcount_dec_and_test include/linux/refcount.h:325 [inline] RIP: 0010:exit_sem+0x18b3/0x1a00 ipc/sem.c:2344 Code: c1 0f 8c d9 fc ff ff 48 8b 7c 24 28 e8 26 ef 9d fd 48 8b 7c 24 30 e9 c5 fc ff ff e8 97 f5 38 fd 48 8b 5c 24 78 e9 de 00 00 00 <31> ff 89 de e8 c4 f9 38 fd 85 db 0f 8e 07 01 00 00 e8 77 f5 38 fd RSP: 0018:ffffc900139df960 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000002 RCX: ffffffff845c7c61 RDX: ffff888020330000 RSI: 0000000000000002 RDI: 0000000000000001 RBP: ffffc900139dfab0 R08: ffffffff845c7c77 R09: 1ffff110046f3b30 R10: dffffc0000000000 R11: ffffed10046f3b31 R12: dffffc0000000000 R13: ffff888020330000 R14: ffff88802379d980 R15: dffffc0000000000 do_exit+0x9b8/0x27e0 kernel/exit.c:871 do_group_exit+0x207/0x2c0 kernel/exit.c:1027 get_signal+0x16a1/0x1740 kernel/signal.c:2911 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x360 kernel/entry/common.c:218 do_syscall_64+0x10a/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x72/0x7a RIP: 0033:0x7f9f26e7de69 Code: Unable to access opcode bytes at 0x7f9f26e7de3f. RSP: 002b:00007f9f27bde178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f9f26fabf88 RCX: 00007f9f26e7de69 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f9f26fabf88 RBP: 00007f9f26fabf80 R08: 00007f9f27bde6c0 R09: 00007f9f27bde6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9f26fabf8c R13: 000000000000000b R14: 00007ffd75abc2c0 R15: 00007ffd75abc3a8 rcu: rcu_preempt kthread starved for 10494 jiffies! g61909 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:25552 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2582 rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:2024 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2226 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 12813 Comm: syz-executor.0 Not tainted 6.9.0-rc2-next-20240404-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1899/0x2a00 kernel/smp.c:855 Code: 89 e6 83 e6 01 31 ff e8 65 db 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 10 d7 0b 00 eb 38 f3 90 42 0f b6 04 23 <84> c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 f4 d6 0b 00 eb e4 44 RSP: 0018:ffffc9000c5976c0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff11017288c3d RCX: ffff88804d115a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000c5978c0 R08: ffffffff8189b29b R09: 1ffffffff1f57f8d R10: dffffc0000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880b94461e8 R14: ffff8880b953f740 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdcefa20f8 CR3: 00000000201d6000 CR4: 00000000003506f0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 __flush_tlb_multi arch/x86/include/asm/paravirt.h:91 [inline] flush_tlb_multi arch/x86/mm/tlb.c:941 [inline] flush_tlb_mm_range+0x330/0x5c0 arch/x86/mm/tlb.c:1027 tlb_flush arch/x86/include/asm/tlb.h:20 [inline] tlb_flush_mmu_tlbonly include/asm-generic/tlb.h:465 [inline] tlb_flush_mmu+0x1aa/0x680 mm/mmu_gather.c:372 tlb_finish_mmu+0xd4/0x200 mm/mmu_gather.c:465 exit_mmap+0x44f/0xc80 mm/mmap.c:3325 __mmput+0x115/0x3c0 kernel/fork.c:1345 exit_mm+0x220/0x310 kernel/exit.c:569 do_exit+0x99e/0x27e0 kernel/exit.c:865 do_group_exit+0x207/0x2c0 kernel/exit.c:1027 __do_sys_exit_group kernel/exit.c:1038 [inline] __se_sys_exit_group kernel/exit.c:1036 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1036 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x72/0x7a RIP: 0033:0x7f9f26e7de69 Code: Unable to access opcode bytes at 0x7f9f26e7de3f. RSP: 002b:00007ffd75abc698 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007f9f26e7de69 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000081 R09: 0000000000000000 R10: 0000001b2f020000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001