rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=2474/1/0x4000000000000000 softirq=12451/12452 fqs=0 (detected by 1, t=10502 jiffies, g=14681, q=43 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5392 Comm: syz-executor.2 Not tainted 6.0.0-rc3-next-20220901-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] RIP: 0010:_raw_spin_lock_irqsave+0x20/0x50 kernel/locking/spinlock.c:162 Code: 0f 1f 84 00 00 00 00 00 66 90 41 54 55 48 89 fd 9c 41 5c fa 41 f7 c4 00 02 00 00 75 36 bf 01 00 00 00 e8 93 97 cd f7 45 31 c9 <41> b8 01 00 00 00 31 c9 ff 74 24 10 48 8d 7d 18 31 d2 31 f6 e8 67 RSP: 0018:ffffc90000007d10 EFLAGS: 00000046 RAX: 0000000000010004 RBX: 00000000000e93e8 RCX: 1ffffffff2236d18 RDX: 0000000000000000 RSI: ffffffff89ef1740 RDI: 0000000000000001 RBP: ffffffff9142bdd0 R08: ffffffff9142bdd0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000006 R13: dffffc0000000000 R14: 1ffff92000000fa7 R15: ffffffff89ef1740 FS: 00007f7bddb1d700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff79a1f7fc8 CR3: 00000000279c2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:665 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x27/0x3e0 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0xaf3/0xe40 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 ca 46 da f7 48 89 ef e8 b2 b0 da f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 03 81 cd f7 65 8b 05 5c 12 7d 76 85 c0 74 0a 5b 5d c3 e8 40 42 RSP: 0018:ffffc9000bc8fb80 EFLAGS: 00000206 RAX: 0000000000000046 RBX: 0000000000000200 RCX: 1ffffffff1bbe401 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffff88807748e130 R08: 0000000000000000 R09: 0000000000000000 R10: ffffed100ee91c26 R11: 0000000000000001 R12: ffff8880b9b39f80 R13: ffff8880b9b3acd8 R14: ffff88807748e130 R15: ffff8880b9b39f80 try_to_wake_up+0xd16/0x1e60 kernel/sched/core.c:4200 wake_up_process kernel/sched/core.c:4314 [inline] wake_up_q+0x7e/0xf0 kernel/sched/core.c:1013 futex_wake+0x3e9/0x490 kernel/futex/waitwake.c:184 do_futex+0x266/0x300 kernel/futex/syscalls.c:111 __do_sys_futex kernel/futex/syscalls.c:183 [inline] __se_sys_futex kernel/futex/syscalls.c:164 [inline] __x64_sys_futex+0x1b0/0x4a0 kernel/futex/syscalls.c:164 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7bdca89279 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7bddb1d218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f7bdcb9bf88 RCX: 00007f7bdca89279 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f7bdcb9bf8c RBP: 00007f7bdcb9bf80 R08: 00007ffc129c8080 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7bdcb9bf8c R13: 00007ffc12924acf R14: 00007f7bddb1d300 R15: 0000000000022000 rcu: rcu_preempt kthread starved for 10502 jiffies! g14681 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:29280 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5197 [inline] __schedule+0xae5/0x52c0 kernel/sched/core.c:6509 schedule+0xda/0x1b0 kernel/sched/core.c:6585 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1658 rcu_gp_kthread+0x236/0x360 kernel/rcu/tree.c:1857 kthread+0x2e4/0x3a0 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: 1 PID: 5390 Comm: syz-executor.2 Not tainted 6.0.0-rc3-next-20220901-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x5c3/0x1430 kernel/smp.c:987 Code: 89 ee e8 50 ad 0a 00 85 ed 74 48 48 8b 44 24 08 49 89 c4 83 e0 07 49 c1 ec 03 48 89 c5 4d 01 f4 83 c5 03 e8 5f b0 0a 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 b5 0b 00 00 8b 43 08 31 RSP: 0000:ffffc9000c2879a0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9a42800 RCX: 0000000000000000 RDX: ffff88807748d7c0 RSI: ffffffff817175c1 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffed1017348501 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000001 FS: 0000555557339400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7bdcb95d30 CR3: 00000000279c2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1153 __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+0x35d/0x4c0 arch/x86/mm/tlb.c:1010 flush_tlb_page arch/x86/include/asm/tlbflush.h:240 [inline] ptep_clear_flush+0x12b/0x160 mm/pgtable-generic.c:98 wp_page_copy+0x863/0x1b60 mm/memory.c:3185 do_wp_page+0x1d1/0x1900 mm/memory.c:3412 handle_pte_fault mm/memory.c:4945 [inline] __handle_mm_fault+0x181b/0x3a40 mm/memory.c:5069 handle_mm_fault+0x1c8/0x780 mm/memory.c:5190 do_user_addr_fault+0x475/0x1210 arch/x86/mm/fault.c:1407 handle_page_fault arch/x86/mm/fault.c:1498 [inline] exc_page_fault+0x94/0x170 arch/x86/mm/fault.c:1554 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7f7bdca374b0 Code: fe ff 49 39 dc 75 eb 48 8b 44 24 18 89 28 48 83 c4 28 5b 5d 41 5c 41 5d 41 5e 41 5f c3 0f 1f 44 00 00 41 89 c5 e9 75 fe ff ff <43> 89 2c 84 e9 a3 fe ff ff 0f 1f 80 00 00 00 00 49 39 d4 74 70 48 RSP: 002b:00007ffc12924a60 EFLAGS: 00010246 RAX: 00000000410a174c RBX: 00007f7bdcb9c018 RCX: 0000001b2e520000 RDX: 0000000000000000 RSI: 0000001b2e520018 RDI: 0000000000000022 RBP: 00000000410a174c R08: 000000000000174c R09: 00000000410a1750 R10: 00007ffc12924c30 R11: 0000000000000246 R12: 00007f7bdcb90000 R13: 0000000000000001 R14: 0000000000000000 R15: ffffffff81a35e26