rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 0, t=10502 jiffies, g=64701, q=280 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294995188-4294984686), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g64701 f0x2 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:26264 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+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 16898 Comm: syz.0.4008 Not tainted 6.13.0-rc6-syzkaller-00290-gbe548645527a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:validate_chain+0xf4/0x5920 kernel/locking/lockdep.c:3871 Code: 00 00 4c 8d 6e 20 4c 89 e8 48 c1 e8 03 48 89 44 24 60 42 0f b6 04 20 84 c0 0f 85 ef 4c 00 00 41 8b 5d 00 89 d8 25 00 80 04 00 <3d> 00 00 04 00 0f 85 80 04 00 00 81 e3 ff 1f 00 00 48 89 d8 48 c1 RSP: 0018:ffffc90000a18700 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 00000000000a4021 RCX: 1ffff92000143100 RDX: 0000000000000001 RSI: ffff888027cc6580 RDI: ffff888027cc5a00 RBP: ffffc90000a18a00 R08: ffffffff942a5887 R09: 1ffffffff2854b10 R10: dffffc0000000000 R11: fffffbfff2854b11 R12: dffffc0000000000 R13: ffff888027cc65a0 R14: 58cce5e7c8d5ebdc R15: 0000000000000001 FS: 00007f240a6696c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f23ff01f000 CR3: 000000007e716000 CR4: 0000000000350ef0 Call Trace: __lock_acquire+0x1397/0x2100 kernel/locking/lockdep.c:5226 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] advance_sched+0xa1e/0xca0 net/sched/sch_taprio.c:985 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59d/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+0x112/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+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_release+0x24/0xa30 kernel/locking/lockdep.c:5857 Code: 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 89 7c 24 18 <65> 48 8b 04 25 28 00 00 00 48 89 84 24 e0 00 00 00 49 bf 00 00 00 RSP: 0018:ffffc90004937200 EFLAGS: 00000286 RAX: ffffffff82119244 RBX: 0000000000000001 RCX: 0000000000080000 RDX: ffffc9000ca1a000 RSI: ffffffff82118fb6 RDI: ffffffff8e937a60 RBP: ffffc90004937338 R08: ffffffff82119232 R09: 1ffffffff2854b10 R10: dffffc0000000000 R11: fffffbfff2854b11 R12: dffffc0000000000 R13: ffffffff82118fb6 R14: ffffffff82118fb6 R15: ffff88813fffa580 rcu_lock_release include/linux/rcupdate.h:347 [inline] rcu_read_unlock_sched include/linux/rcupdate.h:962 [inline] pfn_valid+0x3eb/0x450 include/linux/mmzone.h:2058 page_table_check_clear+0x1e/0x550 mm/page_table_check.c:70 zap_present_ptes mm/memory.c:1558 [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+0x2bfa/0x4040 mm/memory.c:1824 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1914 vms_clear_ptes+0x361/0x530 mm/vma.c:1136 vms_complete_munmap_vmas+0x210/0x8f0 mm/vma.c:1185 do_vmi_align_munmap+0x5ef/0x6f0 mm/vma.c:1444 do_vmi_munmap+0x24e/0x2d0 mm/vma.c:1492 __vm_munmap+0x24c/0x480 mm/mmap.c:1372 __do_sys_munmap mm/mmap.c:1389 [inline] __se_sys_munmap mm/mmap.c:1386 [inline] __x64_sys_munmap+0x60/0x70 mm/mmap.c:1386 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2409785db7 Code: 00 00 00 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 0b 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f240a668e18 EFLAGS: 00000246 ORIG_RAX: 000000000000000b RAX: ffffffffffffffda RBX: 0000000000020000 RCX: 00007f2409785db7 RDX: 0000000000000000 RSI: 0000000008400000 RDI: 00007f23ff000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000000034e R10: 0000000020000902 R11: 0000000000000246 R12: 0000000000000003 R13: 00007f240a668ef0 R14: 00007f240a668eb0 R15: 00007f23ff000000