rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 1-.... } 6474 jiffies s: 30525 root: 0x2/. rcu: blocking rcu_node structures (internal RCU debug): Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 951 Comm: kworker/u8:5 Not tainted 6.10.0-rc7-next-20240709-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: writeback wb_workfn (flush-8:0) RIP: 0010:variable_test_bit arch/x86/include/asm/bitops.h:227 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:239 [inline] RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] RIP: 0010:cpumask_test_cpu include/linux/cpumask.h:562 [inline] RIP: 0010:cpu_online include/linux/cpumask.h:1113 [inline] RIP: 0010:trace_hrtimer_start include/trace/events/timer.h:222 [inline] RIP: 0010:debug_activate kernel/time/hrtimer.c:479 [inline] RIP: 0010:enqueue_hrtimer+0x76/0x3c0 kernel/time/hrtimer.c:1085 Code: 00 83 fd 07 0f 87 7c 01 00 00 e8 35 88 12 00 89 eb 48 89 d8 48 c1 e8 06 48 8d 3c c5 a8 d2 af 8f be 08 00 00 00 e8 ca 5e 79 00 <31> ed 48 0f a3 1d d8 ce 2e 0e 0f 92 c3 40 0f 92 c5 bf 02 00 00 00 RSP: 0000:ffffc90000a180e8 EFLAGS: 00000056 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff818103c6 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fafd2a8 RBP: 0000000000000001 R08: ffffffff8fafd2af R09: 1ffffffff1f5fa55 R10: dffffc0000000000 R11: fffffbfff1f5fa56 R12: dffffc0000000000 R13: ffff8880b952c980 R14: ffff88806092a340 R15: ffff8880b952c880 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9ecfcf2d08 CR3: 000000000e134000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1706 [inline] __hrtimer_run_queues+0x6cb/0xd50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 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+0x52/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:console_flush_all+0x9f7/0xf50 kernel/printk/printk.c:3103 Code: 20 00 90 0f 0b 90 e9 f3 f9 ff ff e8 c3 28 20 00 e8 fe fb 1e 0a 4d 85 f6 74 c0 e8 b4 28 20 00 fb 49 bd 00 00 00 00 00 fc ff df <43> 80 3c 2f 00 48 8b 5c 24 30 74 08 48 89 df e8 d5 fc 86 00 4c 8b RSP: 0000:ffffc90000a18480 EFLAGS: 00000246 RAX: ffffffff8173632c RBX: 0000000000000000 RCX: ffff88802089da00 RDX: 0000000000000102 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000a18610 R08: ffffffff817362d3 R09: 1ffffffff1f5fa55 R10: dffffc0000000000 R11: fffffbfff1f5fa56 R12: ffffffff8eb300e0 R13: dffffc0000000000 R14: 0000000000000200 R15: 1ffffffff1d66027 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3173 vprintk_emit+0x7a1/0x900 kernel/printk/printk.c:2423 _printk+0xd5/0x120 kernel/printk/printk.c:2450 printk_stack_address arch/x86/kernel/dumpstack.c:72 [inline] show_trace_log_lvl+0x43a/0x520 arch/x86/kernel/dumpstack.c:285 sched_show_task+0x506/0x6d0 kernel/sched/core.c:7512 report_rtnl_holders+0x320/0x3f0 net/core/rtnetlink.c:110 call_timer_fn+0x18e/0x650 kernel/time/timer.c:1792 expire_timers kernel/time/timer.c:1843 [inline] __run_timers kernel/time/timer.c:2417 [inline] __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2428 run_timer_base kernel/time/timer.c:2437 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2447 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:kvm_wait+0x250/0x2c0 arch/x86/kernel/kvm.c:1060 Code: 3b 45 0f b6 f6 44 89 ff 44 89 f6 e8 3a 45 53 00 e8 b5 f5 5a 00 45 38 f7 75 15 66 90 e8 a9 44 53 00 0f 00 2d e2 e8 87 0a fb f4 50 fe ff ff e8 96 44 53 00 fb e9 45 fe ff ff 89 d9 80 e1 07 38 RSP: 0000:ffffc90003b65c20 EFLAGS: 000002d3 RAX: ffffffff81404737 RBX: ffff888065216d80 RCX: ffff88802089da00 RDX: 0000000000000000 RSI: ffffffff8c209860 RDI: ffffffff8140472b RBP: ffffc90003b65cf0 R08: ffffffff8fafd2af R09: 1ffffffff1f5fa55 R10: dffffc0000000000 R11: fffffbfff1f5fa56 R12: 1ffff9200076cb88 R13: dffffc0000000000 R14: 0000000000000003 R15: 0000000000000003 pv_wait arch/x86/include/asm/paravirt.h:596 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:466 [inline] __pv_queued_spin_lock_slowpath+0x8d0/0xdc0 kernel/locking/qspinlock.c:508 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:584 [inline] queued_spin_lock_slowpath+0x42/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x272/0x370 kernel/locking/spinlock_debug.c:116 spin_lock include/linux/spinlock.h:351 [inline] __pte_offset_map_lock+0x1ba/0x300 mm/pgtable-generic.c:375 pte_offset_map_lock include/linux/mm.h:2985 [inline] map_pte mm/page_vma_mapped.c:22 [inline] page_vma_mapped_walk+0x117e/0x1b30 mm/page_vma_mapped.c:281 page_vma_mkclean_one+0x40b/0x9a0 mm/rmap.c:1017 page_mkclean_one+0x280/0x420 mm/rmap.c:1070 rmap_walk_file+0x52f/0x9f0 mm/rmap.c:2686 rmap_walk mm/rmap.c:2704 [inline] folio_mkclean+0x262/0x440 mm/rmap.c:1102 folio_clear_dirty_for_io+0x22b/0xcf0 mm/page-writeback.c:3024 mpage_submit_folio+0x88/0x230 fs/ext4/inode.c:1924 mpage_process_page_bufs+0x6c9/0x8d0 fs/ext4/inode.c:2056 mpage_prepare_extent_to_map+0xec7/0x1c80 fs/ext4/inode.c:2564 ext4_do_writepages+0xc52/0x3d40 fs/ext4/inode.c:2706 ext4_writepages+0x213/0x3c0 fs/ext4/inode.c:2842 do_writepages+0x35d/0x870 mm/page-writeback.c:2683 __writeback_single_inode+0x165/0x10b0 fs/fs-writeback.c:1651 writeback_sb_inodes+0x99c/0x1380 fs/fs-writeback.c:1947 __writeback_inodes_wb+0x11b/0x260 fs/fs-writeback.c:2018 wb_writeback+0x495/0xd40 fs/fs-writeback.c:2129 wb_check_old_data_flush fs/fs-writeback.c:2233 [inline] wb_do_writeback fs/fs-writeback.c:2286 [inline] wb_workfn+0xba1/0x1090 fs/fs-writeback.c:2314 process_one_work kernel/workqueue.c:3228 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3309 worker_thread+0x86d/0xd40 kernel/workqueue.c:3387 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (4 ticks this GP) idle=d804/1/0x4000000000000000 softirq=33789/33789 fqs=0 rcu: (detected by 0, t=10517 jiffies, g=33173, q=863 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 951 Comm: kworker/u8:5 Not tainted 6.10.0-rc7-next-20240709-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: writeback wb_workfn (flush-8:0) RIP: 0010:do_raw_spin_lock+0x0/0x370 kernel/locking/spinlock_debug.c:114 Code: 89 d9 80 e1 07 80 c1 03 38 c1 7c 91 48 89 df e8 a6 98 89 00 eb 87 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 RSP: 0000:ffffc90000a17f58 EFLAGS: 00000096 RAX: 0b86c0cfcc161f00 RBX: 1ffff92000142ff0 RCX: ffffffff816f64a4 RDX: 0000000000000000 RSI: ffffffff8c209860 RDI: ffffffff94aa3570 RBP: ffffc90000a17ff0 R08: ffffffff8fafd2af R09: 1ffffffff1f5fa55 R10: dffffc0000000000 R11: fffffbfff1f5fa56 R12: 0000000000000046 R13: 1ffff92000142fec R14: ffffffff94aa3570 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9ecfcf2d08 CR3: 000000000e134000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0xe1/0x120 kernel/locking/spinlock.c:162 debug_object_deactivate+0x158/0x390 lib/debugobjects.c:764 debug_hrtimer_deactivate kernel/time/hrtimer.c:428 [inline] debug_deactivate+0x1b/0x220 kernel/time/hrtimer.c:484 __run_hrtimer kernel/time/hrtimer.c:1657 [inline] __hrtimer_run_queues+0x305/0xd50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 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+0x52/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:console_flush_all+0x9f7/0xf50 kernel/printk/printk.c:3103 Code: 20 00 90 0f 0b 90 e9 f3 f9 ff ff e8 c3 28 20 00 e8 fe fb 1e 0a 4d 85 f6 74 c0 e8 b4 28 20 00 fb 49 bd 00 00 00 00 00 fc ff df <43> 80 3c 2f 00 48 8b 5c 24 30 74 08 48 89 df e8 d5 fc 86 00 4c 8b RSP: 0000:ffffc90000a18480 EFLAGS: 00000246 RAX: ffffffff8173632c RBX: 0000000000000000 RCX: ffff88802089da00 RDX: 0000000000000102 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000a18610 R08: ffffffff817362d3 R09: 1ffffffff1f5fa55 R10: dffffc0000000000 R11: fffffbfff1f5fa56 R12: ffffffff8eb300e0 R13: dffffc0000000000 R14: 0000000000000200 R15: 1ffffffff1d66027 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3173 vprintk_emit+0x7a1/0x900 kernel/printk/printk.c:2423 _printk+0xd5/0x120 kernel/printk/printk.c:2450 printk_stack_address arch/x86/kernel/dumpstack.c:72 [inline] show_trace_log_lvl+0x43a/0x520 arch/x86/kernel/dumpstack.c:285 sched_show_task+0x506/0x6d0 kernel/sched/core.c:7512 report_rtnl_holders+0x320/0x3f0 net/core/rtnetlink.c:110 call_timer_fn+0x18e/0x650 kernel/time/timer.c:1792 expire_timers kernel/time/timer.c:1843 [inline] __run_timers kernel/time/timer.c:2417 [inline] __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2428 run_timer_base kernel/time/timer.c:2437 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2447 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:kvm_wait+0x250/0x2c0 arch/x86/kernel/kvm.c:1060 Code: 3b 45 0f b6 f6 44 89 ff 44 89 f6 e8 3a 45 53 00 e8 b5 f5 5a 00 45 38 f7 75 15 66 90 e8 a9 44 53 00 0f 00 2d e2 e8 87 0a fb f4 50 fe ff ff e8 96 44 53 00 fb e9 45 fe ff ff 89 d9 80 e1 07 38 RSP: 0000:ffffc90003b65c20 EFLAGS: 000002d3 RAX: ffffffff81404737 RBX: ffff888065216d80 RCX: ffff88802089da00 RDX: 0000000000000000 RSI: ffffffff8c209860 RDI: ffffffff8140472b RBP: ffffc90003b65cf0 R08: ffffffff8fafd2af R09: 1ffffffff1f5fa55 R10: dffffc0000000000 R11: fffffbfff1f5fa56 R12: 1ffff9200076cb88 R13: dffffc0000000000 R14: 0000000000000003 R15: 0000000000000003 pv_wait arch/x86/include/asm/paravirt.h:596 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:466 [inline] __pv_queued_spin_lock_slowpath+0x8d0/0xdc0 kernel/locking/qspinlock.c:508 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:584 [inline] queued_spin_lock_slowpath+0x42/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x272/0x370 kernel/locking/spinlock_debug.c:116 spin_lock include/linux/spinlock.h:351 [inline] __pte_offset_map_lock+0x1ba/0x300 mm/pgtable-generic.c:375 pte_offset_map_lock include/linux/mm.h:2985 [inline] map_pte mm/page_vma_mapped.c:22 [inline] page_vma_mapped_walk+0x117e/0x1b30 mm/page_vma_mapped.c:281 page_vma_mkclean_one+0x40b/0x9a0 mm/rmap.c:1017 page_mkclean_one+0x280/0x420 mm/rmap.c:1070 rmap_walk_file+0x52f/0x9f0 mm/rmap.c:2686 rmap_walk mm/rmap.c:2704 [inline] folio_mkclean+0x262/0x440 mm/rmap.c:1102 folio_clear_dirty_for_io+0x22b/0xcf0 mm/page-writeback.c:3024 mpage_submit_folio+0x88/0x230 fs/ext4/inode.c:1924 mpage_process_page_bufs+0x6c9/0x8d0 fs/ext4/inode.c:2056 mpage_prepare_extent_to_map+0xec7/0x1c80 fs/ext4/inode.c:2564 ext4_do_writepages+0xc52/0x3d40 fs/ext4/inode.c:2706 ext4_writepages+0x213/0x3c0 fs/ext4/inode.c:2842 do_writepages+0x35d/0x870 mm/page-writeback.c:2683 __writeback_single_inode+0x165/0x10b0 fs/fs-writeback.c:1651 writeback_sb_inodes+0x99c/0x1380 fs/fs-writeback.c:1947 __writeback_inodes_wb+0x11b/0x260 fs/fs-writeback.c:2018 wb_writeback+0x495/0xd40 fs/fs-writeback.c:2129 wb_check_old_data_flush fs/fs-writeback.c:2233 [inline] wb_do_writeback fs/fs-writeback.c:2286 [inline] wb_workfn+0xba1/0x1090 fs/fs-writeback.c:2314 process_one_work kernel/workqueue.c:3228 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3309 worker_thread+0x86d/0xd40 kernel/workqueue.c:3387 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: rcu_preempt kthread starved for 10517 jiffies! g33173 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:27440 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2034 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2236 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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: 2797 Comm: kworker/u8:6 Not tainted 6.10.0-rc7-next-20240709-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:312 [inline] RIP: 0010:smp_call_function_many_cond+0x1860/0x29d0 kernel/smp.c:856 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 19 14 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 c4 0f 0c 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 a8 0f RSP: 0018:ffffc900093f7700 EFLAGS: 00000293 RAX: ffffffff81877c38 RBX: 1ffff110172a88f9 RCX: ffff88802aec3c00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900093f78e0 R08: ffffffff81877c07 R09: 1ffffffff1f5fa55 R10: dffffc0000000000 R11: fffffbfff1f5fa56 R12: dffffc0000000000 R13: ffff8880b95447c8 R14: ffff8880b943fb80 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9ed09929a0 CR3: 000000000e134000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 text_poke_bp_batch+0x9ef/0xb30 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493 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+0xb5/0x250 mm/kfence/core.c:833 process_one_work kernel/workqueue.c:3228 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3309 worker_thread+0x86d/0xd40 kernel/workqueue.c:3387 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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 173s! [kworker/u8:6:2797] Modules linked in: irq event stamp: 0 hardirqs last enabled at (0): [<0000000000000000>] 0x0 hardirqs last disabled at (0): [] rcu_lock_acquire include/linux/rcupdate.h:326 [inline] hardirqs last disabled at (0): [] rcu_read_lock include/linux/rcupdate.h:838 [inline] hardirqs last disabled at (0): [] copy_process+0x9fa/0x3d90 kernel/fork.c:2245 softirqs last enabled at (0): [] rcu_lock_acquire include/linux/rcupdate.h:326 [inline] softirqs last enabled at (0): [] rcu_read_lock include/linux/rcupdate.h:838 [inline] softirqs last enabled at (0): [] copy_process+0x9fa/0x3d90 kernel/fork.c:2245 softirqs last disabled at (0): [<0000000000000000>] 0x0 CPU: 0 UID: 0 PID: 2797 Comm: kworker/u8:6 Not tainted 6.10.0-rc7-next-20240709-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:312 [inline] RIP: 0010:smp_call_function_many_cond+0x1860/0x29d0 kernel/smp.c:856 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 19 14 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 c4 0f 0c 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 a8 0f RSP: 0018:ffffc900093f7700 EFLAGS: 00000293 RAX: ffffffff81877c38 RBX: 1ffff110172a88f9 RCX: ffff88802aec3c00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900093f78e0 R08: ffffffff81877c07 R09: 1ffffffff1f5fa55 R10: dffffc0000000000 R11: fffffbfff1f5fa56 R12: dffffc0000000000 R13: ffff8880b95447c8 R14: ffff8880b943fb80 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9ed09929a0 CR3: 000000000e134000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 text_poke_bp_batch+0x9ef/0xb30 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493 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+0xb5/0x250 mm/kfence/core.c:833 process_one_work kernel/workqueue.c:3228 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3309 worker_thread+0x86d/0xd40 kernel/workqueue.c:3387 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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: 951 Comm: kworker/u8:5 Not tainted 6.10.0-rc7-next-20240709-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: writeback wb_workfn (flush-8:0) RIP: 0010:advance_sched+0x405/0xca0 Code: 89 4c 24 18 4c 8d b0 28 01 00 00 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 4c 89 f7 e8 cb 99 60 f8 <48> 8b 04 24 48 8b 98 28 01 00 00 48 8d a8 30 01 00 00 48 89 e8 48 RSP: 0000:ffffc90000a18050 EFLAGS: 00000046 RAX: 1ffff110054cf4a5 RBX: ffff88802a678550 RCX: dffffc0000000000 RDX: 0000000000010103 RSI: 0000000000000000 RDI: 17e0d4fa27b45c3c RBP: 0000000000000000 R08: ffffffff8999c4f0 R09: fffff52000142ff8 R10: dffffc0000000000 R11: fffff52000142ff8 R12: 0000000000000002 R13: 17e0d4fa27b45c3c R14: ffff88802a67a528 R15: ffff88802ea41340 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9ecfcf2d08 CR3: 000000000e134000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 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+0x52/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:console_flush_all+0x9f7/0xf50 kernel/printk/printk.c:3103 Code: 20 00 90 0f 0b 90 e9 f3 f9 ff ff e8 c3 28 20 00 e8 fe fb 1e 0a 4d 85 f6 74 c0 e8 b4 28 20 00 fb 49 bd 00 00 00 00 00 fc ff df <43> 80 3c 2f 00 48 8b 5c 24 30 74 08 48 89 df e8 d5 fc 86 00 4c 8b RSP: 0000:ffffc90000a18480 EFLAGS: 00000246 RAX: ffffffff8173632c RBX: 0000000000000000 RCX: ffff88802089da00 RDX: 0000000000000102 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000a18610 R08: ffffffff817362d3 R09: 1ffffffff1f5fa55 R10: dffffc0000000000 R11: fffffbfff1f5fa56 R12: ffffffff8eb300e0 R13: dffffc0000000000 R14: 0000000000000200 R15: 1ffffffff1d66027 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3173 vprintk_emit+0x7a1/0x900 kernel/printk/printk.c:2423 _printk+0xd5/0x120 kernel/printk/printk.c:2450 printk_stack_address arch/x86/kernel/dumpstack.c:72 [inline] show_trace_log_lvl+0x43a/0x520 arch/x86/kernel/dumpstack.c:285 sched_show_task+0x506/0x6d0 kernel/sched/core.c:7512 report_rtnl_holders+0x320/0x3f0 net/core/rtnetlink.c:110 call_timer_fn+0x18e/0x650 kernel/time/timer.c:1792 expire_timers kernel/time/timer.c:1843 [inline] __run_timers kernel/time/timer.c:2417 [inline] __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2428 run_timer_base kernel/time/timer.c:2437 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2447 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:kvm_wait+0x250/0x2c0 arch/x86/kernel/kvm.c:1060 Code: 3b 45 0f b6 f6 44 89 ff 44 89 f6 e8 3a 45 53 00 e8 b5 f5 5a 00 45 38 f7 75 15 66 90 e8 a9 44 53 00 0f 00 2d e2 e8 87 0a fb f4 50 fe ff ff e8 96 44 53 00 fb e9 45 fe ff ff 89 d9 80 e1 07 38 RSP: 0000:ffffc90003b65c20 EFLAGS: 000002d3 RAX: ffffffff81404737 RBX: ffff888065216d80 RCX: ffff88802089da00 RDX: 0000000000000000 RSI: ffffffff8c209860 RDI: ffffffff8140472b RBP: ffffc90003b65cf0 R08: ffffffff8fafd2af R09: 1ffffffff1f5fa55 R10: dffffc0000000000 R11: fffffbfff1f5fa56 R12: 1ffff9200076cb88 R13: dffffc0000000000 R14: 0000000000000003 R15: 0000000000000003 pv_wait arch/x86/include/asm/paravirt.h:596 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:466 [inline] __pv_queued_spin_lock_slowpath+0x8d0/0xdc0 kernel/locking/qspinlock.c:508 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:584 [inline] queued_spin_lock_slowpath+0x42/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x272/0x370 kernel/locking/spinlock_debug.c:116 spin_lock include/linux/spinlock.h:351 [inline] __pte_offset_map_lock+0x1ba/0x300 mm/pgtable-generic.c:375 pte_offset_map_lock include/linux/mm.h:2985 [inline] map_pte mm/page_vma_mapped.c:22 [inline] page_vma_mapped_walk+0x117e/0x1b30 mm/page_vma_mapped.c:281 page_vma_mkclean_one+0x40b/0x9a0 mm/rmap.c:1017 page_mkclean_one+0x280/0x420 mm/rmap.c:1070 rmap_walk_file+0x52f/0x9f0 mm/rmap.c:2686 rmap_walk mm/rmap.c:2704 [inline] folio_mkclean+0x262/0x440 mm/rmap.c:1102 folio_clear_dirty_for_io+0x22b/0xcf0 mm/page-writeback.c:3024 mpage_submit_folio+0x88/0x230 fs/ext4/inode.c:1924 mpage_process_page_bufs+0x6c9/0x8d0 fs/ext4/inode.c:2056 mpage_prepare_extent_to_map+0xec7/0x1c80 fs/ext4/inode.c:2564 ext4_do_writepages+0xc52/0x3d40 fs/ext4/inode.c:2706 ext4_writepages+0x213/0x3c0 fs/ext4/inode.c:2842 do_writepages+0x35d/0x870 mm/page-writeback.c:2683 __writeback_single_inode+0x165/0x10b0 fs/fs-writeback.c:1651 writeback_sb_inodes+0x99c/0x1380 fs/fs-writeback.c:1947 __writeback_inodes_wb+0x11b/0x260 fs/fs-writeback.c:2018 wb_writeback+0x495/0xd40 fs/fs-writeback.c:2129 wb_check_old_data_flush fs/fs-writeback.c:2233 [inline] wb_do_writeback fs/fs-writeback.c:2286 [inline] wb_workfn+0xba1/0x1090 fs/fs-writeback.c:2314 process_one_work kernel/workqueue.c:3228 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3309 worker_thread+0x86d/0xd40 kernel/workqueue.c:3387 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244