rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=1b3c/1/0x4000000000000000 softirq=106181/106183 fqs=7 rcu: (detected by 1, t=10502 jiffies, g=165897, q=397 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 32742 Comm: syz-executor.0 Not tainted 6.4.0-rc2-syzkaller-00338-ge2065b8c1b01 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:advance_sched+0x1ba/0xc80 net/sched/sch_taprio.c:934 Code: 74 08 4c 89 f7 e8 a6 0f 11 f9 49 8b 06 48 89 04 24 e8 da c3 dc 01 89 c3 31 ff 89 c6 e8 1f 3f b9 f8 85 db 74 2d 48 8b 44 24 08 <48> 8d 78 c0 be ff ff ff ff e8 38 c0 dc 01 89 c3 31 ff 89 c6 e8 fd RSP: 0018:ffffc90000007c90 EFLAGS: 00000002 RAX: ffff888021e78340 RBX: 0000000000000001 RCX: ffff888022685940 RDX: ffff888022685940 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff88803b588000 R08: ffffffff88d24131 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000000 R13: ffffffff88d23f80 R14: ffff888021e78330 R15: ffff88802c25d400 FS: 00007f711a790700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4f765a8000 CR3: 0000000091b0c000 CR4: 00000000003506f0 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x59f/0xd10 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x13f/0x480 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:30 [inline] RIP: 0010:__orc_find arch/x86/kernel/unwind_orc.c:52 [inline] RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:192 [inline] RIP: 0010:unwind_next_frame+0x480/0x2200 arch/x86/kernel/unwind_orc.c:466 Code: c1 48 c1 f9 02 48 c1 e8 3f 48 01 c8 48 83 e0 fe 49 8d 5c 45 00 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 <84> c0 75 27 48 63 03 48 01 d8 48 8d 4b 04 4c 39 f8 4c 0f 46 e9 48 RSP: 0018:ffffc9000314ecd0 EFLAGS: 00000a03 RAX: 0000000000000000 RBX: ffffffff8e6bd28c RCX: dffffc0000000000 RDX: ffffffff8edb8416 RSI: 000000000009e001 RDI: ffffffff813cbcb0 RBP: ffffffff8e6bd2a8 R08: 000000000000000e R09: ffffc9000314ee90 R10: ffffc9000314edf0 R11: dffffc0000000001 R12: ffffffff8e6bd274 R13: ffffffff8e6bd274 R14: ffffffff8e6bd274 R15: ffffffff81d75042 arch_stack_walk+0x111/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x117/0x1c0 kernel/stacktrace.c:122 save_stack+0xfa/0x1e0 mm/page_owner.c:128 __set_page_owner+0x29/0x380 mm/page_owner.c:192 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1e6/0x210 mm/page_alloc.c:1731 prep_new_page mm/page_alloc.c:1738 [inline] get_page_from_freelist+0x321c/0x33a0 mm/page_alloc.c:3502 __alloc_pages+0x255/0x670 mm/page_alloc.c:4768 __folio_alloc+0x13/0x30 mm/page_alloc.c:4800 vma_alloc_folio+0x48a/0x9a0 mm/mempolicy.c:2240 shmem_alloc_folio mm/shmem.c:1579 [inline] shmem_alloc_and_acct_folio+0x5e7/0xe10 mm/shmem.c:1603 shmem_get_folio_gfp+0x120f/0x3470 mm/shmem.c:1948 shmem_get_folio mm/shmem.c:2079 [inline] shmem_write_begin+0x172/0x4e0 mm/shmem.c:2573 generic_perform_write+0x300/0x5e0 mm/filemap.c:3923 __generic_file_write_iter+0x17a/0x400 mm/filemap.c:4051 generic_file_write_iter+0xaf/0x310 mm/filemap.c:4083 call_write_iter include/linux/fs.h:1868 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x790/0xb20 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7119a3deef Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:00007f711a78ff10 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f7119a3deef RDX: 0000000000200000 RSI: 00007f71101ff000 RDI: 0000000000000003 RBP: 00007f71101ff000 R08: 0000000000000000 R09: 000000000001f3b2 R10: 0000000000200000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f711a78ffdc R14: 00007f711a78ffe0 R15: 000000002001f582 rcu: rcu_preempt kthread starved for 10465 jiffies! g165897 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:26520 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 schedule_timeout+0x1bd/0x310 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x2c6/0x1010 kernel/rcu/tree.c:1609 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1808 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 30956 Comm: kworker/1:12 Not tainted 6.4.0-rc2-syzkaller-00338-ge2065b8c1b01 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 Workqueue: events fqdir_free_fn RIP: 0010:csd_lock_wait kernel/smp.c:285 [inline] RIP: 0010:smp_call_function_single+0x45f/0x1510 kernel/smp.c:617 Code: 37 3f 0b 00 41 83 e4 01 75 16 e8 7c 3b 0b 00 4d 89 fc 44 8b 7c 24 2c eb 46 e8 6d 3b 0b 00 eb 3f 4d 89 fc 44 8b 7c 24 2c f3 90 <42> 0f b6 04 2b 84 c0 75 10 41 f7 06 01 00 00 00 74 1e e8 4a 3b 0b RSP: 0018:ffffc9000495fa20 EFLAGS: 00000293 RAX: ffffffff81804156 RBX: 1ffff9200092bf5d RCX: ffff888026f53b80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000495fb90 R08: ffffffff81804119 R09: fffffbfff1cab8b6 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200092bf58 R13: dffffc0000000000 R14: ffffc9000495fae8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9776386058 CR3: 000000003aad1000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_barrier+0x32e/0x540 kernel/rcu/tree.c:4013 fqdir_free_fn+0x32/0x130 net/ipv4/inet_fragment.c:164 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308