rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=d81/1/0x4000000000000000 softirq=130248/130249 fqs=8 (detected by 0, t=10502 jiffies, g=241549, q=119) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11466 Comm: syz-executor.4 Not tainted 5.16.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:task_irq_context kernel/locking/lockdep.c:4534 [inline] RIP: 0010:__lock_acquire+0x32c/0x54a0 kernel/locking/lockdep.c:4965 Code: e1 a6 7e 85 c0 0f 95 c0 48 c1 e9 03 83 e6 07 0f b6 0c 11 48 89 f2 0f b6 c0 83 c2 03 01 c0 38 ca 7c 08 84 c9 0f 85 70 12 00 00 <41> 83 bd 44 0a 00 00 01 49 8d 7c 24 24 44 8b 8c 24 30 01 00 00 48 RSP: 0018:ffffc90000fd8b90 EFLAGS: 00000046 RAX: 0000000000000002 RBX: ffff888019c9d300 RCX: 0000000000000000 RDX: 0000000000000007 RSI: 0000000000000004 RDI: ffff88807a1f2d18 RBP: 0000000000000000 R08: 1ffff1100f43e5a0 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88807a1f2d08 R13: ffff88807a1f2280 R14: 0000000000000000 R15: 0000000000000001 FS: 00007f819cb03700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f42ba7ea718 CR3: 000000005933f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] advance_sched+0x53/0x9a0 net/sched/sch_taprio.c:714 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x609/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+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__sanitizer_cov_trace_pc+0x59/0x60 kernel/kcov.c:208 Code: 74 2b 8b 82 80 15 00 00 83 f8 02 75 20 48 8b 8a 88 15 00 00 8b 92 84 15 00 00 48 8b 01 48 83 c0 01 48 39 c2 76 07 48 89 34 c1 <48> 89 01 c3 0f 1f 00 41 55 41 54 49 89 fc 55 48 bd eb 83 b5 80 46 RSP: 0018:ffffc90004cef688 EFLAGS: 00000216 RAX: 000000000000f575 RBX: 00007f819db8dae9 RCX: ffffc9000ba29000 RDX: 0000000000040000 RSI: ffffffff810073ec RDI: 00007f819db8dae9 RBP: 00007f819db8dae9 R08: ffffffff8ea4689a R09: 0000000000000001 R10: fffff5200099deec R11: 000000000008808a R12: ffffc90004cef7c0 R13: 0000000000000000 R14: ffff88807a1f2280 R15: 0000000000000000 in_gate_area_no_mm+0xc/0x70 arch/x86/entry/vsyscall/vsyscall_64.c:345 is_kernel_text include/linux/kallsyms.h:31 [inline] core_kernel_text+0x20/0x90 kernel/extable.c:67 kernel_text_address+0xd/0x60 kernel/extable.c:98 __kernel_text_address+0x9/0x30 kernel/extable.c:78 unwind_get_return_address arch/x86/kernel/unwind_orc.c:318 [inline] unwind_get_return_address+0x51/0x90 arch/x86/kernel/unwind_orc.c:313 arch_stack_walk+0x93/0xe0 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x1e/0x50 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc mm/kasan/common.c:513 [inline] ____kasan_kmalloc mm/kasan/common.c:472 [inline] __kasan_kmalloc+0xa6/0xd0 mm/kasan/common.c:522 kasan_kmalloc include/linux/kasan.h:269 [inline] __do_kmalloc mm/slab.c:3702 [inline] __kmalloc+0x209/0x4d0 mm/slab.c:3711 kmalloc include/linux/slab.h:595 [inline] io_alloc_async_data fs/io_uring.c:3373 [inline] io_req_prep_async fs/io_uring.c:6505 [inline] io_req_prep_async+0x199/0xad0 fs/io_uring.c:6499 io_drain_req fs/io_uring.c:6550 [inline] io_queue_sqe_fallback.cold+0x21f/0x6ce fs/io_uring.c:7045 io_queue_sqe fs/io_uring.c:7062 [inline] io_submit_sqe fs/io_uring.c:7263 [inline] io_submit_sqes+0x6dfe/0x8a20 fs/io_uring.c:7369 __do_sys_io_uring_enter+0xf6e/0x1f50 fs/io_uring.c:10070 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:0x7f819db8dae9 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:00007f819cb03188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f819dca0f60 RCX: 00007f819db8dae9 RDX: 0000000000000000 RSI: 0000000000000302 RDI: 0000000000000003 RBP: 00007f819dbe7ff7 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff05061bff R14: 00007f819cb03300 R15: 0000000000022000 rcu: rcu_preempt kthread starved for 10485 jiffies! g241549 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:28720 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1955 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2128 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 11475 Comm: syz-executor.1 Not tainted 5.16.0-rc4-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_check_gp_kthread_starvation.cold+0x1fb/0x200 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:3878 [inline] rcu_sched_clock_irq+0x2125/0x2200 kernel/rcu/tree.c:2597 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+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0x452/0xc20 kernel/smp.c:969 Code: 0b 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 70 79 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 33 06 00 00 8b 43 08 31 RSP: 0018:ffffc90004f37808 EFLAGS: 00000246 RAX: 0000000000040000 RBX: ffff8880b9d3dd40 RCX: ffffc900036b1000 RDX: 0000000000040000 RSI: ffffffff816b6b00 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff816b6b26 R11: 0000000000000000 R12: ffffed10173a7ba9 R13: 0000000000000001 R14: ffff8880b9d3dd48 R15: 0000000000000001 on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] flush_tlb_kernel_range+0x80/0xb0 arch/x86/mm/tlb.c:1060 __purge_vmap_area_lazy+0x8f9/0x1c50 mm/vmalloc.c:1708 _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_prog_lock_ro include/linux/filter.h:884 [inline] bpf_prog_select_runtime+0x690/0x900 kernel/bpf/core.c:1943 bpf_migrate_filter+0x2dc/0x380 net/core/filter.c:1295 bpf_prepare_filter net/core/filter.c:1343 [inline] bpf_prog_create_from_user+0x51b/0x660 net/core/filter.c:1437 seccomp_prepare_filter kernel/seccomp.c:666 [inline] seccomp_prepare_user_filter kernel/seccomp.c:703 [inline] seccomp_set_mode_filter kernel/seccomp.c:1824 [inline] do_seccomp+0x388/0x2890 kernel/seccomp.c:1944 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:0x7f42bb895ae9 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:00007f42ba80b188 EFLAGS: 00000246 ORIG_RAX: 000000000000013d RAX: ffffffffffffffda RBX: 00007f42bb9a8f60 RCX: 00007f42bb895ae9 RDX: 0000000020000040 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 00007f42bb8efff7 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe8f66ec9f R14: 00007f42ba80b300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: e1 a6 loope 0xffffffa8 2: 7e 85 jle 0xffffff89 4: c0 0f 95 rorb $0x95,(%rdi) 7: c0 48 c1 e9 rorb $0xe9,-0x3f(%rax) b: 03 83 e6 07 0f b6 add -0x49f0f81a(%rbx),%eax 11: 0c 11 or $0x11,%al 13: 48 89 f2 mov %rsi,%rdx 16: 0f b6 c0 movzbl %al,%eax 19: 83 c2 03 add $0x3,%edx 1c: 01 c0 add %eax,%eax 1e: 38 ca cmp %cl,%dl 20: 7c 08 jl 0x2a 22: 84 c9 test %cl,%cl 24: 0f 85 70 12 00 00 jne 0x129a * 2a: 41 83 bd 44 0a 00 00 cmpl $0x1,0xa44(%r13) <-- trapping instruction 31: 01 32: 49 8d 7c 24 24 lea 0x24(%r12),%rdi 37: 44 8b 8c 24 30 01 00 mov 0x130(%rsp),%r9d 3e: 00 3f: 48 rex.W