rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 ticks this GP) idle=a5c4/1/0x4000000000000000 softirq=54053/54053 fqs=2 rcu: (detected by 1, t=10502 jiffies, g=84585, q=349 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 12539 Comm: syz-executor.2 Not tainted 6.10.0-rc3-next-20240611-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:qdisc_dev include/net/sch_generic.h:575 [inline] RIP: 0010:advance_sched+0x5a/0xca0 net/sched/sch_taprio.c:916 Code: e8 03 80 3c 28 00 74 08 48 89 df e8 f0 de 65 f8 48 8b 03 48 89 84 24 88 00 00 00 48 8d 58 40 48 89 d8 48 c1 e8 03 80 3c 28 00 <74> 08 48 89 df e8 cc de 65 f8 48 8b 1b 48 89 d8 48 c1 e8 03 80 3c RSP: 0018:ffffc90000007c90 EFLAGS: 00000046 RAX: 1ffff1100385f408 RBX: ffff88801c2fa040 RCX: ffff888028565a00 RDX: 0000000000010000 RSI: 0000000000000000 RDI: ffff88801c2fa340 RBP: dffffc0000000000 R08: ffffffff818099bf R09: 1ffffffff1f5c095 R10: dffffc0000000000 R11: ffffffff89937790 R12: dffffc0000000000 R13: ffffffff89937790 R14: ffff88801c2fa340 R15: ffff8880285664c8 FS: 00007f481288e6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001240 CR3: 00000000569c6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1687 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1751 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1813 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__sanitizer_cov_trace_pc+0x46/0x70 kernel/kcov.c:212 Code: ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 1c 16 00 00 00 74 2c 8b 91 f8 15 00 00 83 fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 <48> 8d 7e 01 8b 89 fc 15 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 RSP: 0018:ffffc900097deb78 EFLAGS: 00000246 RAX: ffffffff8203858b RBX: 0000000000000000 RCX: ffff888028565a00 RDX: ffffc9000fb04000 RSI: 000000000003ffff RDI: ffffea0001b3d900 RBP: ffffc900097dec68 R08: ffffea0001b3d937 R09: 0000000000000000 R10: ffffed100d9ec800 R11: fffff94000367b27 R12: 0000000000140cca R13: 0000000000000001 R14: ffffea0001b3d900 R15: dffffc0000000000 __set_page_owner+0x7b/0x800 mm/page_owner.c:315 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1470 prep_new_page mm/page_alloc.c:1478 [inline] get_page_from_freelist+0x2cbd/0x2d70 mm/page_alloc.c:3457 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4715 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2263 folio_alloc_mpol_noprof+0x36/0x50 mm/mempolicy.c:2281 shmem_alloc_folio mm/shmem.c:1723 [inline] shmem_alloc_and_add_folio+0x2ce/0x14e0 mm/shmem.c:1783 shmem_get_folio_gfp+0xa22/0x2660 mm/shmem.c:2189 shmem_fault+0x252/0x6f0 mm/shmem.c:2389 __do_fault+0x135/0x460 mm/memory.c:4647 do_read_fault mm/memory.c:5048 [inline] do_fault mm/memory.c:5178 [inline] do_pte_missing mm/memory.c:3948 [inline] handle_pte_fault+0x3d8d/0x7130 mm/memory.c:5502 __handle_mm_fault mm/memory.c:5645 [inline] handle_mm_fault+0x10df/0x1ba0 mm/memory.c:5810 faultin_page mm/gup.c:1339 [inline] __get_user_pages+0x6ef/0x1590 mm/gup.c:1638 populate_vma_page_range+0x264/0x330 mm/gup.c:2078 __mm_populate+0x27a/0x460 mm/gup.c:2181 mm_populate include/linux/mm.h:3442 [inline] vm_mmap_pgoff+0x2c3/0x3d0 mm/util.c:578 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:0x7f4811a7cea9 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:00007f481288e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f4811bb3f80 RCX: 00007f4811a7cea9 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f4811aebff4 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f4811bb3f80 R15: 00007ffc6a37e3e8 rcu: rcu_preempt kthread starved for 10498 jiffies! g84585 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:26448 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2029 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2231 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 146 Comm: kworker/u8:5 Not tainted 6.10.0-rc3-next-20240611-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1860/0x29d0 kernel/smp.c:855 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 19 0d 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 c4 08 0c 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 a8 08 RSP: 0018:ffffc90002daf700 EFLAGS: 00000293 RAX: ffffffff81873f48 RBX: 1ffff11017288c31 RCX: ffff88801bbc3c00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90002daf8e0 R08: ffffffff81873f17 R09: 1ffffffff25f96e8 R10: dffffc0000000000 R11: fffffbfff25f96e9 R12: dffffc0000000000 R13: ffff8880b9446188 R14: ffff8880b953fa00 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31c25000 CR3: 000000000e132000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2069 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2279 text_poke_flush arch/x86/kernel/alternative.c:2470 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2477 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:3248 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3329 worker_thread+0x86d/0xd50 kernel/workqueue.c:3409 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244