rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (1 GPs behind) idle=df9/1/0x4000000000000000 softirq=49745/49746 fqs=33 (t=10501 jiffies g=88081 q=144) rcu: rcu_preempt kthread timer wakeup didn't happen for 10426 jiffies! g88081 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=33708 rcu: rcu_preempt kthread starved for 10429 jiffies! g88081 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:28944 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 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: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 22906 Comm: syz-executor.4 Not tainted 5.15.0-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:3694 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3714 [inline] RIP: 0010:validate_chain kernel/locking/lockdep.c:3769 [inline] RIP: 0010:__lock_acquire+0x16be/0x54a0 kernel/locking/lockdep.c:5027 Code: eb 06 48 83 eb 08 74 40 48 8d 7b 18 48 89 f8 48 c1 e8 03 80 3c 10 00 0f 85 31 2a 00 00 48 8b 43 18 49 39 c7 0f 84 ec f5 ff ff <48> 8d 7b 08 48 89 f8 48 c1 e8 03 80 3c 10 00 0f 85 fc 29 00 00 48 RSP: 0018:ffffc90012cef730 EFLAGS: 00000017 RAX: e8c5bc5f8a3f7979 RBX: ffffffff8f1ec7a0 RCX: ffffffff815be57f RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff8f1ec7b8 RBP: 000000000000980d R08: 0000000000000000 R09: ffffffff8fd60a17 R10: fffffbfff1fac142 R11: 0000000000000000 R12: ffff888088492b30 R13: ffff888088492080 R14: 0000000000000000 R15: 430a834559a6d7b3 FS: 00007fccf4b77700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f005bc0e718 CR3: 000000002244d000 CR4: 00000000003506f0 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 fs_reclaim_acquire mm/page_alloc.c:4552 [inline] fs_reclaim_acquire+0xd2/0x160 mm/page_alloc.c:4543 might_alloc include/linux/sched/mm.h:227 [inline] slab_pre_alloc_hook mm/slab.h:492 [inline] slab_alloc mm/slab.c:3306 [inline] kmem_cache_alloc_trace+0x3c/0x4a0 mm/slab.c:3573 kmalloc include/linux/slab.h:590 [inline] io_add_buffers fs/io_uring.c:4405 [inline] io_provide_buffers fs/io_uring.c:4439 [inline] io_issue_sqe+0x2887/0x7010 fs/io_uring.c:6705 __io_queue_sqe fs/io_uring.c:6974 [inline] io_queue_sqe fs/io_uring.c:7016 [inline] io_submit_sqe fs/io_uring.c:7219 [inline] io_submit_sqes+0x1bca/0x8a20 fs/io_uring.c:7325 __do_sys_io_uring_enter+0xf6e/0x1f50 fs/io_uring.c:10039 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:0x7fccf7664ae9 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:00007fccf4b77188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007fccf77781a0 RCX: 00007fccf7664ae9 RDX: 0000000000000000 RSI: 00000000000045f5 RDI: 0000000000000004 RBP: 00007fccf76bef6d R08: 0000000000000000 R09: 0000000000001800 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcf8e612df R14: 00007fccf4b77300 R15: 0000000000022000 NMI backtrace for cpu 1 CPU: 1 PID: 22900 Comm: syz-executor.4 Not tainted 5.15.0-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:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x25e/0x3f0 kernel/rcu/tree_stall.h:343 print_cpu_stall kernel/rcu/tree_stall.h:627 [inline] check_cpu_stall kernel/rcu/tree_stall.h:711 [inline] rcu_pending kernel/rcu/tree.c:3878 [inline] rcu_sched_clock_irq.cold+0x9d/0x746 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:1421 __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:kasan_set_track mm/kasan/common.c:46 [inline] RIP: 0010:set_alloc_info mm/kasan/common.c:434 [inline] RIP: 0010:____kasan_kmalloc mm/kasan/common.c:513 [inline] RIP: 0010:____kasan_kmalloc mm/kasan/common.c:472 [inline] RIP: 0010:__kasan_kmalloc+0x96/0xd0 mm/kasan/common.c:522 Code: fe 48 83 c7 01 e8 aa 22 00 00 49 63 44 24 7c 85 c0 74 2c 48 01 d8 49 89 c4 74 24 65 48 8b 04 25 40 70 02 00 8b 80 c8 05 00 00 01 00 00 00 89 ef 41 89 04 24 e8 0a ff ff ff 41 89 44 24 04 48 RSP: 0018:ffffc90012ca7958 EFLAGS: 00000286 RAX: 0000000000005974 RBX: ffff88818304e580 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 00000000000000fc RDI: ffffed1030609cb4 RBP: 0000000000400cc0 R08: ffffc90012ca7990 R09: ffffed1030609cb4 R10: 0000000000000001 R11: dffffc0000000000 R12: ffff88818304e5a0 R13: 0000000000000020 R14: 0000000000000020 R15: 0000000000000001 kasan_kmalloc include/linux/kasan.h:269 [inline] kmem_cache_alloc_trace+0x1ea/0x4a0 mm/slab.c:3575 kmalloc include/linux/slab.h:590 [inline] io_add_buffers fs/io_uring.c:4405 [inline] io_provide_buffers fs/io_uring.c:4439 [inline] io_issue_sqe+0x2887/0x7010 fs/io_uring.c:6705 __io_queue_sqe fs/io_uring.c:6974 [inline] io_queue_sqe fs/io_uring.c:7016 [inline] io_submit_sqe fs/io_uring.c:7219 [inline] io_submit_sqes+0x1bca/0x8a20 fs/io_uring.c:7325 __do_sys_io_uring_enter+0xf6e/0x1f50 fs/io_uring.c:10039 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:0x7fccf7664ae9 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:00007fccf4bda188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007fccf7777f60 RCX: 00007fccf7664ae9 RDX: 0000000000000000 RSI: 00000000000045f5 RDI: 0000000000000004 RBP: 00007fccf76bef6d R08: 0000000000000000 R09: 0000000000001800 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcf8e612df R14: 00007fccf4bda300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: eb 06 jmp 0x8 2: 48 83 eb 08 sub $0x8,%rbx 6: 74 40 je 0x48 8: 48 8d 7b 18 lea 0x18(%rbx),%rdi c: 48 89 f8 mov %rdi,%rax f: 48 c1 e8 03 shr $0x3,%rax 13: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) 17: 0f 85 31 2a 00 00 jne 0x2a4e 1d: 48 8b 43 18 mov 0x18(%rbx),%rax 21: 49 39 c7 cmp %rax,%r15 24: 0f 84 ec f5 ff ff je 0xfffff616 * 2a: 48 8d 7b 08 lea 0x8(%rbx),%rdi <-- trapping instruction 2e: 48 89 f8 mov %rdi,%rax 31: 48 c1 e8 03 shr $0x3,%rax 35: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) 39: 0f 85 fc 29 00 00 jne 0x2a3b 3f: 48 rex.W