rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=f53/1/0x4000000000000000 softirq=38760/38760 fqs=1 (detected by 0, t=10502 jiffies, g=60557, q=148) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 12891 Comm: syz-executor.2 Not tainted 5.17.0-rc3-syzkaller-00020-g555f3d7be91a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:lock_is_held_type+0x51/0x140 kernel/locking/lockdep.c:5678 Code: b7 76 85 c0 0f 85 ca 00 00 00 65 4c 8b 24 25 00 70 02 00 41 8b 94 24 5c 0a 00 00 85 d2 0f 85 b1 00 00 00 48 89 fd 41 89 f6 9c <8f> 04 24 fa 48 c7 c7 60 61 ac 89 31 db e8 fd 0d 00 00 41 8b 84 24 RSP: 0018:ffffc90000dc0d88 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff888014badb40 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff888014badb00 RBP: ffff888014badb00 R08: 0000000000000000 R09: 0000000000000003 R10: ffffffff87629dbb R11: 0000000000000001 R12: ffff888077ce0000 R13: 00000000ffffffff R14: 00000000ffffffff R15: ffffffff87629d50 FS: 0000555556570400(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d021000 CR3: 000000001d4c3000 CR4: 0000000000350ee0 Call Trace: lock_is_held include/linux/lockdep.h:283 [inline] advance_sched+0xad/0x9a0 net/sched/sch_taprio.c:717 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:_compound_head include/linux/page-flags.h:198 [inline] RIP: 0010:virt_to_folio include/linux/mm.h:846 [inline] RIP: 0010:virt_to_slab mm/kasan/../slab.h:175 [inline] RIP: 0010:qlink_to_cache mm/kasan/quarantine.c:120 [inline] RIP: 0010:qlist_free_all+0xad/0x160 mm/kasan/quarantine.c:173 Code: c7 4c 89 04 24 e8 93 96 75 ff 4c 8b 04 24 48 c1 e8 0c 48 89 c7 48 b8 00 00 00 00 00 ea ff ff 48 c1 e7 06 48 01 c7 48 8b 47 08 <48> 8d 50 ff a8 01 48 0f 45 fa 48 8b 47 08 a8 01 0f 85 83 00 00 00 RSP: 0018:ffffc9000428fc78 EFLAGS: 00000286 RAX: ffffea0001ea9a40 RBX: ffff88801e2e0140 RCX: 0000000000000000 RDX: ffff888077ce0000 RSI: ffffffff813568e4 RDI: ffffea000078b800 RBP: 0000000000000000 R08: ffff88801e2e0140 R09: 0000000000000030 R10: ffffffff813568da R11: 000000000000003f R12: dffffc0000000000 R13: ffffc9000428fcb8 R14: ffff88801cf5c380 R15: 0000000000000000 kasan_quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0xa2/0xc0 mm/kasan/common.c:446 kasan_slab_alloc include/linux/kasan.h:260 [inline] slab_post_alloc_hook mm/slab.h:732 [inline] slab_alloc_node mm/slub.c:3230 [inline] slab_alloc mm/slub.c:3238 [inline] kmem_cache_alloc+0x202/0x3a0 mm/slub.c:3243 kmem_cache_zalloc include/linux/slab.h:705 [inline] taskstats_tgid_alloc kernel/taskstats.c:561 [inline] taskstats_exit+0x5c6/0xb40 kernel/taskstats.c:600 do_exit+0x8b1/0x2a30 kernel/exit.c:791 do_group_exit+0xd2/0x2f0 kernel/exit.c:935 __do_sys_exit_group kernel/exit.c:946 [inline] __se_sys_exit_group kernel/exit.c:944 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:944 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f178ef33059 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe72a6ec48 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007f178ef33059 RDX: 00007f178eee5c9b RSI: ffffffffffffffb8 RDI: 0000000000000000 RBP: 0000000000000000 R08: 00007f178f04aad0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffe72a6ed30 rcu: rcu_preempt kthread starved for 10500 jiffies! g60557 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:28736 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6295 schedule+0xd2/0x260 kernel/sched/core.c:6368 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1963 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2136 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 3935 Comm: kworker/u4:6 Not tainted 5.17.0-rc3-syzkaller-00020-g555f3d7be91a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_check_gp_kthread_starvation.cold+0x1fb/0x200 kernel/rcu/tree_stall.h:458 print_other_cpu_stall kernel/rcu/tree_stall.h:563 [inline] check_cpu_stall kernel/rcu/tree_stall.h:706 [inline] rcu_pending kernel/rcu/tree.c:3919 [inline] rcu_sched_clock_irq+0x1f7c/0x2150 kernel/rcu/tree.c:2617 update_process_times+0x16d/0x200 kernel/time/timer.c:1785 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226 tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1428 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:200 Code: 48 89 ef 5d e9 01 bb 46 00 5d be 03 00 00 00 e9 a6 3e 66 02 66 0f 1f 44 00 00 48 8b be b0 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 <65> 8b 05 29 f7 89 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b RSP: 0018:ffffc9000527fa00 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffff8880b9d3fec0 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffff88801cd89d00 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff816cf12b R11: 0000000000000000 R12: ffffed10173a7fd9 R13: 0000000000000001 R14: ffff8880b9d3fec8 R15: 0000000000000001 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:440 [inline] smp_call_function_many_cond+0x445/0xc90 kernel/smp.c:969 on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1112 [inline] text_poke_bp_batch+0x1b1/0x510 arch/x86/kernel/alternative.c:1300 text_poke_flush arch/x86/kernel/alternative.c:1470 [inline] text_poke_flush arch/x86/kernel/alternative.c:1467 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1477 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1da/0x400 kernel/jump_label.c:830 static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate mm/kfence/core.c:734 [inline] toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:726 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: b7 76 mov $0x76,%bh 2: 85 c0 test %eax,%eax 4: 0f 85 ca 00 00 00 jne 0xd4 a: 65 4c 8b 24 25 00 70 mov %gs:0x27000,%r12 11: 02 00 13: 41 8b 94 24 5c 0a 00 mov 0xa5c(%r12),%edx 1a: 00 1b: 85 d2 test %edx,%edx 1d: 0f 85 b1 00 00 00 jne 0xd4 23: 48 89 fd mov %rdi,%rbp 26: 41 89 f6 mov %esi,%r14d 29: 9c pushfq * 2a: 8f 04 24 popq (%rsp) <-- trapping instruction 2d: fa cli 2e: 48 c7 c7 60 61 ac 89 mov $0xffffffff89ac6160,%rdi 35: 31 db xor %ebx,%ebx 37: e8 fd 0d 00 00 callq 0xe39 3c: 41 rex.B 3d: 8b .byte 0x8b 3e: 84 .byte 0x84 3f: 24 .byte 0x24