rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=12a4/1/0x4000000000000000 softirq=53414/53414 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P20377/1:b..l rcu: (detected by 0, t=10502 jiffies, g=79881, q=34 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16781 Comm: syz-executor.2 Not tainted 6.6.0-syzkaller-15029-gbe3ca57cfb77 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:hlock_class kernel/locking/lockdep.c:228 [inline] RIP: 0010:__lock_acquire+0x15eb/0x5de0 kernel/locking/lockdep.c:5132 Code: f8 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 80 6e f1 91 e8 1d e5 76 00 48 0f a3 1d d5 bf 88 10 <0f> 83 cf 12 00 00 48 69 db d0 00 00 00 48 81 c3 a0 72 f1 91 48 8d RSP: 0018:ffffc900001f0ab0 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 0000000000000066 RCX: ffffffff8168aea3 RDX: fffffbfff23e2dd2 RSI: 0000000000000008 RDI: ffffffff91f16e88 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff23e2dd1 R10: ffffffff91f16e8f R11: 0000000000000000 R12: ffff88801eb1a91a R13: ffff88801eb1a8f8 R14: 0000000049da982d R15: 0000000000000003 FS: 0000555557226480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555722f938 CR3: 0000000049d2a000 CR4: 0000000000350ef0 Call Trace: lock_acquire kernel/locking/lockdep.c:5753 [inline] lock_acquire+0x1ae/0x510 kernel/locking/lockdep.c:5718 debug_objects_fill_pool lib/debugobjects.c:614 [inline] debug_object_activate+0x144/0x490 lib/debugobjects.c:713 debug_hrtimer_activate kernel/time/hrtimer.c:422 [inline] debug_activate kernel/time/hrtimer.c:477 [inline] enqueue_hrtimer+0x23/0x310 kernel/time/hrtimer.c:1087 __run_hrtimer kernel/time/hrtimer.c:1705 [inline] __hrtimer_run_queues+0xa0a/0xc10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] __sysvec_apic_timer_interrupt+0x105/0x3f0 arch/x86/kernel/apic/apic.c:1082 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:apparmor_path_unlink+0x0/0x820 security/apparmor/lsm.c:323 Code: fd ff ff 4c 89 f7 e8 4f d7 bb fd e9 46 fd ff ff 4c 89 ef e8 42 d7 bb fd e9 6b fd ff ff 4c 89 f7 e8 35 d7 bb fd e9 a4 fe ff ff 0f 1e fa 41 57 41 56 41 55 49 89 fd 41 54 49 bc 00 00 00 00 00 RSP: 0018:ffffc9000487fdd8 EFLAGS: 00000246 RAX: 1ffffffff194cf50 RBX: ffffffff8ca67a68 RCX: ffffffff8419bc04 RDX: ffff88801eb19dc0 RSI: ffff8880323d6d38 RDI: ffffc9000487fe90 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffc9000487fe90 R14: ffff8880323d6d38 R15: 0000000000000000 security_path_unlink+0xf9/0x160 security/security.c:1767 do_unlinkat+0x557/0x740 fs/namei.c:4379 __do_sys_unlink fs/namei.c:4430 [inline] __se_sys_unlink fs/namei.c:4428 [inline] __x64_sys_unlink+0xc8/0x110 fs/namei.c:4428 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fa044c7c297 Code: 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff4ccbb108 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa044c7c297 RDX: 00007fff4ccbb130 RSI: 00007fff4ccbb1c0 RDI: 00007fff4ccbb1c0 RBP: 00007fff4ccbb1c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 00007fff4ccbc280 R13: 00007fa044cc73b9 R14: 0000000000161d6e R15: 0000000000000001 task:syz-executor.5 state:R running task stack:26384 pid:20377 tgid:20377 ppid:5098 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee2/0x59a0 kernel/sched/core.c:6688 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6865 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3a/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] zap_pte_range mm/memory.c:1534 [inline] zap_pmd_range mm/memory.c:1582 [inline] zap_pud_range mm/memory.c:1611 [inline] zap_p4d_range mm/memory.c:1632 [inline] unmap_page_range+0x19a6/0x2c00 mm/memory.c:1653 unmap_single_vma+0x194/0x2b0 mm/memory.c:1699 unmap_vmas+0x229/0x470 mm/memory.c:1743 exit_mmap+0x1ad/0xa60 mm/mmap.c:3308 __mmput+0x12a/0x4d0 kernel/fork.c:1349 mmput+0x62/0x70 kernel/fork.c:1371 exit_mm kernel/exit.c:567 [inline] do_exit+0x9ad/0x2ae0 kernel/exit.c:858 do_group_exit+0xd4/0x2a0 kernel/exit.c:1021 __do_sys_exit_group kernel/exit.c:1032 [inline] __se_sys_exit_group kernel/exit.c:1030 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1030 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fcc0547cae9 RSP: 002b:00007ffc1bdef0f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007fcc0547cae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 000000000000006c R09: 0000000000000000 R10: 0000001b32120000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 rcu: rcu_preempt kthread starved for 10502 jiffies! g79881 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:28672 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee2/0x59a0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe7/0x270 kernel/sched/core.c:6778 schedule_timeout+0x157/0x2c0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xb10 kernel/rcu/tree.c:1626 rcu_gp_kthread+0x249/0x380 kernel/rcu/tree.c:1825 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 59 Comm: kworker/u4:4 Not tainted 6.6.0-syzkaller-15029-gbe3ca57cfb77 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:200 Code: 26 b0 d8 02 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b be b0 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1e fa 65 48 8b 14 25 c0 bc 03 00 65 8b 05 34 20 7b 7e a9 00 RSP: 0018:ffffc900015a7918 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffff8880b9941a60 RCX: ffffffff817cd79a RDX: ffff888019281dc0 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed101732834d R13: 0000000000000001 R14: ffff8880b983d8c0 R15: ffff8880b9941a68 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe164d98000 CR3: 000000000cd77000 CR4: 0000000000350ef0 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:311 [inline] smp_call_function_many_cond+0x4d4/0x1570 kernel/smp.c:855 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2006 [inline] text_poke_bp_batch+0x2ce/0x960 arch/x86/kernel/alternative.c:2216 text_poke_flush arch/x86/kernel/alternative.c:2407 [inline] text_poke_flush arch/x86/kernel/alternative.c:2404 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2414 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32e/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:830 [inline] toggle_allocation_gate+0xf4/0x250 mm/kfence/core.c:822 process_one_work+0x884/0x15c0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242