rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6285/1:b..l (detected by 1, t=10502 jiffies, g=25685, q=487 ncpus=2) task:sed state:R running task stack:23880 pid:6285 ppid:6278 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666 Code: 2b 00 74 08 4c 89 f7 e8 0f a7 77 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc900045af220 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920008b5e50 RCX: 1ffff920008b5df0 RDX: dffffc0000000000 RSI: ffffffff8b0c13e0 RDI: ffffffff8b5d5e20 RBP: ffffc900045af370 R08: dffffc0000000000 R09: fffffbfff20e7445 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920008b5e4c R13: dffffc0000000000 R14: ffffc900045af280 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:350 [inline] rcu_read_lock include/linux/rcupdate.h:791 [inline] is_bpf_text_address+0x3e/0x2a0 kernel/bpf/core.c:731 kernel_text_address+0x9f/0xd0 kernel/extable.c:125 __kernel_text_address+0x9/0x40 kernel/extable.c:79 unwind_get_return_address+0x49/0x80 arch/x86/kernel/unwind_orc.c:323 arch_stack_walk+0xf3/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack+0x3b/0x60 mm/kasan/common.c:45 __kasan_record_aux_stack+0xb0/0xc0 mm/kasan/generic.c:486 task_work_add+0x87/0x3a0 kernel/task_work.c:48 fput+0xe2/0x1b0 fs/file_table.c:376 path_openat+0x28a1/0x2e60 fs/namei.c:3794 do_filp_open+0x230/0x480 fs/namei.c:3812 do_sys_openat2+0x13b/0x4f0 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1345 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f3d142cba46 RSP: 002b:00007ffcab5368a8 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ffcab536b08 RCX: 00007f3d142cba46 RDX: 0000000000080000 RSI: 00007ffcab536920 RDI: 00000000ffffff9c RBP: 00007ffcab536910 R08: 0000000000080000 R09: 00007ffcab536920 R10: 0000000000000000 R11: 0000000000000287 R12: 00007ffcab536920 R13: 0000000000000000 R14: 00007ffcab536aef R15: 00000000ffffffff rcu: rcu_preempt kthread starved for 9981 jiffies! g25685 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:26752 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 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 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_safe_halt drivers/acpi/processor_idle.c:111 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:567