rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=d224/1/0x4000000000000000 softirq=68482/68483 fqs=1 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P19784/1:b..l rcu: (detected by 0, t=10506 jiffies, g=81665, q=224 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 19785 Comm: syz-executor.3 Not tainted 6.4.0-syzkaller-12155-ga452483508d7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x8/0x20 kernel/kcov.c:304 Code: 00 00 f3 0f 1e fa 48 8b 0c 24 0f b7 d6 0f b7 f7 bf 03 00 00 00 e9 b8 fe ff ff 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 0c 24 <89> f2 89 fe bf 05 00 00 00 e9 9a fe ff ff 66 2e 0f 1f 84 00 00 00 RSP: 0018:ffffc900001e0e08 EFLAGS: 00000046 RAX: 0000000000010002 RBX: ffff8880b992b980 RCX: ffffffff81741366 RDX: ffff888063e58000 RSI: 0000000000000001 RDI: 0000000000000007 RBP: ffff888030b63340 R08: 0000000000000000 R09: fffffbfff24751eb R10: ffffffff923a8f5b R11: 0000000000000001 R12: 0000000000000001 R13: 0000000000000000 R14: ffff8880b992b880 R15: 0000000000000001 FS: 00007f8a04c08700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f725000 CR3: 0000000029fc1000 CR4: 0000000000350ee0 Call Trace: cpu_max_bits_warn include/linux/cpumask.h:143 [inline] cpumask_check include/linux/cpumask.h:150 [inline] cpumask_test_cpu include/linux/cpumask.h:504 [inline] cpu_online include/linux/cpumask.h:1082 [inline] trace_hrtimer_start include/trace/events/timer.h:202 [inline] debug_activate kernel/time/hrtimer.c:478 [inline] enqueue_hrtimer+0x46/0x320 kernel/time/hrtimer.c:1087 __run_hrtimer kernel/time/hrtimer.c:1705 [inline] __hrtimer_run_queues+0xa65/0xc00 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1115 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x3c/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 d6 99 42 f7 48 89 ef e8 ae 09 43 f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 ef c4 34 f7 65 8b 05 20 13 e0 75 85 c0 74 0a 5b 5d c3 e8 7c dd RSP: 0018:ffffc900042d7a98 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff230d316 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff8880b982b880 R08: 0000000000000001 R09: fffffbfff230d1d0 R10: 0000000000000001 R11: 0000000000000001 R12: fe232aaebf817d40 R13: 0000000000000000 R14: 000000e96dd42680 R15: dffffc0000000000 clock_was_set+0x61a/0x830 kernel/time/hrtimer.c:972 timekeeping_inject_offset+0x4b4/0x620 kernel/time/timekeeping.c:1395 do_adjtimex+0x333/0xa40 kernel/time/timekeeping.c:2444 do_clock_adjtime kernel/time/posix-timers.c:1159 [inline] __do_sys_clock_adjtime+0x163/0x270 kernel/time/posix-timers.c:1171 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8a03e8c389 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8a04c08168 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f8a03fac050 RCX: 00007f8a03e8c389 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f8a03ed7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc99dd636f R14: 00007f8a04c08300 R15: 0000000000022000 task:syz-executor.1 state:R running task stack:28168 pid:19784 ppid:5060 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:7022 irqentry_exit+0x35/0x80 kernel/entry/common.c:433 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_is_held_type+0x103/0x140 kernel/locking/lockdep.c:5837 Code: 00 00 b8 ff ff ff ff 65 0f c1 05 c8 81 e2 75 83 f8 01 75 29 9c 58 f6 c4 02 75 3d 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 08 <44> 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 45 31 ed eb b9 0f 0b 48 RSP: 0018:ffffc90003a6f7b8 EFLAGS: 00000286 RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888016fa4da0 R08: 0000000000000005 R09: 0000000000000300 R10: 0000000000000300 R11: 0000000000000001 R12: ffff88805b008000 R13: 0000000000000001 R14: 00000000ffffffff R15: ffff88805b008ac8 lock_is_held include/linux/lockdep.h:288 [inline] mt_locked lib/maple_tree.c:809 [inline] mt_locked lib/maple_tree.c:807 [inline] mt_slot lib/maple_tree.c:816 [inline] mas_slot lib/maple_tree.c:849 [inline] mt_validate_nulls+0x9e6/0xd10 lib/maple_tree.c:7172 mt_validate+0x17e3/0x4370 lib/maple_tree.c:7227 validate_mm+0x9d/0x470 mm/mmap.c:300 vma_expand+0x39a/0x6e0 mm/mmap.c:681 mmap_region+0x150f/0x2570 mm/mmap.c:2711 do_mmap+0x850/0xee0 mm/mmap.c:1362 vm_mmap_pgoff+0x1a2/0x3b0 mm/util.c:543 ksys_mmap_pgoff+0x42b/0x5b0 mm/mmap.c:1408 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f440948c3d2 RSP: 002b:00007ffe861fb868 EFLAGS: 00000206 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000000011 RCX: 00007f440948c3d2 RDX: 0000000000000003 RSI: 00000000003c0000 RDI: 0000001b2f360000 RBP: 0000001b2f360000 R08: 0000000000000004 R09: 0000000000040000 R10: 0000000000000011 R11: 0000000000000206 R12: 0000001b2f360000 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffe861fbb50 rcu: rcu_preempt kthread starved for 10500 jiffies! g81665 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:28344 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 schedule+0xde/0x1a0 kernel/sched/core.c:6786 schedule_timeout+0x14e/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1808 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 2428 Comm: kworker/u4:5 Not tainted 6.4.0-syzkaller-12155-ga452483508d7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:296 [inline] RIP: 0010:smp_call_function_many_cond+0x699/0x1720 kernel/smp.c:835 Code: 0b 00 85 ed 74 48 48 8b 44 24 08 49 89 c4 83 e0 07 49 c1 ec 03 48 89 c5 4d 01 f4 83 c5 03 e8 ee 53 0b 00 f3 90 41 0f b6 04 24 <40> 38 c5 7c 08 84 c0 0f 85 d1 0d 00 00 8b 43 08 31 ff 83 e0 01 41 RSP: 0018:ffffc9000ad3f948 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9943020 RCX: 0000000000000000 RDX: ffff888027a78000 RSI: ffffffff81798b82 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffed1017328605 R13: 0000000000000001 R14: dffffc0000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f37d7f85998 CR3: 000000000c775000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x5a/0xa0 kernel/smp.c:1003 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1938 [inline] text_poke_bp_batch+0x24f/0x780 arch/x86/kernel/alternative.c:2148 text_poke_flush arch/x86/kernel/alternative.c:2339 [inline] text_poke_flush arch/x86/kernel/alternative.c:2336 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2346 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32f/0x410 kernel/jump_label.c:829 static_key_enable_cpuslocked+0x1b5/0x270 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate mm/kfence/core.c:831 [inline] toggle_allocation_gate+0xf8/0x230 mm/kfence/core.c:823 process_one_work+0xa34/0x16f0 kernel/workqueue.c:2597 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2748 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308