rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=ca7/1/0x4000000000000000 softirq=112138/112139 fqs=176 (detected by 1, t=10502 jiffies, g=185817, q=347) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6548 Comm: syz-executor.0 Not tainted 5.15.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3682 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3702 [inline] RIP: 0010:validate_chain+0x177/0x8240 kernel/locking/lockdep.c:3757 Code: 2e 0f 00 0f 84 5f 01 00 00 48 b8 eb 83 b5 80 46 86 c8 61 49 0f af c6 48 c1 e8 30 48 8d 1c c5 00 5b 82 8f 48 89 d8 48 c1 e8 03 <48> 89 44 24 40 42 80 3c 20 00 74 08 48 89 df e8 a5 f0 68 00 48 89 RSP: 0018:ffffc90000007620 EFLAGS: 00000802 RAX: 1ffffffff1f0e2a8 RBX: ffffffff8f871540 RCX: ffffffff8164deb8 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fd19e00 RBP: ffffc90000007930 R08: dffffc0000000000 R09: fffffbfff1fa33c1 R10: fffffbfff1fa33c1 R11: 0000000000000000 R12: dffffc0000000000 R13: 1ffff92000000ee4 R14: 66be3427081b2437 R15: 66be3427081b2437 FS: 0000555555571400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7fd8f743a4 CR3: 000000002c4e7000 CR4: 00000000003526f0 DR0: 0000800000000002 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1382/0x2b00 kernel/locking/lockdep.c:5015 lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 debug_object_deactivate+0x61/0x400 lib/debugobjects.c:735 debug_hrtimer_deactivate kernel/time/hrtimer.c:425 [inline] debug_deactivate kernel/time/hrtimer.c:481 [inline] __run_hrtimer kernel/time/hrtimer.c:1653 [inline] __hrtimer_run_queues+0x2f9/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 62 d4 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:ffffc900022bf2e0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000457e6c RCX: ffff88802397a670 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900022bf438 R08: dffffc0000000000 R09: fffffbfff1fa33c1 R10: fffffbfff1fa33c1 R11: 0000000000000000 R12: 0000000000000246 R13: 1ffff92000457e64 R14: ffffc900022bf360 R15: dffffc0000000000 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:267 rcu_read_lock include/linux/rcupdate.h:687 [inline] is_bpf_text_address+0x27/0x270 kernel/bpf/core.c:706 kernel_text_address kernel/extable.c:151 [inline] __kernel_text_address+0x93/0x100 kernel/extable.c:105 unwind_get_return_address+0x48/0x80 arch/x86/kernel/unwind_orc.c:318 arch_stack_walk+0xf8/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x11b/0x1e0 kernel/stacktrace.c:121 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0xb2/0xe0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook mm/slab.h:519 [inline] slab_alloc_node mm/slub.c:3206 [inline] slab_alloc mm/slub.c:3214 [inline] kmem_cache_alloc+0x1c3/0x300 mm/slub.c:3219 vm_area_dup kernel/fork.c:357 [inline] dup_mmap+0x6b2/0xfd0 kernel/fork.c:552 dup_mm+0x8c/0x310 kernel/fork.c:1453 copy_mm kernel/fork.c:1505 [inline] copy_process+0x28d7/0x5c80 kernel/fork.c:2194 kernel_clone+0x230/0x7d0 kernel/fork.c:2584 __do_sys_clone kernel/fork.c:2701 [inline] __se_sys_clone kernel/fork.c:2685 [inline] __x64_sys_clone+0x245/0x2b0 kernel/fork.c:2685 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:0x7f7fd7f34ecb Code: ed 0f 85 60 01 00 00 64 4c 8b 0c 25 10 00 00 00 45 31 c0 4d 8d 91 d0 02 00 00 31 d2 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 89 00 00 00 41 89 c5 85 c0 0f 85 90 00 00 RSP: 002b:00007ffd45295d20 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7fd7f34ecb RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555555571400 R10: 00005555555716d0 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffd45295e00 rcu: rcu_preempt kthread starved for 10148 jiffies! g185817 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 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 1 CPU: 1 PID: 23353 Comm: syz-executor.4 Not tainted 5.15.0-rc3-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+0xbb7/0xda0 kernel/smp.c:969 Code: e8 ae 9f 0b 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 0e e8 89 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 66 9b 0b 00 eb e4 44 RSP: 0018:ffffc9000b53e9a0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff11017387305 RCX: 0000000000040000 RDX: ffffc90012724000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000b53eae0 R08: ffffffff8176d762 R09: ffffffff84353480 R10: 0000000000000009 R11: ffff888085aa3900 R12: 0000000000000000 R13: ffff8880b9c39828 R14: ffff8880b9d325c0 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+0xad91/0xb2d0 arch/x86/net/bpf_jit_comp.c:2368 jit_subprogs kernel/bpf/verifier.c:12492 [inline] fixup_call_args kernel/bpf/verifier.c:12577 [inline] bpf_check+0x13874/0x15810 kernel/bpf/verifier.c:13825 bpf_prog_load kernel/bpf/syscall.c:2301 [inline] __sys_bpf+0x116fe/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:0x7fca828608d9 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:00007fca7fdd7188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fca82964f60 RCX: 00007fca828608d9 RDX: 0000000000000070 RSI: 0000000020000440 RDI: 0000000000000005 RBP: 00007fca828bacb4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffba09bbbf R14: 00007fca7fdd7300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 2e 0f 00 0f str %cs:(%rdi) 4: 84 5f 01 test %bl,0x1(%rdi) 7: 00 00 add %al,(%rax) 9: 48 b8 eb 83 b5 80 46 movabs $0x61c8864680b583eb,%rax 10: 86 c8 61 13: 49 0f af c6 imul %r14,%rax 17: 48 c1 e8 30 shr $0x30,%rax 1b: 48 8d 1c c5 00 5b 82 lea -0x707da500(,%rax,8),%rbx 22: 8f 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 48 89 44 24 40 mov %rax,0x40(%rsp) <-- trapping instruction 2f: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 34: 74 08 je 0x3e 36: 48 89 df mov %rbx,%rdi 39: e8 a5 f0 68 00 callq 0x68f0e3 3e: 48 rex.W 3f: 89 .byte 0x89