rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (46 ticks this GP) idle=9c6c/1/0x4000000000000000 softirq=99754/99754 fqs=0 rcu: (detected by 1, t=10502 jiffies, g=112957, q=7081 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 21168 Comm: syz.9.4472 Not tainted 6.13.0-rc7-syzkaller-00209-g9528d418de4d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:lock_release+0xa/0xa30 kernel/locking/lockdep.c:5857 Code: c7 c7 d4 e3 19 90 e8 95 0a 8b 00 e9 99 f5 ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 48 89 e5 41 57 <41> 56 41 55 41 54 53 48 83 e4 e0 48 81 ec 00 01 00 00 49 89 f5 48 RSP: 0018:ffffc900000079c8 EFLAGS: 00000096 RAX: 1ffff1100c314065 RBX: ffff8880618a02e8 RCX: ffff8880353e5a00 RDX: 0000000000010100 RSI: ffffffff89cde9f4 RDI: ffff8880618a0300 RBP: ffffc900000079d0 R08: ffff888049822087 R09: 1ffff11009304410 R10: dffffc0000000000 R11: ffffed1009304411 R12: dffffc0000000000 R13: ffff888049822008 R14: ffff888049822000 R15: ffff8880618a0340 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c335d7c CR3: 000000000e736000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000223000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x16/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] advance_sched+0x9b4/0xca0 net/sched/sch_taprio.c:981 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59b/0xd30 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:variable_ffs arch/x86/include/asm/bitops.h:321 [inline] RIP: 0010:handle_softirqs+0x1ef/0x9b0 kernel/softirq.c:549 Code: 00 00 00 45 0f b7 e4 48 c7 c7 80 93 09 8c e8 88 30 67 0a 65 66 c7 05 66 fd a1 7e 00 00 e8 79 59 45 00 fb 49 c7 c6 c0 b0 60 8e ff ff ff ff 41 0f bc c4 41 89 c7 41 ff c7 0f 84 0a 04 00 00 44 RSP: 0018:ffffc90000007e20 EFLAGS: 00000282 RAX: a15947ed6f14ed00 RBX: ffffc90000007ee0 RCX: ffffffff817b292a RDX: dffffc0000000000 RSI: ffffffff8c0a98e0 RDI: ffffffff8c5fd560 RBP: ffffc90000007f50 R08: ffffffff942aa887 R09: 1ffffffff2855510 R10: dffffc0000000000 R11: fffffbfff2855511 R12: 0000000000000386 R13: 0000000000000000 R14: ffffffff8e60b0c0 R15: 1ffff11006a7cb40 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:rcu_is_watching+0x0/0xb0 kernel/rcu/tree.c:733 Code: c7 60 d2 93 8e e8 70 a9 75 03 eb cd 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 0f 1e fa 41 57 41 56 53 65 ff 05 28 c5 7e 7e e8 fb f6 43 0a 89 RSP: 0018:ffffc9000520f260 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff8880353e5a00 RDX: ffff8880353e5a00 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff821190a2 R09: 1ffffffff2855510 R10: dffffc0000000000 R11: fffffbfff2855511 R12: dffffc0000000000 R13: 000000000001193e R14: ffffffff82118e26 R15: ffff88813fffa580 rcu_read_unlock_sched include/linux/rcupdate.h:960 [inline] pfn_valid+0x37b/0x450 include/linux/mmzone.h:2058 page_table_check_clear+0x1e/0x550 mm/page_table_check.c:70 get_and_clear_full_ptes include/linux/pgtable.h:705 [inline] zap_present_folio_ptes mm/memory.c:1502 [inline] zap_present_ptes mm/memory.c:1585 [inline] zap_pte_range mm/memory.c:1627 [inline] zap_pmd_range mm/memory.c:1753 [inline] zap_pud_range mm/memory.c:1782 [inline] zap_p4d_range mm/memory.c:1803 [inline] unmap_page_range+0x2c2e/0x4040 mm/memory.c:1824 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1914 exit_mmap+0x275/0xc20 mm/mmap.c:1672 __mmput+0x115/0x3c0 kernel/fork.c:1348 exit_mm+0x220/0x310 kernel/exit.c:570 do_exit+0x9ad/0x28e0 kernel/exit.c:925 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3036 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdd37585d29 Code: Unable to access opcode bytes at 0x7fdd37585cff. RSP: 002b:00007fdd383220e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fdd37776088 RCX: 00007fdd37585d29 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fdd37776088 RBP: 00007fdd37776080 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdd3777608c R13: 0000000000000000 R14: 00007fdd3789f940 R15: 00007fdd3789fa28 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g112957 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=50479 rcu: rcu_preempt kthread starved for 10502 jiffies! g112957 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:26008 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244