rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=847/1/0x4000000000000000 softirq=60425/60427 fqs=346 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P16873/1:b..l (detected by 0, t=10502 jiffies, g=92533, q=132) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16894 Comm: syz-executor.0 Not tainted 5.15.131-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:lock_is_held_type+0x3/0x180 kernel/locking/lockdep.c:5650 Code: 48 c7 c7 80 0b 8b 8a 48 c7 c6 c0 0b 8b 8a e8 e4 31 2f f7 0f 0b eb bf e8 ab fd ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 55 41 57 <41> 56 41 55 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 RSP: 0018:ffffc90000dd0ca8 EFLAGS: 00000002 RAX: 0000000000010002 RBX: 0000000000000001 RCX: ffff88801fc1bb80 RDX: ffff88801fc1bb80 RSI: 00000000ffffffff RDI: ffff888076bb0300 RBP: ffff888076bb02e8 R08: ffffffff886b930e R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff888076bb0000 R13: ffff888076bb0340 R14: dffffc0000000000 R15: ffff888076bb0328 FS: 00007fa2626a56c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa26423f000 CR3: 000000007ab4b000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:287 [inline] advance_sched+0xd0/0x940 net/sched/sch_taprio.c:719 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 22 94 a3 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 c7 08 31 f7 65 8b 05 a8 45 dc 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90002fffb60 EFLAGS: 00000206 RAX: b4015cebeeab3b00 RBX: 1ffff920005fff70 RCX: ffffffff8162e9b8 RDX: dffffc0000000000 RSI: ffffffff8a8b0ce0 RDI: 0000000000000001 RBP: ffffc90002fffbf0 R08: dffffc0000000000 R09: fffffbfff1f7b021 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff920005fff6c R14: ffffc90002fffb80 R15: 0000000000000246 clock_was_set+0x67d/0x880 kernel/time/hrtimer.c:970 do_settimeofday64+0x673/0x7e0 kernel/time/timekeeping.c:1328 __do_sys_clock_settime kernel/time/posix-timers.c:1119 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1107 [inline] __x64_sys_clock_settime+0x232/0x270 kernel/time/posix-timers.c:1107 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fa264123ae9 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:00007fa2626a50c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007fa264242f80 RCX: 00007fa264123ae9 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000000 RBP: 00007fa26416f47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa264242f80 R15: 00007ffe14a4db38 task:udevadm state:R running task stack:25912 pid:16873 ppid: 4677 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6548 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6573 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock+0x36/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:403 [inline] lockref_get_not_dead+0x74/0xb0 lib/lockref.c:216 __legitimize_path fs/namei.c:698 [inline] legitimize_path fs/namei.c:708 [inline] try_to_unlazy+0x165/0x6f0 fs/namei.c:777 may_lookup fs/namei.c:1686 [inline] link_path_walk+0x28b/0xd90 fs/namei.c:2241 path_lookupat+0xa9/0x450 fs/namei.c:2450 filename_lookup+0x230/0x5c0 fs/namei.c:2480 user_path_at_empty+0x40/0x180 fs/namei.c:2853 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x106/0x3b0 fs/stat.c:221 vfs_fstatat fs/stat.c:243 [inline] __do_sys_newfstatat fs/stat.c:411 [inline] __se_sys_newfstatat fs/stat.c:405 [inline] __x64_sys_newfstatat+0x12c/0x1b0 fs/stat.c:405 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7ff696b175f4 RSP: 002b:00007ffdd6d34188 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 0000563780201930 RCX: 00007ff696b175f4 RDX: 00007ffdd6d34198 RSI: 00007ffdd6d34628 RDI: 00000000ffffff9c RBP: 00007ffdd6d34228 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdd6d34628 R13: 00007ffdd6d34198 R14: 0000563780201910 R15: 0000563780201a60 rcu: rcu_preempt kthread starved for 9810 jiffies! g92533 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:26368 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1884 rcu_gp_fqs_loop+0x2af/0xf70 kernel/rcu/tree.c:1959 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2132 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.15.131-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_check_gp_kthread_starvation+0x1d2/0x240 kernel/rcu/tree_stall.h:481 print_other_cpu_stall+0x137a/0x14d0 kernel/rcu/tree_stall.h:586 check_cpu_stall kernel/rcu/tree_stall.h:729 [inline] rcu_pending kernel/rcu/tree.c:3911 [inline] rcu_sched_clock_irq+0x94f/0x1770 kernel/rcu/tree.c:2606 update_process_times+0x196/0x200 kernel/time/timer.c:1788 tick_sched_handle kernel/time/tick-sched.c:254 [inline] tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:22 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:132 [inline] RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:110 [inline] RIP: 0010:acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:570 Code: 00 5a f7 48 83 e3 08 0f 85 0a 01 00 00 4c 8d 74 24 20 e8 e4 73 60 f7 0f 1f 44 00 00 e8 9a fc 59 f7 0f 00 2d 53 57 bc 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 bb 9d a3 f7 RSP: 0018:ffffffff8c607b80 EFLAGS: 000002d3 RAX: ffffffff8a2620c6 RBX: 0000000000000000 RCX: ffffffff8c6bd5c0 RDX: 0000000000000000 RSI: ffffffff8a8b0ce0 RDI: ffffffff8ad87900 RBP: ffffffff8c607c10 R08: ffffffff818694d0 R09: fffffbfff18d7ab9 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff18c0f70 R13: ffff88801944b004 R14: ffffffff8c607ba0 R15: dffffc0000000000 acpi_idle_enter+0x352/0x4f0 drivers/acpi/processor_idle.c:705 cpuidle_enter_state+0x521/0xef0 drivers/cpuidle/cpuidle.c:237 cpuidle_enter+0x59/0x90 drivers/cpuidle/cpuidle.c:351 call_cpuidle kernel/sched/idle.c:158 [inline] cpuidle_idle_call kernel/sched/idle.c:239 [inline] do_idle+0x3e4/0x670 kernel/sched/idle.c:306 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:403 start_kernel+0x48c/0x535 init/main.c:1133 secondary_startup_64_no_verify+0xb1/0xbb