rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=4044/1/0x4000000000000000 softirq=60575/60575 fqs=1 rcu: (detected by 0, t=10502 jiffies, g=86661, q=342 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 13743 Comm: syz-executor.4 Not tainted 6.10.0-rc1-syzkaller-00027-g4a4be1ad3a6e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:hlock_class kernel/locking/lockdep.c:228 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4774 [inline] RIP: 0010:__lock_acquire+0x5d2/0x1fd0 kernel/locking/lockdep.c:5087 Code: 41 8b 1f 81 e3 ff 1f 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 80 85 fa 92 be 08 00 00 00 e8 d6 77 89 00 48 0f a3 1d 7e 24 88 11 <73> 22 48 69 c3 c8 00 00 00 48 8d 98 80 e4 c8 92 48 ba 00 00 00 00 RSP: 0018:ffffc90000a18a70 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000067 RCX: ffffffff817260fa RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92fa8588 RBP: 0000000000000002 R08: ffffffff92fa858f R09: 1ffffffff25f50b1 R10: dffffc0000000000 R11: fffffbfff25f50b2 R12: 0000000000000001 R13: ffff88802d809e00 R14: 0000000000000000 R15: ffff88802d80a900 FS: 000055556af51480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd46081f000 CR3: 00000000766e6000 CR4: 0000000000350ef0 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0xd3/0x120 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1691 [inline] __hrtimer_run_queues+0x670/0xd50 kernel/time/hrtimer.c:1751 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1813 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x112/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+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:kasan_check_range+0x1be/0x290 mm/kasan/generic.c:189 Code: 07 48 85 ed 48 0f 49 dd 48 83 e3 f8 48 29 dd 74 12 41 80 3b 00 0f 85 a6 00 00 00 49 ff c3 48 ff cd 75 ee 5b 41 5c 41 5e 41 5f <5d> e9 f7 7f b4 09 40 84 ed 75 5f f7 c5 00 ff 00 00 75 5c f7 c5 00 RSP: 0018:ffffc9000386f620 EFLAGS: 00000256 RAX: 0000000000000001 RBX: ffff88813fffc440 RCX: ffffffff81daa9d2 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88802d80b100 RBP: 0000000000000000 R08: ffff88802d80b107 R09: 1ffff11005b01620 R10: dffffc0000000000 R11: ffffed1005b01621 R12: ffff88813fffc440 R13: dffffc0000000000 R14: 0000000000000002 R15: ffff88802d80b100 instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] zref_in_nodemask mm/mmzone.c:49 [inline] __next_zones_zonelist+0xa2/0x130 mm/mmzone.c:69 next_zones_zonelist include/linux/mmzone.h:1646 [inline] first_zones_zonelist include/linux/mmzone.h:1670 [inline] prepare_alloc_pages+0x369/0x5d0 mm/page_alloc.c:4446 __alloc_pages_noprof+0x166/0x6c0 mm/page_alloc.c:4649 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265 get_free_pages_noprof+0xc/0x30 mm/page_alloc.c:4707 kasan_populate_vmalloc_pte+0x38/0xe0 mm/kasan/shadow.c:304 apply_to_pte_range mm/memory.c:2752 [inline] apply_to_pmd_range mm/memory.c:2796 [inline] apply_to_pud_range mm/memory.c:2832 [inline] apply_to_p4d_range mm/memory.c:2868 [inline] __apply_to_page_range+0x8aa/0xe50 mm/memory.c:2902 alloc_vmap_area+0x1d41/0x23e0 mm/vmalloc.c:2034 __get_vm_area_node+0x1a9/0x270 mm/vmalloc.c:3101 __vmalloc_node_range_noprof+0x3bc/0x1460 mm/vmalloc.c:3783 vmalloc_user_noprof+0x74/0x80 mm/vmalloc.c:3977 kcov_ioctl+0x59/0x630 kernel/kcov.c:705 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfe/0x170 fs/ioctl.c:893 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:0x7f860ce7cc4b Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007ffc517cc5c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f860ce7cc4b RDX: 0000000000040000 RSI: ffffffff80086301 RDI: 00000000000000e0 RBP: 00007f860cfb46b8 R08: 00000000000000da R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc517ccd08 R13: 0000000000000003 R14: 00007f860cfb46b8 R15: 0000000000000008 rcu: rcu_preempt kthread starved for 10500 jiffies! g86661 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:25824 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 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: 0 PID: 10804 Comm: kworker/0:15 Not tainted 6.10.0-rc1-syzkaller-00027-g4a4be1ad3a6e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: events drain_vmap_area_work RIP: 0010:rep_nop arch/x86/include/asm/vdso/processor.h:13 [inline] RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:18 [inline] RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x185e/0x29d0 kernel/smp.c:855 Code: 00 00 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 99 09 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 44 05 0c 00 eb 38 90 42 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 RSP: 0018:ffffc9000b97f7c0 EFLAGS: 00000293 RAX: ffffffff818a1158 RBX: 1ffff110172a88a9 RCX: ffff888065438000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000b97f9a0 R08: ffffffff818a1127 R09: 1ffffffff25f50b1 R10: dffffc0000000000 R11: fffffbfff25f50b2 R12: dffffc0000000000 R13: ffff8880b9544548 R14: ffff8880b943f900 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f530e4861c0 CR3: 0000000062d2e000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 purge_vmap_node+0x3e3/0x770 mm/vmalloc.c:2207 __purge_vmap_area_lazy+0x708/0xae0 mm/vmalloc.c:2289 drain_vmap_area_work+0x27/0x40 mm/vmalloc.c:2323 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2e/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393 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