rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=a03c/1/0x4000000000000000 softirq=11685/11685 fqs=0 rcu: (detected by 1, t=10502 jiffies, g=15469, q=260 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6371 Comm: syz-executor.4 Not tainted 6.10.0-rc2-next-20240607-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:netdev_get_num_tc include/linux/netdevice.h:2451 [inline] RIP: 0010:advance_sched+0x7f/0xca0 net/sched/sch_taprio.c:918 Code: 03 80 3c 28 00 74 08 48 89 df e8 6c ca 65 f8 48 8b 1b 48 89 d8 48 c1 e8 03 80 3c 28 00 74 08 48 89 df e8 54 ca 65 f8 48 8b 1b <48> 83 c3 36 48 89 d8 48 c1 e8 03 0f b6 04 28 84 c0 0f 85 bb 0b 00 RSP: 0018:ffffc90000007c90 EFLAGS: 00000046 RAX: 1ffff1100bed2800 RBX: ffff88805f690000 RCX: ffff88802b8a8000 RDX: 0000000080010000 RSI: 0000000000000000 RDI: ffff88802afd0340 RBP: dffffc0000000000 R08: ffffffff8183b4ef R09: 1ffffffff1f5c04d R10: dffffc0000000000 R11: ffffffff8996a740 R12: dffffc0000000000 R13: ffffffff8996a740 R14: ffff88802afd0340 R15: ffff88802b8a8ac8 FS: 00007f6ae14c86c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000140 CR3: 000000002bfa2000 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+0x0/0x70 kernel/kcov.c:200 Code: 89 fb e8 23 00 00 00 48 8b 3d 0c 40 46 0c 48 89 de 5b e9 33 96 5a 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 8b 04 24 65 48 8b 0c 25 00 d6 03 00 65 8b 15 f0 72 RSP: 0018:ffffc900137478b8 EFLAGS: 00000283 RAX: dffffc0000000000 RBX: ffffea000158b980 RCX: 1ffff920026e8f38 RDX: ffffc9000a379000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90013747a28 R08: ffffffff81d19242 R09: 1ffffffff1f5c04d R10: dffffc0000000000 R11: fffffbfff1f5c04e R12: 0000000000000aa5 R13: 0000000000000000 R14: 0000000000000000 R15: 1ffff1100bb2f1d8 shmem_get_folio_gfp+0x158a/0x2660 mm/shmem.c:2190 shmem_get_folio mm/shmem.c:2294 [inline] shmem_write_begin+0x170/0x4d0 mm/shmem.c:2899 generic_perform_write+0x322/0x640 mm/filemap.c:4016 shmem_file_write_iter+0xfc/0x120 mm/shmem.c:3075 new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa72/0xc90 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 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:0x7f6ae067bcaf Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 b9 80 02 00 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 0c 81 02 00 48 RSP: 002b:00007f6ae14c7e80 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007f6ae067bcaf RDX: 0000000001000000 RSI: 00007f6ad6400000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000050ce R10: 0000000000000002 R11: 0000000000000293 R12: 0000000000000003 R13: 00007f6ae14c7f80 R14: 00007f6ae14c7f40 R15: 00007f6ad6400000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g15469 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=6527 rcu: rcu_preempt kthread starved for 10502 jiffies! g15469 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26008 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