rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=69b/1/0x4000000000000000 softirq=138318/138322 fqs=5 (detected by 0, t=10502 jiffies, g=232609, q=115) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1 Comm: systemd Not tainted 5.15.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:330 [inline] RIP: 0010:rcu_is_watching+0x23/0xb0 kernel/rcu/tree.c:1121 Code: 1f 84 00 00 00 00 00 41 57 41 56 53 65 83 05 ab fb 94 7e 01 e8 0e c5 8b 08 89 c3 83 f8 08 73 7e 49 bf 00 00 00 00 00 fc ff df <4c> 8d 34 dd d0 97 38 8c 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 RSP: 0018:ffffc90000dc0c40 EFLAGS: 00000097 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffff888012358000 RDX: ffff888012358000 RSI: 0000000000010003 RDI: 0000000000000000 RBP: ffffc90000dc0ce8 R08: ffffffff8171c6f9 R09: fffffbfff1bb7dd6 R10: fffffbfff1bb7dd6 R11: 0000000000000000 R12: ffff8880b9d22240 R13: dffffc0000000000 R14: dffffc0000000000 R15: dffffc0000000000 FS: 00007f36f5e99500(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a55aed31c0 CR3: 00000000267b3000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000003000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock_held_common kernel/rcu/update.c:108 [inline] rcu_read_lock_sched_held+0x6b/0x130 kernel/rcu/update.c:123 trace_hrtimer_start+0xaf/0x270 include/trace/events/timer.h:195 debug_activate kernel/time/hrtimer.c:476 [inline] enqueue_hrtimer kernel/time/hrtimer.c:1084 [inline] __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0x59e/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:lock_acquire+0x21f/0x4d0 kernel/locking/lockdep.c:5629 Code: 08 4c 89 f7 e8 a2 d0 69 00 f6 84 24 81 00 00 00 02 0f 85 13 02 00 00 41 f7 c4 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 04 2f 00 00 00 00 43 c7 44 2f 09 00 00 00 00 43 c7 44 2f 11 RSP: 0018:ffffc90000c67500 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200018ceb0 RCX: ffff8880123589f0 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000c67648 R08: dffffc0000000000 R09: fffffbfff1fa31d4 R10: fffffbfff1fa31d4 R11: 0000000000000000 R12: 0000000000000246 R13: 1ffff9200018cea8 R14: ffffc90000c67580 R15: dffffc0000000000 percpu_down_read_trylock include/linux/percpu-rwsem.h:92 [inline] __sb_start_write_trylock include/linux/fs.h:1817 [inline] sb_start_write_trylock include/linux/fs.h:1887 [inline] touch_atime+0x201/0x650 fs/inode.c:1845 pick_link fs/namei.c:1746 [inline] step_into+0xf68/0x1f90 fs/namei.c:1826 walk_component+0x33a/0x790 fs/namei.c:1976 lookup_last fs/namei.c:2425 [inline] path_lookupat+0x19d/0x6c0 fs/namei.c:2449 filename_lookup+0x270/0x640 fs/namei.c:2478 user_path_at_empty+0x40/0x1a0 fs/namei.c:2801 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x10a/0x3f0 fs/stat.c:221 vfs_fstatat fs/stat.c:243 [inline] vfs_stat include/linux/fs.h:3352 [inline] __do_sys_newstat fs/stat.c:385 [inline] __se_sys_newstat+0xba/0x750 fs/stat.c:381 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f36f4462295 Code: 00 00 00 e8 5d 01 00 00 48 83 c4 18 c3 0f 1f 84 00 00 00 00 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 04 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 d1 db 2b 00 f7 d8 64 89 RSP: 002b:00007fffbe335b68 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 00007f36f44ea011 RCX: 00007f36f4462295 RDX: 00007fffbe335bf0 RSI: 00007fffbe335bf0 RDI: 00007f36f44ea011 RBP: 0000000000000001 R08: 000056200f697250 R09: 0000000000000020 R10: 00000000be335c00 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fffbe335dd0 R15: 000056200f69ab38 rcu: rcu_preempt kthread starved for 10491 jiffies! g232609 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:26768 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xc8d/0x1270 kernel/sched/core.c:6287 schedule+0x14b/0x210 kernel/sched/core.c:6366 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x1fd/0x770 kernel/rcu/tree.c:1957 rcu_gp_kthread+0xa5/0x350 kernel/rcu/tree.c:2130 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 21993 Comm: syz-executor.1 Not tainted 5.15.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_check_gp_kthread_starvation+0x1ff/0x270 kernel/rcu/tree_stall.h:481 print_other_cpu_stall kernel/rcu/tree_stall.h:586 [inline] check_cpu_stall kernel/rcu/tree_stall.h:729 [inline] rcu_pending kernel/rcu/tree.c:3880 [inline] rcu_sched_clock_irq+0x23d5/0x2bc0 kernel/rcu/tree.c:2599 update_process_times+0x197/0x200 kernel/time/timer.c:1785 tick_sched_handle kernel/time/tick-sched.c:226 [inline] tick_sched_timer+0x27d/0x420 kernel/time/tick-sched.c:1421 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x4cb/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0xbb2/0xda0 kernel/smp.c:969 Code: 83 e6 01 31 ff e8 8e 9f 0b 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 0e e8 69 9b 0b 00 eb 4c 0f 1f 80 00 00 00 00 f3 90 <42> 0f b6 04 3b 84 c0 75 11 41 f7 45 00 01 00 00 00 74 2b e8 46 9b RSP: 0018:ffffc9000395ef80 EFLAGS: 00000246 RAX: ffffffff8176da3a RBX: 1ffff110173a6e4d RCX: 0000000000040000 RDX: ffffc9000b744000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000395f0c0 R08: ffffffff8176da02 R09: ffffffff84352390 R10: 0000000000000009 R11: ffff88808ca01c80 R12: 0000000000000001 R13: ffff8880b9d37268 R14: ffff8880b9c325c0 R15: dffffc0000000000 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1135 __purge_vmap_area_lazy+0x2bf/0x18e0 mm/vmalloc.c:1683 _vm_unmap_aliases+0x474/0x500 mm/vmalloc.c:2107 change_page_attr_set_clr+0x2ae/0x6a0 arch/x86/mm/pat/set_memory.c:1740 change_page_attr_clear arch/x86/mm/pat/set_memory.c:1797 [inline] set_memory_ro+0xa4/0xe0 arch/x86/mm/pat/set_memory.c:1943 bpf_jit_binary_lock_ro include/linux/filter.h:890 [inline] bpf_int_jit_compile+0xad6e/0xb2b0 arch/x86/net/bpf_jit_comp.c:2338 bpf_prog_select_runtime+0x65d/0x970 kernel/bpf/core.c:1914 bpf_prog_load kernel/bpf/syscall.c:2305 [inline] __sys_bpf+0x11769/0x12c70 kernel/bpf/syscall.c:4587 __do_sys_bpf kernel/bpf/syscall.c:4691 [inline] __se_sys_bpf kernel/bpf/syscall.c:4689 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4689 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fe7fcc6a709 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe7fa1c0188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fe7fcd6f020 RCX: 00007fe7fcc6a709 RDX: 0000000000000078 RSI: 0000000020000280 RDI: 0000000000000005 RBP: 00007fe7fccc4cb4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcf1015a0f R14: 00007fe7fa1c0300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 84 00 test %al,(%rax) 2: 00 00 add %al,(%rax) 4: 00 00 add %al,(%rax) 6: 41 57 push %r15 8: 41 56 push %r14 a: 53 push %rbx b: 65 83 05 ab fb 94 7e addl $0x1,%gs:0x7e94fbab(%rip) # 0x7e94fbbe 12: 01 13: e8 0e c5 8b 08 callq 0x88bc526 18: 89 c3 mov %eax,%ebx 1a: 83 f8 08 cmp $0x8,%eax 1d: 73 7e jae 0x9d 1f: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 26: fc ff df * 29: 4c 8d 34 dd d0 97 38 lea -0x73c76830(,%rbx,8),%r14 <-- trapping instruction 30: 8c 31: 4c 89 f0 mov %r14,%rax 34: 48 c1 e8 03 shr $0x3,%rax 38: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) 3d: 74 08 je 0x47