rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=a89c/1/0x4000000000000000 softirq=20323/20327 fqs=144 rcu: (detected by 0, t=10502 jiffies, g=14153, q=565 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 7076 Comm: syz.2.343 Not tainted 6.13.0-rc1-syzkaller-00036-g5076001689e4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x8/0x20 kernel/kcov.c:300 Code: bf 06 00 00 00 e9 b8 fe ff ff 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 0c 24 <40> 0f b6 d6 40 0f b6 f7 bf 01 00 00 00 e9 86 fe ff ff 66 0f 1f 44 RSP: 0018:ffffc90000a18e28 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff81873b80 RDX: fffffbfff20be07b RSI: 0000000000000001 RDI: 0000000000000000 RBP: 000000000003d90c R08: 0000000000000000 R09: fffffbfff20be07a R10: ffffffff905f03d7 R11: 0000000000000004 R12: ffff888035a16340 R13: ffff8880b872cb00 R14: ffff8880b872ca00 R15: ffffffff8941c1e0 FS: 00007fa8f79f56c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb8e7b94d58 CR3: 00000000343d0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hrtimer_expire_entry include/trace/events/timer.h:259 [inline] __run_hrtimer kernel/time/hrtimer.c:1736 [inline] __hrtimer_run_queues+0x5a0/0xae0 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x392/0x8e0 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x10f/0x400 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:console_flush_all+0x9a4/0xc60 kernel/printk/printk.c:3211 Code: 00 e8 80 16 28 00 9c 5b 81 e3 00 02 00 00 31 ff 48 89 de e8 3e 67 20 00 48 85 db 0f 85 55 01 00 00 e8 c0 64 20 00 fb 4c 89 e0 <48> c1 e8 03 42 80 3c 38 00 0f 84 11 ff ff ff 4c 89 e7 e8 e5 4c 83 RSP: 0018:ffffc900040d7628 EFLAGS: 00000283 RAX: ffffffff8ee91638 RBX: 0000000000000000 RCX: ffffc9000ee42000 RDX: 0000000000080000 RSI: ffffffff8179a150 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000004 R12: ffffffff8ee91638 R13: ffffffff8ee915e0 R14: ffffc900040d76b8 R15: dffffc0000000000 __console_flush_and_unlock kernel/printk/printk.c:3269 [inline] console_unlock+0xd9/0x210 kernel/printk/printk.c:3309 vprintk_emit+0x424/0x6f0 kernel/printk/printk.c:2432 vprintk+0x7f/0xa0 kernel/printk/printk_safe.c:86 _printk+0xc8/0x100 kernel/printk/printk.c:2457 disk_unlock_native_capacity+0xa0/0x150 block/partitions/core.c:520 blk_add_partition block/partitions/core.c:553 [inline] blk_add_partitions block/partitions/core.c:633 [inline] bdev_disk_changed+0x9c8/0x1520 block/partitions/core.c:693 loop_reread_partitions+0x70/0x140 drivers/block/loop.c:534 loop_change_fd drivers/block/loop.c:649 [inline] lo_ioctl+0x151c/0x18b0 drivers/block/loop.c:1535 blkdev_ioctl+0x276/0x6d0 block/ioctl.c:693 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl fs/ioctl.c:892 [inline] __x64_sys_ioctl+0x190/0x200 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa8f6b7ff19 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:00007fa8f79f5058 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fa8f6d46080 RCX: 00007fa8f6b7ff19 RDX: 0000000000000008 RSI: 0000000000004c06 RDI: 0000000000000007 RBP: 00007fa8f6bf3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa8f6d46080 R15: 00007ffc650d3578 rcu: rcu_preempt kthread starved for 10214 jiffies! g14153 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:27216 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_timeout+0x124/0x280 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2045 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2247 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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: 0 UID: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.13.0-rc1-syzkaller-00036-g5076001689e4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events jump_label_update_timeout RIP: 0010:check_kcov_mode kernel/kcov.c:185 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x3b/0x70 kernel/kcov.c:217 Code: 69 7e a9 00 01 ff 00 48 8b 34 24 74 1d f6 c4 01 74 43 a9 00 00 0f 00 75 3c a9 00 00 f0 00 75 35 8b 82 1c 16 00 00 85 c0 74 2b <8b> 82 f8 15 00 00 83 f8 02 75 20 48 8b 8a 00 16 00 00 8b 92 fc 15 RSP: 0018:ffffc900000d7a48 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffff8880b8744a40 RCX: ffffffff818df8bc RDX: ffff88801c6b2440 RSI: ffffffff818df896 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000006 R12: ffffed10170e8949 R13: 0000000000000001 R14: ffff8880b8744a48 R15: ffff8880b863fe40 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556ee135c8 CR3: 000000000df7e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rep_nop arch/x86/include/asm/vdso/processor.h:13 [inline] cpu_relax arch/x86/include/asm/vdso/processor.h:18 [inline] csd_lock_wait kernel/smp.c:340 [inline] smp_call_function_many_cond+0x456/0x1300 kernel/smp.c:884 on_each_cpu_cond_mask+0x40/0x90 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+0x22b/0x760 arch/x86/kernel/alternative.c:2324 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_flush arch/x86/kernel/alternative.c:2512 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2522 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:920 __static_key_slow_dec_cpuslocked.part.0+0xc0/0xf0 kernel/jump_label.c:315 __static_key_slow_dec_cpuslocked kernel/jump_label.c:297 [inline] __static_key_slow_dec kernel/jump_label.c:321 [inline] jump_label_update_timeout+0x41/0x50 kernel/jump_label.c:329 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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#0 stuck for 246s! [kworker/0:0:8] Modules linked in: irq event stamp: 2739181 hardirqs last enabled at (2739180): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] hardirqs last enabled at (2739180): [] _raw_spin_unlock_irq+0x23/0x50 kernel/locking/spinlock.c:202 hardirqs last disabled at (2739181): [] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1049 softirqs last enabled at (2739174): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (2739174): [] handle_softirqs+0x5bb/0x8f0 kernel/softirq.c:582 softirqs last disabled at (2739177): [] __do_softirq kernel/softirq.c:588 [inline] softirqs last disabled at (2739177): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last disabled at (2739177): [] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:655 CPU: 0 UID: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.13.0-rc1-syzkaller-00036-g5076001689e4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events jump_label_update_timeout RIP: 0010:in_softirq_really kernel/kcov.c:171 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:183 [inline] RIP: 0010:write_comp_data+0x2b/0x90 kernel/kcov.c:246 Code: 89 d2 49 89 f8 49 89 f1 65 48 8b 15 5f d2 69 7e 65 8b 05 60 d2 69 7e a9 00 01 ff 00 74 1d f6 c4 01 74 67 a9 00 00 0f 00 75 60 00 00 f0 00 75 59 8b 82 1c 16 00 00 85 c0 74 4f 8b 82 f8 15 00 RSP: 0018:ffffc90000007b70 EFLAGS: 00000246 RAX: 0000000000000102 RBX: ffffc9001cc543e0 RCX: ffffffff893ff322 RDX: ffff88801c6b2440 RSI: 0000000000000000 RDI: 0000000000000007 RBP: ffff88805bfbdb00 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000007 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: ffffed100b7f7b5a FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556ee135c8 CR3: 000000000df7e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pie_calculate_probability+0x502/0x850 net/sched/sch_pie.c:326 fq_pie_timer+0x215/0x5a0 net/sched/sch_fq_pie.c:398 call_timer_fn+0x1a0/0x610 kernel/time/timer.c:1793 expire_timers kernel/time/timer.c:1844 [inline] __run_timers+0x6e8/0x930 kernel/time/timer.c:2418 __run_timer_base kernel/time/timer.c:2430 [inline] __run_timer_base kernel/time/timer.c:2422 [inline] run_timer_base+0x114/0x190 kernel/time/timer.c:2439 run_timer_softirq+0x1a/0x40 kernel/time/timer.c:2449 handle_softirqs+0x213/0x8f0 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:655 irq_exit_rcu+0x9/0x30 kernel/softirq.c:671 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x458/0x1300 kernel/smp.c:884 Code: 0c 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 7a 0d 0c 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 a7 0c 00 00 8b 43 08 31 RSP: 0018:ffffc900000d7a50 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b8744a40 RCX: ffffffff818df8bc RDX: ffff88801c6b2440 RSI: ffffffff818df896 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000006 R12: ffffed10170e8949 R13: 0000000000000001 R14: ffff8880b8744a48 R15: ffff8880b863fe40 on_each_cpu_cond_mask+0x40/0x90 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+0x22b/0x760 arch/x86/kernel/alternative.c:2324 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_flush arch/x86/kernel/alternative.c:2512 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2522 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:920 __static_key_slow_dec_cpuslocked.part.0+0xc0/0xf0 kernel/jump_label.c:315 __static_key_slow_dec_cpuslocked kernel/jump_label.c:297 [inline] __static_key_slow_dec kernel/jump_label.c:321 [inline] jump_label_update_timeout+0x41/0x50 kernel/jump_label.c:329 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 7076 Comm: syz.2.343 Not tainted 6.13.0-rc1-syzkaller-00036-g5076001689e4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:hlock_class+0x58/0x130 kernel/locking/lockdep.c:240 Code: 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 c0 1c e5 96 e8 52 32 87 00 48 0f a3 1d 3a 59 6f 15 73 13 <48> 69 c3 c8 00 00 00 5b 48 05 e0 20 e5 96 c3 cc cc cc cc 48 c7 c0 RSP: 0018:ffffc90000a18b38 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 000000000000000b RCX: ffffffff8175c37e RDX: fffffbfff2dca399 RSI: 0000000000000008 RDI: ffffffff96e51cc0 RBP: 0000000000000040 R08: 0000000000000000 R09: fffffbfff2dca398 R10: ffffffff96e51cc7 R11: 0000000000000003 R12: ffff88802d63d3d1 R13: ffff88802d63c880 R14: 0000000000000003 R15: ffff88802d63d3d8 FS: 00007fa8f79f56c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb8e7b94d58 CR3: 00000000343d0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x13a6/0x3c40 kernel/locking/lockdep.c:5222 lock_acquire.part.0+0x11b/0x380 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+0x67f/0xc60 net/sched/sch_taprio.c:985 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x392/0x8e0 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x10f/0x400 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:console_flush_all+0x9a4/0xc60 kernel/printk/printk.c:3211 Code: 00 e8 80 16 28 00 9c 5b 81 e3 00 02 00 00 31 ff 48 89 de e8 3e 67 20 00 48 85 db 0f 85 55 01 00 00 e8 c0 64 20 00 fb 4c 89 e0 <48> c1 e8 03 42 80 3c 38 00 0f 84 11 ff ff ff 4c 89 e7 e8 e5 4c 83 RSP: 0018:ffffc900040d7628 EFLAGS: 00000283 RAX: ffffffff8ee91638 RBX: 0000000000000000 RCX: ffffc9000ee42000 RDX: 0000000000080000 RSI: ffffffff8179a150 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000004 R12: ffffffff8ee91638 R13: ffffffff8ee915e0 R14: ffffc900040d76b8 R15: dffffc0000000000 __console_flush_and_unlock kernel/printk/printk.c:3269 [inline] console_unlock+0xd9/0x210 kernel/printk/printk.c:3309 vprintk_emit+0x424/0x6f0 kernel/printk/printk.c:2432 vprintk+0x7f/0xa0 kernel/printk/printk_safe.c:86 _printk+0xc8/0x100 kernel/printk/printk.c:2457 disk_unlock_native_capacity+0xa0/0x150 block/partitions/core.c:520 blk_add_partition block/partitions/core.c:553 [inline] blk_add_partitions block/partitions/core.c:633 [inline] bdev_disk_changed+0x9c8/0x1520 block/partitions/core.c:693 loop_reread_partitions+0x70/0x140 drivers/block/loop.c:534 loop_change_fd drivers/block/loop.c:649 [inline] lo_ioctl+0x151c/0x18b0 drivers/block/loop.c:1535 blkdev_ioctl+0x276/0x6d0 block/ioctl.c:693 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl fs/ioctl.c:892 [inline] __x64_sys_ioctl+0x190/0x200 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa8f6b7ff19 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:00007fa8f79f5058 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fa8f6d46080 RCX: 00007fa8f6b7ff19 RDX: 0000000000000008 RSI: 0000000000004c06 RDI: 0000000000000007 RBP: 00007fa8f6bf3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa8f6d46080 R15: 00007ffc650d3578