rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5696/3:b..l rcu: (detected by 1, t=10503 jiffies, g=13417, q=809 ncpus=2) task:syz-executor.3 state:R running task stack:29184 pid:5696 tgid:5696 ppid:5449 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 preempt_schedule_common+0x44/0xc0 kernel/sched/core.c:6925 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.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+0xc6f/0x1270 mm/filemap.c:3613 do_fault_around mm/memory.c:4852 [inline] do_read_fault mm/memory.c:4885 [inline] do_fault mm/memory.c:5024 [inline] do_pte_missing mm/memory.c:3880 [inline] handle_pte_fault mm/memory.c:5300 [inline] __handle_mm_fault+0x366e/0x4a80 mm/memory.c:5441 handle_mm_fault+0x476/0xa00 mm/memory.c:5606 do_user_addr_fault+0x426/0x1030 arch/x86/mm/fault.c:1331 handle_page_fault arch/x86/mm/fault.c:1474 [inline] exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f646586ad00 RSP: 002b:00007ffd760cf168 EFLAGS: 00010246 RAX: 00007ffd760cf870 RBX: 00007ffd760cf6d0 RCX: 0000000000000000 RDX: 00007ffd760cf850 RSI: 0000000000000025 RDI: 00007f64658ca3ba RBP: 00000000fbad8001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f64658ca3ba R13: 00007ffd760cf850 R14: 0000000000000000 R15: 00007ffd760cf6d0 rcu: rcu_preempt kthread starved for 10521 jiffies! g13417 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:27856 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2582 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:1663 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:1862 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5695 Comm: syz-executor.2 Not tainted 6.9.0-rc7-syzkaller-gee5b455b0ada #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__lock_acquire+0x1fc/0x3b30 kernel/locking/lockdep.c:5046 Code: 48 89 7c 24 28 4c 8d 14 80 85 c0 4e 8d 34 d5 00 00 00 00 74 4f 41 f6 c5 01 75 49 4a 8d 44 37 d8 48 ba 00 00 00 00 00 fc ff df <48> 8d 78 20 48 89 fe 48 c1 ee 03 0f b6 14 16 84 d2 74 09 80 fa 03 RSP: 0018:ffffc90000007c70 EFLAGS: 00000046 RAX: ffff888019318ad8 RBX: 0000000000000001 RCX: 0000000000000002 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffff888019318ad8 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000005 R11: 0000000000000001 R12: ffffffff8d7dda48 R13: 0000000000000000 R14: 0000000000000028 R15: 0000000000000000 FS: 00007f51d22bd6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f51d22bcf00 CR3: 000000007f8cc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719 seqcount_lockdep_reader_access include/linux/seqlock.h:72 [inline] timekeeping_get_delta kernel/time/timekeeping.c:254 [inline] timekeeping_get_ns kernel/time/timekeeping.c:388 [inline] ktime_get_update_offsets_now+0x134/0x620 kernel/time/timekeeping.c:2321 hrtimer_update_base kernel/time/hrtimer.c:634 [inline] hrtimer_interrupt+0x142/0x800 kernel/time/hrtimer.c:1800 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 90 f3 0f 1e fa 53 48 8b 74 24 08 48 89 fb 48 83 c7 18 e8 6a 98 8c f6 48 89 df e8 c2 14 8d f6 e8 ed 98 b5 f6 fb bf 01 00 00 00 b2 4f 7e f6 65 8b 05 b3 88 24 75 85 c0 74 06 5b c3 cc cc cc cc RSP: 0018:ffffc900032f7cf0 EFLAGS: 00000202 RAX: 00000000038301cb RBX: ffff888027c565c0 RCX: 1ffffffff1f3e269 RDX: 0000000000000000 RSI: ffffffff8b0cae00 RDI: 0000000000000001 RBP: ffff888027c569c0 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8f9f55d7 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000021 R14: ffff888027c565c0 R15: ffff888027c565c0 spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x1e3e/0x2710 kernel/signal.c:2914 arch_do_signal_or_restart+0x90/0x7e0 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+0x14a/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xdc/0x260 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f51d147dea9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f51d22bd0c8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00007f51d15abf80 RCX: 00007f51d147dea9 RDX: 000000002006b000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f51d14ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f51d15abf80 R15: 00007fffcbed9ce8