rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P7027/2:b..l rcu: (detected by 1, t=10502 jiffies, g=22981, q=356 ncpus=2) task:udevd state:R running task stack:26800 pid:7027 tgid:7027 ppid:4532 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7067 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:check_region_inline mm/kasan/generic.c:169 [inline] RIP: 0010:kasan_check_range+0xe0/0x1a0 mm/kasan/generic.c:189 Code: 83 c0 01 48 39 c2 0f 84 8d 00 00 00 80 38 00 74 ee 48 89 c2 b8 01 00 00 00 48 85 d2 74 1e 41 83 e2 07 49 39 d1 75 0a 45 3a 11 01 00 00 00 7c 0b 44 89 c2 e8 e1 ea ff ff 83 f0 01 5b 5d 41 5c RSP: 0018:ffffc900035af818 EFLAGS: 00000297 RAX: 0000000000000001 RBX: fffff520006b5f1c RCX: ffffffff8439d927 RDX: fffff520006b5f1b RSI: 0000000000000014 RDI: ffffc900035af8c8 RBP: fffff520006b5f19 R08: 0000000000000001 R09: fffff520006b5f1b R10: 0000000000000003 R11: 0000000000000001 R12: ffffc900035af8c8 R13: 000000000000001e R14: ffffc900035af8c8 R15: 000000003e1fffff __asan_memcpy+0x3c/0x60 mm/kasan/shadow.c:106 avc_has_perm_noaudit+0xe7/0x3a0 security/selinux/avc.c:1161 selinux_inode_permission+0x361/0x590 security/selinux/hooks.c:3120 security_inode_permission+0xbb/0x120 security/security.c:2216 inode_permission fs/namei.c:536 [inline] inode_permission+0x17a/0x5f0 fs/namei.c:503 may_lookup fs/namei.c:1718 [inline] link_path_walk.part.0.constprop.0+0x226/0xcd0 fs/namei.c:2273 link_path_walk fs/namei.c:2256 [inline] path_openat+0x238/0x2e50 fs/namei.c:3809 do_filp_open+0x1dc/0x430 fs/namei.c:3840 do_sys_openat2+0x17a/0x1e0 fs/open.c:1413 do_sys_open fs/open.c:1428 [inline] __do_sys_openat fs/open.c:1444 [inline] __se_sys_openat fs/open.c:1439 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1439 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcd8ff169a4 RSP: 002b:00007ffcfcf26d10 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fcd8ff169a4 RDX: 0000000000080241 RSI: 00007ffcfcf27258 RDI: 00000000ffffff9c RBP: 00007ffcfcf27258 R08: 0000000000000004 R09: 0000000000000001 R10: 00000000000001b6 R11: 0000000000000246 R12: 0000000000080241 R13: 0000561ad42ef72e R14: 0000000000000001 R15: 0000561ae0e3f2c0 rcu: rcu_preempt kthread starved for 10096 jiffies! g22981 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:28680 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2000 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2202 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 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:48 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:86 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_safe_halt+0x1a/0x20 drivers/acpi/processor_idle.c:111