rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=2e0c/1/0x4000000000000000 softirq=57436/57436 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P4423/1:b..l P18647/1:b..l (detected by 0, t=10502 jiffies, g=88761, q=24 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 18645 Comm: syz-executor.5 Not tainted 6.2.0-rc7-syzkaller-00018-g0983f6bf2bfc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:check_preemption_disabled+0x3f/0x170 lib/smp_processor_id.c:56 Code: 8b 25 31 bd fb 75 65 8b 1d 26 bd fb 75 81 e3 ff ff ff 7f 31 ff 89 de 0f 1f 44 00 00 85 db 74 11 0f 1f 44 00 00 44 89 e0 5b 5d <41> 5c 41 5d 41 5e c3 0f 1f 44 00 00 9c 5b 81 e3 00 02 00 00 31 ff RSP: 0018:ffffc900003e8ca0 EFLAGS: 00000006 RAX: 0000000000000001 RBX: 1ffff9200007d19b RCX: 58cce5e7c8d5ebdc RDX: 1ffff1100ec8214e RSI: 0000000000010000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff91339ac7 R10: fffffbfff2267358 R11: 0000000000000000 R12: 0000000000000001 R13: ffffffff8a4c3e00 R14: ffffffff8c78d340 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002057f000 CR3: 000000002a7d8000 CR4: 00000000003506e0 DR0: 00000000ffff070c DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:466 [inline] lock_acquire kernel/locking/lockdep.c:5670 [inline] lock_acquire+0x1f3/0x630 kernel/locking/lockdep.c:5633 rcu_lock_acquire include/linux/rcupdate.h:325 [inline] rcu_read_lock include/linux/rcupdate.h:764 [inline] advance_sched+0x4a9/0x9b0 net/sched/sch_taprio.c:753 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x690/0xfb0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x180/0x640 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200 Code: d6 70 8a 02 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b be a8 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 8b 05 dd 92 83 7e 89 c1 48 8b 34 24 81 e1 00 01 00 RSP: 0018:ffffc9000369fd90 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000200 RCX: 0000000000000000 RDX: ffff888076410040 RSI: ffffffff8148ef8f RDI: 0000000000000007 RBP: 0000000000000006 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000200 R11: 0000000000000000 R12: 0000000000000000 R13: 00000000fffffffc R14: ffff88802d7b1c00 R15: dffffc0000000000 account_kernel_stack.isra.0+0x95/0x150 kernel/fork.c:494 exit_task_stack_account+0x49/0x110 kernel/fork.c:508 do_exit+0x1754/0x2950 kernel/exit.c:909 do_group_exit+0xd4/0x2a0 kernel/exit.c:1012 __do_sys_exit_group kernel/exit.c:1023 [inline] __se_sys_exit_group kernel/exit.c:1021 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1021 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:0x7fbad508c0f9 Code: Unable to access opcode bytes at 0x7fbad508c0cf. RSP: 002b:00007fff08e4fb48 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007fbad508c0f9 RDX: 00007fbad503dfab RSI: ffffffffffffffb8 RDI: 0000000000000000 RBP: 0000000000000000 R08: 00007fbad4c00000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007fff08e4fc30 task:syz-executor.1 state:R running task stack:27664 pid:18647 ppid:13191 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6606 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6775 preempt_schedule_thunk+0x1a/0x20 arch/x86/entry/thunk_64.S:34 __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:390 [inline] filemap_map_pages+0x1274/0x1a80 mm/filemap.c:3425 do_fault_around mm/memory.c:4483 [inline] do_read_fault mm/memory.c:4509 [inline] do_fault mm/memory.c:4643 [inline] handle_pte_fault mm/memory.c:4931 [inline] __handle_mm_fault+0x22d0/0x3c90 mm/memory.c:5073 handle_mm_fault+0x1b6/0x850 mm/memory.c:5219 do_user_addr_fault+0x475/0x1210 arch/x86/mm/fault.c:1428 handle_page_fault arch/x86/mm/fault.c:1519 [inline] exc_page_fault+0x98/0x170 arch/x86/mm/fault.c:1575 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7f19b9c91520 RSP: 002b:00007fff9876cef8 EFLAGS: 00010246 RAX: 00007f19ba8da7e8 RBX: 0000000000021000 RCX: 00007f19b9c8c207 RDX: 0000000000000003 RSI: 0000000000020000 RDI: 00007f19ba90d700 RBP: 00007fff9876cfd0 R08: 00000000ffffffff R09: 00007f19ba90d700 R10: 0000000000020022 R11: 0000000000000206 R12: 00007fff9876d0f0 R13: 00007f19ba90d700 R14: 0000000000000000 R15: 0000000000022000 task:udevd state:R running task stack:25672 pid:4423 ppid:1 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6606 preempt_schedule_irq+0x52/0xa0 kernel/sched/core.c:6918 irqentry_exit+0x35/0x80 kernel/entry/common.c:432 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:654 RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x8/0x20 kernel/kcov.c:310 Code: 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 00 00 f3 0f 1e fa 48 8b 0c 24 <48> 89 f2 48 89 fe bf 07 00 00 00 e9 78 fe ff ff 0f 1f 84 00 00 00 RSP: 0018:ffffc9000346f910 EFLAGS: 00000246 RAX: 0000000000ffffff RBX: ffff888027d29e38 RCX: ffffffff81e2fdcb RDX: ffff88807b9c8080 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000007 R10: 0000000000000003 R11: 0000000000094001 R12: 0000000000000000 R13: 697665642f737973 R14: dffffc0000000000 R15: ffff888027d29e68 __d_lookup_rcu+0x34b/0x4c0 fs/dcache.c:2404 lookup_fast+0x91/0x520 fs/namei.c:1620 walk_component+0x5e/0x5a0 fs/namei.c:1989 link_path_walk.part.0+0x730/0xdf0 fs/namei.c:2320 link_path_walk fs/namei.c:2245 [inline] path_openat+0x25c/0x2a50 fs/namei.c:3710 do_filp_open+0x1ba/0x410 fs/namei.c:3741 do_sys_openat2+0x16d/0x4c0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1337 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:0x7fb5e07915a4 RSP: 002b:00007fffefbec238 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055c6bceb44a0 RCX: 00007fb5e07915a4 RDX: 0000000000090800 RSI: 000055c6bce98c00 RDI: 00000000ffffff9c RBP: 000055c6bce8b310 R08: 0000000000090800 R09: 000055c6bce98c00 R10: 0000000000000000 R11: 0000000000000287 R12: 000055c6bce98c00 R13: 0000000000000100 R14: 0000000000000000 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10502 jiffies! g88761 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:28432 pid:15 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6606 schedule+0xde/0x1b0 kernel/sched/core.c:6682 schedule_timeout+0x14e/0x2a0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1656 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1855 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 12336 Comm: kworker/u4:2 Not tainted 6.2.0-rc7-syzkaller-00018-g0983f6bf2bfc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x444/0x10a0 kernel/smp.c:987 Code: 00 45 85 e4 74 48 48 8b 04 24 49 89 c5 83 e0 07 49 c1 ed 03 49 89 c4 4d 01 fd 41 83 c4 03 e8 e3 03 0b 00 f3 90 41 0f b6 45 00 <41> 38 c4 7c 08 84 c0 0f 85 4e 0a 00 00 8b 43 08 31 ff 83 e0 01 41 RSP: 0018:ffffc90004697978 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b993f5a0 RCX: 0000000000000000 RDX: ffff88807b2cc1c0 RSI: ffffffff8175157d RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000003 R13: ffffed1017327eb5 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f42b21a4e14 CR3: 000000000c48e000 CR4: 00000000003506f0 DR0: 00000000ffff070c DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x5a/0xa0 kernel/smp.c:1155 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1772 [inline] text_poke_bp_batch+0x3f1/0x6b0 arch/x86/kernel/alternative.c:2016 text_poke_flush arch/x86/kernel/alternative.c:2131 [inline] text_poke_flush arch/x86/kernel/alternative.c:2128 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2138 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:799 [inline] toggle_allocation_gate+0xf8/0x230 mm/kfence/core.c:791 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 vkms_vblank_simulate: vblank timer overrun