rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-....: (1 GPs behind) idle=fad/1/0x4000000000000000 softirq=89071/89073 fqs=5073 (t=10502 jiffies g=127297 q=1417) NMI backtrace for cpu 0 CPU: 0 PID: 18948 Comm: syz-executor.0 Not tainted 5.16.0-rc5-next-20211215-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+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_dump_cpu_stacks+0x262/0x3f0 kernel/rcu/tree_stall.h:343 print_cpu_stall kernel/rcu/tree_stall.h:604 [inline] check_cpu_stall kernel/rcu/tree_stall.h:688 [inline] rcu_pending kernel/rcu/tree.c:3927 [inline] rcu_sched_clock_irq.cold+0x9d/0x746 kernel/rcu/tree.c:2625 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+0x40/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 9a 8a 05 f8 48 89 ef e8 e2 00 06 f8 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 43 b8 f8 f7 65 8b 05 7c 15 ab 76 85 c0 74 0a 5b 5d c3 e8 e0 ed RSP: 0018:ffffc90000007c08 EFLAGS: 00000206 RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff1fff79e RDX: 0000000000000000 RSI: 0000000000000103 RDI: 0000000000000001 RBP: ffff8880b9c28480 R08: 0000000000000001 R09: ffffffff8ffa4a27 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000100010cb8 R13: ffff8880b9c28480 R14: 0000000000000000 R15: 00000000ffffffff __mod_timer+0x837/0xe30 kernel/time/timer.c:1065 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x675/0xa20 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:unwind_next_frame+0xce1/0x1ce0 arch/x86/kernel/unwind_orc.c:534 Code: ff ff 48 8b 44 24 60 4c 89 e2 4c 89 f7 48 89 4c 24 30 4c 89 44 24 28 48 8d 70 f8 48 89 44 24 20 e8 d4 f1 ff ff 4c 8b 44 24 28 <84> c0 48 8b 4c 24 30 0f 84 21 07 00 00 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffffc90015f970a8 EFLAGS: 00000292 RAX: 0000000000000001 RBX: 1ffff92002bf2e1d RCX: 1ffff92002bf2e39 RDX: dffffc0000000000 RSI: ffffc90015f97f10 RDI: ffffc90015f97f10 RBP: 0000000000000001 R08: ffffffff8e159e26 R09: 0000000000000001 R10: fffff52002bf2e3b R11: 0000000000088077 R12: ffffc90015f971c8 R13: ffffc90015f971b5 R14: ffffc90015f97180 R15: ffffffff8e159e2a arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38 kasan_set_track+0x21/0x30 mm/kasan/common.c:45 kasan_set_free_info+0x20/0x30 mm/kasan/generic.c:370 ____kasan_slab_free mm/kasan/common.c:366 [inline] ____kasan_slab_free+0x166/0x1a0 mm/kasan/common.c:328 kasan_slab_free include/linux/kasan.h:236 [inline] slab_free_hook mm/slub.c:1728 [inline] slab_free_freelist_hook+0x8b/0x1c0 mm/slub.c:1754 slab_free mm/slub.c:3510 [inline] kmem_cache_free+0xdd/0x580 mm/slub.c:3527 merge_or_add_vmap_area mm/vmalloc.c:1111 [inline] merge_or_add_vmap_area_augment mm/vmalloc.c:1161 [inline] __purge_vmap_area_lazy+0xaa7/0x1c50 mm/vmalloc.c:1701 _vm_unmap_aliases.part.0+0x3f0/0x500 mm/vmalloc.c:2111 _vm_unmap_aliases mm/vmalloc.c:2085 [inline] vm_unmap_aliases+0x45/0x50 mm/vmalloc.c:2134 change_page_attr_set_clr+0x241/0x500 arch/x86/mm/pat/set_memory.c:1743 change_page_attr_clear arch/x86/mm/pat/set_memory.c:1800 [inline] set_memory_ro+0x78/0xa0 arch/x86/mm/pat/set_memory.c:1946 bpf_jit_binary_lock_ro include/linux/filter.h:889 [inline] bpf_int_jit_compile+0xe92/0x1240 arch/x86/net/bpf_jit_comp.c:2347 bpf_prog_select_runtime+0x46b/0x780 kernel/bpf/core.c:1931 bpf_prog_load+0xf83/0x21e0 kernel/bpf/syscall.c:2347 __sys_bpf+0x68a/0x5970 kernel/bpf/syscall.c:4633 __do_sys_bpf kernel/bpf/syscall.c:4737 [inline] __se_sys_bpf kernel/bpf/syscall.c:4735 [inline] __x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:4735 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:0x7f18b6434e99 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:00007f18b4daa168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f18b6547f60 RCX: 00007f18b6434e99 RDX: 0000000000000041 RSI: 0000000020000080 RDI: 0000000000000005 RBP: 00007f18b648eff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff09bc31ff R14: 00007f18b4daa300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 24 10 and $0x10,%al 2: e8 9a 8a 05 f8 callq 0xf8058aa1 7: 48 89 ef mov %rbp,%rdi a: e8 e2 00 06 f8 callq 0xf80600f1 f: 81 e3 00 02 00 00 and $0x200,%ebx 15: 75 25 jne 0x3c 17: 9c pushfq 18: 58 pop %rax 19: f6 c4 02 test $0x2,%ah 1c: 75 2d jne 0x4b 1e: 48 85 db test %rbx,%rbx 21: 74 01 je 0x24 23: fb sti 24: bf 01 00 00 00 mov $0x1,%edi * 29: e8 43 b8 f8 f7 callq 0xf7f8b871 <-- trapping instruction 2e: 65 8b 05 7c 15 ab 76 mov %gs:0x76ab157c(%rip),%eax # 0x76ab15b1 35: 85 c0 test %eax,%eax 37: 74 0a je 0x43 39: 5b pop %rbx 3a: 5d pop %rbp 3b: c3 retq 3c: e8 .byte 0xe8 3d: e0 ed loopne 0x2c