rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (2 ticks this GP) idle=689/0/0x1 softirq=5024/5024 fqs=49 (detected by 0, t=10502 jiffies, g=3741, q=352) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.15.160-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:kasan_check_range+0x1/0x290 mm/kasan/generic.c:188 Code: 01 c6 48 89 c7 e8 7f 65 54 08 31 c0 c3 0f 0b b8 ea ff ff ff c3 0f 0b b8 ea ff ff ff c3 cc cc cc cc cc cc cc cc cc cc cc cc 55 <41> 57 41 56 53 b0 01 48 85 f6 0f 84 9a 01 00 00 48 89 fd 48 01 f5 RSP: 0018:ffffc90000dd0bd0 EFLAGS: 00000046 RAX: ffffffff8835900b RBX: 0000000000000001 RCX: ffffffff8835901d RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff888018897188 RBP: ffffc90000dd0cb0 R08: ffffffff886c45ee R09: fffffbfff1f7f019 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888018897000 R13: dffffc0000000000 R14: 1ffff920001ba180 R15: 17d67de3e6503cdf FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 000000000c68e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read_write include/linux/instrumented.h:101 [inline] test_and_set_bit include/asm-generic/bitops/instrumented-atomic.h:70 [inline] __netif_schedule+0x8d/0x310 net/core/dev.c:3073 advance_sched+0x750/0x940 net/sched/sch_taprio.c:770 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 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: fd 58 f7 48 83 e3 08 0f 85 0a 01 00 00 4c 8d 74 24 20 e8 24 79 5f f7 0f 1f 44 00 00 e8 1a f9 58 f7 0f 00 2d 33 bb bb 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 8b c7 a2 f7 RSP: 0018:ffffc90000d67b00 EFLAGS: 000002d3 RAX: ffffffff8a2763a6 RBX: 0000000000000000 RCX: ffff88813fe68000 RDX: 0000000000000000 RSI: ffffffff8a8b2980 RDI: ffffffff8ad8f6c0 RBP: ffffc90000d67b90 R08: ffffffff8186dcf0 R09: ffffed1027fcd001 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920001acf60 R13: ffff888146de1004 R14: ffffc90000d67b20 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_secondary+0x371/0x500 arch/x86/kernel/smpboot.c:281 secondary_startup_64_no_verify+0xb1/0xbb INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.093 msecs rcu: rcu_preempt kthread timer wakeup didn't happen for 10254 jiffies! g3741 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=1847 rcu: rcu_preempt kthread starved for 10255 jiffies! g3741 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:27000 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.15.160-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:rcu_is_watching+0x63/0xa0 kernel/rcu/tree.c:1124 Code: 89 f7 e8 40 16 5f 00 48 c7 c3 08 b3 03 00 49 03 1e 48 89 d8 48 c1 e8 03 42 0f b6 04 38 84 c0 75 1a 8b 03 65 ff 0d 15 5b 97 7e <74> 08 24 01 5b 41 5e 41 5f c3 e8 96 79 95 ff eb f1 89 d9 80 e1 07 RSP: 0018:ffffc90000dd0b20 EFLAGS: 00000002 RAX: 0000000000006689 RBX: ffff8880b9b3b308 RCX: ffffffff8162ac6c RDX: 0000000000000000 RSI: ffffffff8ad8f6a0 RDI: ffffffff8ad8f660 RBP: ffffc90000dd0c98 R08: dffffc0000000000 R09: fffffbfff1bc8cce R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920001ba170 R13: dffffc0000000000 R14: ffffffff8c35f808 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 000000000c68e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0xdd/0x4f0 kernel/locking/lockdep.c:5594 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:363 [inline] advance_sched+0x47/0x940 net/sched/sch_taprio.c:716 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 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: fd 58 f7 48 83 e3 08 0f 85 0a 01 00 00 4c 8d 74 24 20 e8 24 79 5f f7 0f 1f 44 00 00 e8 1a f9 58 f7 0f 00 2d 33 bb bb 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 8b c7 a2 f7 RSP: 0018:ffffc90000d67b00 EFLAGS: 000002d3 RAX: ffffffff8a2763a6 RBX: 0000000000000000 RCX: ffff88813fe68000 RDX: 0000000000000000 RSI: ffffffff8a8b2980 RDI: ffffffff8ad8f6c0 RBP: ffffc90000d67b90 R08: ffffffff8186dcf0 R09: ffffed1027fcd001 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920001acf60 R13: ffff888146de1004 R14: ffffc90000d67b20 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_secondary+0x371/0x500 arch/x86/kernel/smpboot.c:281 secondary_startup_64_no_verify+0xb1/0xbb INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.144 msecs