rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=753c/1/0x4000000000000000 softirq=50450/50451 fqs=1 rcu: (detected by 1, t=10502 jiffies, g=51517, q=228 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 13907 Comm: syz.5.2398 Not tainted 6.13.0-rc3-syzkaller-00073-geabcdba3ad40 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 RIP: 0010:__kasan_check_read+0xa/0x20 mm/kasan/shadow.c:31 Code: db eb d0 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 89 f6 48 8b 0c 24 <31> d2 e9 6f e6 ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 RSP: 0018:ffffc90000007a08 EFLAGS: 00000057 RAX: 0000000000000000 RBX: 0000000000000021 RCX: ffffffff817ac184 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff942a3880 RBP: ffff88806f79c7d0 R08: ffffffff942a3887 R09: 1ffffffff2854710 R10: dffffc0000000000 R11: fffffbfff2854711 R12: ffff88806f79c6c4 R13: ffff88806f79bc00 R14: 0000000000000000 R15: ffff88806f79c7f0 FS: 00007fb73fc726c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffffffffd CR3: 000000004c6d6000 CR4: 0000000000350ef0 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] __lock_acquire+0xc94/0x2100 kernel/locking/lockdep.c:5196 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] advance_sched+0xa1e/0xca0 net/sched/sch_taprio.c:985 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59d/0xd30 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x112/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:preempt_schedule_irq+0xf6/0x1c0 kernel/sched/core.c:7078 Code: 89 f5 49 c1 ed 03 eb 0d 48 f7 03 08 00 00 00 0f 84 8b 00 00 00 bf 01 00 00 00 e8 25 e4 a3 f5 e8 40 90 dd f5 fb bf 01 00 00 00 85 ab ff ff 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 e5 37 3c f6 48 RSP: 0018:ffffc9001eaff260 EFLAGS: 00000286 RAX: 7172b28c202ee500 RBX: 1ffff92003d5fe54 RCX: ffffffff817b275a RDX: dffffc0000000000 RSI: ffffffff8c0a9760 RDI: 0000000000000001 RBP: ffffc9001eaff320 R08: ffffffff942a3887 R09: 1ffffffff2854710 R10: dffffc0000000000 R11: fffffbfff2854711 R12: 1ffff92003d5fe4c R13: 1ffff92003d5fe50 R14: ffffc9001eaff280 R15: dffffc0000000000 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:console_flush_all+0x996/0xeb0 Code: 48 21 c3 0f 85 16 02 00 00 e8 f6 ad 20 00 4c 8b 7c 24 10 4d 85 f6 75 07 e8 e7 ad 20 00 eb 06 e8 e0 ad 20 00 fb 48 8b 5c 24 18 <48> 8b 44 24 30 42 80 3c 28 00 74 08 48 89 df e8 86 0d 87 00 4c 8b RSP: 0018:ffffc9001eaff3e0 EFLAGS: 00000246 RAX: ffffffff817ec610 RBX: ffffffff8f175018 RCX: 0000000000080000 RDX: ffffc9000d4ed000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9001eaff590 R08: ffffffff817ec5e7 R09: 1ffffffff2854710 R10: dffffc0000000000 R11: fffffbfff2854711 R12: ffffffff8f174fc0 R13: dffffc0000000000 R14: 0000000000000200 R15: ffffc9001eaff5e0 __console_flush_and_unlock kernel/printk/printk.c:3269 [inline] console_unlock+0x14f/0x3b0 kernel/printk/printk.c:3309 do_con_write+0x4b37/0x4c30 drivers/tty/vt/vt.c:3105 con_write+0x26/0x40 drivers/tty/vt/vt.c:3434 process_output_block drivers/tty/n_tty.c:574 [inline] n_tty_write+0xd64/0x1230 drivers/tty/n_tty.c:2389 iterate_tty_write drivers/tty/tty_io.c:1015 [inline] file_tty_write+0x548/0x9b0 drivers/tty/tty_io.c:1090 new_sync_write fs/read_write.c:586 [inline] vfs_write+0xaed/0xd30 fs/read_write.c:679 ksys_write+0x18f/0x2b0 fs/read_write.c:731 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:0x7fb73ed85d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb73fc72038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fb73ef75fa0 RCX: 00007fb73ed85d29 RDX: 0000000000001006 RSI: 0000000020001980 RDI: 0000000000000004 RBP: 00007fb73ee01aa8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb73ef75fa0 R15: 00007ffd90cbff28 rcu: rcu_preempt kthread starved for 10495 jiffies! g51517 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:25976 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 UID: 0 PID: 12813 Comm: kworker/u8:14 Not tainted 6.13.0-rc3-syzkaller-00073-geabcdba3ad40 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f8/0x2c60 kernel/smp.c:884 Code: 89 e6 83 e6 01 31 ff e8 56 e9 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 01 e5 0b 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 e5 e4 0b 00 eb e4 44 RSP: 0018:ffffc90003e2f6e0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff110170c8c89 RCX: ffff88802b2a9e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90003e2f8e0 R08: ffffffff81938eda R09: 1ffffffff2854710 R10: dffffc0000000000 R11: fffffbfff2854711 R12: dffffc0000000000 R13: ffff8880b8646448 R14: ffff8880b873fac0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffffffffd CR3: 000000000e736000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2114 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2324 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2522 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xbc/0x260 mm/kfence/core.c:849 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa68/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 watchdog: BUG: soft lockup - CPU#1 stuck for 246s! [kworker/u8:14:12813] Modules linked in: irq event stamp: 2410410 hardirqs last enabled at (2410409): [] irqentry_exit+0x63/0x90 kernel/entry/common.c:357 hardirqs last disabled at (2410410): [] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1049 softirqs last enabled at (2410408): [] __do_softirq kernel/softirq.c:595 [inline] softirqs last enabled at (2410408): [] invoke_softirq kernel/softirq.c:435 [inline] softirqs last enabled at (2410408): [] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662 softirqs last disabled at (2410279): [] __do_softirq kernel/softirq.c:595 [inline] softirqs last disabled at (2410279): [] invoke_softirq kernel/softirq.c:435 [inline] softirqs last disabled at (2410279): [] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662 CPU: 1 UID: 0 PID: 12813 Comm: kworker/u8:14 Not tainted 6.13.0-rc3-syzkaller-00073-geabcdba3ad40 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:check_kcov_mode kernel/kcov.c:194 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x37/0x70 kernel/kcov.c:217 Code: 00 d6 03 00 65 8b 15 00 62 64 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 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 RSP: 0018:ffffc90003e2f6d8 EFLAGS: 00000246 RAX: ffffffff81938f0b RBX: 1ffff110170c8c89 RCX: ffff88802b2a9e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90003e2f8e0 R08: ffffffff81938eda R09: 1ffffffff2854710 R10: dffffc0000000000 R11: fffffbfff2854711 R12: dffffc0000000000 R13: ffff8880b8646448 R14: ffff8880b873fac0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffffffffd CR3: 000000000e736000 CR4: 0000000000350ef0 Call Trace: csd_lock_wait kernel/smp.c:340 [inline] smp_call_function_many_cond+0x1a0b/0x2c60 kernel/smp.c:884 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2114 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2324 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2522 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xbc/0x260 mm/kfence/core.c:849 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa68/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 13907 Comm: syz.5.2398 Not tainted 6.13.0-rc3-syzkaller-00073-geabcdba3ad40 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 RIP: 0010:lock_acquire+0x9e/0x550 kernel/locking/lockdep.c:5817 Code: ec 03 48 b8 f1 f1 f1 f1 00 f2 f2 f2 4b 89 04 2c 43 c7 44 2c 09 f2 f2 f2 00 43 c7 44 2c 11 f3 f3 f3 f3 66 43 c7 44 2c 15 f3 f3 <43> c6 44 2c 17 f3 0f 1f 44 00 00 65 8b 05 1c 27 89 7e 83 f8 08 0f RSP: 0018:ffffc900000079e0 EFLAGS: 00000016 RAX: f2f2f200f1f1f1f1 RBX: 1ffff92000000f6c RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff9a58d928 RBP: ffffc90000007b28 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff52000000f8a R12: 1ffff92000000f44 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fb73fc726c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffffffffd CR3: 000000004c6d6000 CR4: 0000000000350ef0 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 debug_object_activate+0x17f/0x580 lib/debugobjects.c:818 debug_hrtimer_activate kernel/time/hrtimer.c:428 [inline] debug_activate kernel/time/hrtimer.c:469 [inline] enqueue_hrtimer+0x30/0x3c0 kernel/time/hrtimer.c:1076 __run_hrtimer kernel/time/hrtimer.c:1756 [inline] __hrtimer_run_queues+0x6cb/0xd30 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x112/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:preempt_schedule_irq+0xf6/0x1c0 kernel/sched/core.c:7078 Code: 89 f5 49 c1 ed 03 eb 0d 48 f7 03 08 00 00 00 0f 84 8b 00 00 00 bf 01 00 00 00 e8 25 e4 a3 f5 e8 40 90 dd f5 fb bf 01 00 00 00 85 ab ff ff 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 e5 37 3c f6 48 RSP: 0018:ffffc9001eaff260 EFLAGS: 00000286 RAX: 7172b28c202ee500 RBX: 1ffff92003d5fe54 RCX: ffffffff817b275a RDX: dffffc0000000000 RSI: ffffffff8c0a9760 RDI: 0000000000000001 RBP: ffffc9001eaff320 R08: ffffffff942a3887 R09: 1ffffffff2854710 R10: dffffc0000000000 R11: fffffbfff2854711 R12: 1ffff92003d5fe4c R13: 1ffff92003d5fe50 R14: ffffc9001eaff280 R15: dffffc0000000000 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:console_flush_all+0x996/0xeb0 Code: 48 21 c3 0f 85 16 02 00 00 e8 f6 ad 20 00 4c 8b 7c 24 10 4d 85 f6 75 07 e8 e7 ad 20 00 eb 06 e8 e0 ad 20 00 fb 48 8b 5c 24 18 <48> 8b 44 24 30 42 80 3c 28 00 74 08 48 89 df e8 86 0d 87 00 4c 8b RSP: 0018:ffffc9001eaff3e0 EFLAGS: 00000246 RAX: ffffffff817ec610 RBX: ffffffff8f175018 RCX: 0000000000080000 RDX: ffffc9000d4ed000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9001eaff590 R08: ffffffff817ec5e7 R09: 1ffffffff2854710 R10: dffffc0000000000 R11: fffffbfff2854711 R12: ffffffff8f174fc0 R13: dffffc0000000000 R14: 0000000000000200 R15: ffffc9001eaff5e0 __console_flush_and_unlock kernel/printk/printk.c:3269 [inline] console_unlock+0x14f/0x3b0 kernel/printk/printk.c:3309 do_con_write+0x4b37/0x4c30 drivers/tty/vt/vt.c:3105 con_write+0x26/0x40 drivers/tty/vt/vt.c:3434 process_output_block drivers/tty/n_tty.c:574 [inline] n_tty_write+0xd64/0x1230 drivers/tty/n_tty.c:2389 iterate_tty_write drivers/tty/tty_io.c:1015 [inline] file_tty_write+0x548/0x9b0 drivers/tty/tty_io.c:1090 new_sync_write fs/read_write.c:586 [inline] vfs_write+0xaed/0xd30 fs/read_write.c:679 ksys_write+0x18f/0x2b0 fs/read_write.c:731 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:0x7fb73ed85d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb73fc72038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fb73ef75fa0 RCX: 00007fb73ed85d29 RDX: 0000000000001006 RSI: 0000000020001980 RDI: 0000000000000004 RBP: 00007fb73ee01aa8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb73ef75fa0 R15: 00007ffd90cbff28