rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P10962/3:b..l rcu: (detected by 0, t=10502 jiffies, g=36569, q=213 ncpus=2) task:syz.4.1402 state:R running task stack:23568 pid:10962 tgid:10959 ppid:5854 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6935 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6959 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] filemap_map_pages+0x1759/0x20d0 mm/filemap.c:3689 do_fault_around mm/memory.c:5280 [inline] do_read_fault mm/memory.c:5313 [inline] do_fault mm/memory.c:5456 [inline] do_pte_missing mm/memory.c:3979 [inline] handle_pte_fault+0x31d6/0x68a0 mm/memory.c:5801 __handle_mm_fault mm/memory.c:5944 [inline] handle_mm_fault+0x1053/0x1ad0 mm/memory.c:6112 faultin_page mm/gup.c:1187 [inline] __get_user_pages+0x1c82/0x49e0 mm/gup.c:1485 populate_vma_page_range+0x264/0x330 mm/gup.c:1923 __mm_populate+0x27a/0x460 mm/gup.c:2026 mm_populate include/linux/mm.h:3386 [inline] vm_mmap_pgoff+0x2c3/0x3d0 mm/util.c:585 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:0x7fcb27380809 RSP: 002b:00007fcb2814b058 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fcb27545fa0 RCX: 00007fcb27380809 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007fcb273f393e R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fcb27545fa0 R15: 00007ffd4e35b888 rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g36569 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=28600 rcu: rcu_preempt kthread starved for 10500 jiffies! g36569 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:25976 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 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 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: 10972 Comm: syz.0.1405 Not tainted 6.12.0-syzkaller-10553-gb86545e02e8c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:154 [inline] RIP: 0010:lock_acquire+0x251/0x550 kernel/locking/lockdep.c:5852 Code: 8c 00 48 c7 44 24 60 00 00 00 00 9c 8f 44 24 60 42 80 3c 2b 00 74 08 4c 89 f7 e8 1a 84 8c 00 f6 44 24 61 02 0f 85 85 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 RSP: 0018:ffffc90000a18a20 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1ffff92000143150 RCX: ffff88804eec46d8 RDX: dffffc0000000000 RSI: ffffffff8c0aeb60 RDI: ffffffff8c6083a0 RBP: ffffc90000a18b68 R08: ffffffff942f0887 R09: 1ffffffff285e110 R10: dffffc0000000000 R11: fffffbfff285e111 R12: 1ffff9200014314c R13: dffffc0000000000 R14: ffffc90000a18a80 R15: 0000000000000046 FS: 00007fcbe97c26c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcbe97c1fb8 CR3: 000000007d0a2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 debug_object_deactivate+0x158/0x390 lib/debugobjects.c:873 debug_hrtimer_deactivate kernel/time/hrtimer.c:433 [inline] debug_deactivate+0x1b/0x220 kernel/time/hrtimer.c:475 __run_hrtimer kernel/time/hrtimer.c:1707 [inline] __hrtimer_run_queues+0x305/0xd50 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+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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 2e 5d 29 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 e3 af 8f f5 65 8b 05 74 91 2f 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc90003b8f920 EFLAGS: 00000206 RAX: 6eda0829f4e5d000 RBX: 1ffff92000771f28 RCX: ffffffff817192da RDX: dffffc0000000000 RSI: ffffffff8c0ad980 RDI: 0000000000000001 RBP: ffffc90003b8f9b0 R08: ffffffff942f0887 R09: 1ffffffff285e110 R10: dffffc0000000000 R11: fffffbfff285e111 R12: dffffc0000000000 R13: 1ffff92000771f24 R14: ffffc90003b8f940 R15: 0000000000000246 clock_was_set+0x686/0x810 kernel/time/hrtimer.c:959 timekeeping_inject_offset+0x3d2/0x520 kernel/time/timekeeping.c:1480 do_adjtimex+0x5b1/0xb10 kernel/time/timekeeping.c:2579 do_clock_adjtime kernel/time/posix-timers.c:1165 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1177 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1168 [inline] __x64_sys_clock_adjtime+0x1e1/0x290 kernel/time/posix-timers.c:1168 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:0x7fcbe8980809 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcbe97c2058 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007fcbe8b46160 RCX: 00007fcbe8980809 RDX: 0000000000000000 RSI: 0000000020000480 RDI: 0000000000000000 RBP: 00007fcbe89f393e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fcbe8b46160 R15: 00007ffc07c88488