rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=37dc/1/0x4000000000000000 softirq=27770/27771 fqs=1 rcu: (detected by 1, t=10505 jiffies, g=26153, q=141 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 8255 Comm: syz.4.572 Not tainted 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__run_hrtimer kernel/time/hrtimer.c:1708 [inline] RIP: 0010:__hrtimer_run_queues+0x320/0xd30 kernel/time/hrtimer.c:1803 Code: 12 00 48 8b 5c 24 28 4c 89 f7 e8 eb 32 00 00 48 89 d8 48 c1 e8 03 48 89 44 24 68 42 80 3c 28 00 74 08 48 89 df e8 10 7a 76 00 <4c> 89 33 48 8b 54 24 18 48 89 d6 48 c1 ee 03 42 0f b6 04 2e 84 c0 RSP: 0018:ffffc90000007d40 EFLAGS: 00000046 RAX: 1ffff110170c5939 RBX: ffff8880b862c9c8 RCX: ffff88805599da00 RDX: 0000000000010000 RSI: ffffffff8c5edcc0 RDI: ffffffff8c5edc80 RBP: ffffc90000007ea0 R08: ffffffff818d0ab3 R09: 1ffffffff2030a4e R10: dffffc0000000000 R11: fffffbfff2030a4f R12: 1ffff110170c593b R13: dffffc0000000000 R14: ffff888029bca340 R15: ffff8880b862c980 FS: 00007f68171d56c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe708793f98 CR3: 0000000029666000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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:pte_offset_map_rw_nolock+0xfa/0x140 mm/pgtable-generic.c:329 Code: 00 00 ea ff ff 48 01 eb 48 89 d8 48 c1 e8 03 48 bd 00 00 00 00 00 fc ff df 80 3c 28 00 74 08 48 89 df e8 79 a5 13 00 48 8b 1b <4c> 89 f8 48 c1 e8 03 80 3c 28 00 74 08 4c 89 ff e8 51 a6 13 00 49 RSP: 0018:ffffc9000b68f3c8 EFLAGS: 00000246 RAX: 1ffffd400032cced RBX: ffff88807dc0d480 RCX: ffff88805599da00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81efaad4 R09: 1ffffffff284e110 R10: dffffc0000000000 R11: fffffbfff284e111 R12: 0000000000000000 R13: ffffc9000b68f800 R14: ffff88806599db58 R15: ffffc9000b68f8e0 handle_pte_fault+0x1b8/0x5ed0 mm/memory.c:5786 __handle_mm_fault mm/memory.c:5944 [inline] handle_mm_fault+0x1053/0x1ad0 mm/memory.c:6112 faultin_page mm/gup.c:1196 [inline] __get_user_pages+0x1c82/0x49e0 mm/gup.c:1494 populate_vma_page_range+0x264/0x330 mm/gup.c:1932 __mm_populate+0x27a/0x460 mm/gup.c:2035 mm_populate include/linux/mm.h:3396 [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:0x7f6819385d29 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:00007f68171d5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f6819576080 RCX: 00007f6819385d29 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f6819401aa8 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6819576080 R15: 00007ffd3b068e18 rcu: rcu_preempt kthread starved for 10500 jiffies! g26153 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: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: CPU: 1 UID: 0 PID: 5989 Comm: kworker/u8:9 Not tainted 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f3/0x2c60 kernel/smp.c:884 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 56 e9 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 01 e5 0b 00 eb 38 f3 90 <42> 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 e5 e4 RSP: 0018:ffffc900052c76e0 EFLAGS: 00000293 RAX: ffffffff81938efb RBX: 1ffff110170c8c65 RCX: ffff8880612d0000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900052c78e0 R08: ffffffff81938eca R09: 1ffffffff284e110 R10: dffffc0000000000 R11: fffffbfff284e111 R12: dffffc0000000000 R13: ffff8880b8646328 R14: ffff8880b873f940 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f313ff8 CR3: 000000000e736000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2114 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2324 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2522 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xbc/0x260 mm/kfence/core.c:849 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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 watchdog: BUG: soft lockup - CPU#1 stuck for 246s! [kworker/u8:9:5989] Modules linked in: irq event stamp: 3894750 hardirqs last enabled at (3894749): [] irqentry_exit+0x63/0x90 kernel/entry/common.c:357 hardirqs last disabled at (3894750): [] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1049 softirqs last enabled at (3894748): [] __do_softirq kernel/softirq.c:595 [inline] softirqs last enabled at (3894748): [] invoke_softirq kernel/softirq.c:435 [inline] softirqs last enabled at (3894748): [] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662 softirqs last disabled at (3894583): [] __do_softirq kernel/softirq.c:595 [inline] softirqs last disabled at (3894583): [] invoke_softirq kernel/softirq.c:435 [inline] softirqs last disabled at (3894583): [] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662 CPU: 1 UID: 0 PID: 5989 Comm: kworker/u8:9 Not tainted 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f3/0x2c60 kernel/smp.c:884 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 56 e9 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 01 e5 0b 00 eb 38 f3 90 <42> 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 e5 e4 RSP: 0018:ffffc900052c76e0 EFLAGS: 00000293 RAX: ffffffff81938efb RBX: 1ffff110170c8c65 RCX: ffff8880612d0000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900052c78e0 R08: ffffffff81938eca R09: 1ffffffff284e110 R10: dffffc0000000000 R11: fffffbfff284e111 R12: dffffc0000000000 R13: ffff8880b8646328 R14: ffff8880b873f940 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f313ff8 CR3: 000000000e736000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2114 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2324 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2522 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xbc/0x260 mm/kfence/core.c:849 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 8255 Comm: syz.4.572 Not tainted 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:pv_queued_spin_unlock arch/x86/include/asm/paravirt.h:589 [inline] RIP: 0010:queued_spin_unlock arch/x86/include/asm/qspinlock.h:57 [inline] RIP: 0010:do_raw_spin_unlock+0x137/0x8b0 kernel/locking/spinlock_debug.c:142 Code: 3f 7a 8e 48 c1 e8 03 80 3c 28 00 74 0c 48 c7 c7 b0 3f 7a 8e e8 2a 32 87 00 48 83 3d 52 21 fe 0c 00 0f 84 9f 05 00 00 4c 89 ff a4 7c 47 0a 90 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc RSP: 0018:ffffc90000007b20 EFLAGS: 00000082 RAX: 1ffffffff1cf47f6 RBX: 1ffffffff34b2acf RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffff9a595670 RBP: dffffc0000000000 R08: ffffffff9a595673 R09: 1ffffffff34b2ace R10: dffffc0000000000 R11: fffffbfff34b2acf R12: 1ffffffff34b2ad0 R13: ffffffff9a595680 R14: ffffffff9a595678 R15: ffffffff9a595670 FS: 00007f68171d56c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe708793f98 CR3: 0000000029666000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_unlock_irqrestore+0x81/0x140 kernel/locking/spinlock.c:194 debug_object_deactivate+0x2d5/0x390 lib/debugobjects.c:888 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/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+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:pte_offset_map_rw_nolock+0xfa/0x140 mm/pgtable-generic.c:329 Code: 00 00 ea ff ff 48 01 eb 48 89 d8 48 c1 e8 03 48 bd 00 00 00 00 00 fc ff df 80 3c 28 00 74 08 48 89 df e8 79 a5 13 00 48 8b 1b <4c> 89 f8 48 c1 e8 03 80 3c 28 00 74 08 4c 89 ff e8 51 a6 13 00 49 RSP: 0018:ffffc9000b68f3c8 EFLAGS: 00000246 RAX: 1ffffd400032cced RBX: ffff88807dc0d480 RCX: ffff88805599da00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81efaad4 R09: 1ffffffff284e110 R10: dffffc0000000000 R11: fffffbfff284e111 R12: 0000000000000000 R13: ffffc9000b68f800 R14: ffff88806599db58 R15: ffffc9000b68f8e0 handle_pte_fault+0x1b8/0x5ed0 mm/memory.c:5786 __handle_mm_fault mm/memory.c:5944 [inline] handle_mm_fault+0x1053/0x1ad0 mm/memory.c:6112 faultin_page mm/gup.c:1196 [inline] __get_user_pages+0x1c82/0x49e0 mm/gup.c:1494 populate_vma_page_range+0x264/0x330 mm/gup.c:1932 __mm_populate+0x27a/0x460 mm/gup.c:2035 mm_populate include/linux/mm.h:3396 [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:0x7f6819385d29 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:00007f68171d5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f6819576080 RCX: 00007f6819385d29 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f6819401aa8 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6819576080 R15: 00007ffd3b068e18