rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5497/1:b..l rcu: (detected by 1, t=10502 jiffies, g=11209, q=431 ncpus=2) task:udevadm state:R running task stack:23680 pid:5497 tgid:5497 ppid:5252 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:ima_match_policy+0x18c2/0x22f0 Code: 24 80 00 00 00 e9 3f fb ff ff e8 a9 dd 24 fd 41 80 e4 01 44 89 e3 e9 e8 00 00 00 e8 98 dd 24 fd 49 bf 00 00 00 00 00 fc ff df <4c> 8b 74 24 28 48 8b 5c 24 18 48 89 d8 48 c1 e8 03 42 80 3c 38 00 RSP: 0018:ffffc900049ef2a0 EFLAGS: 00000293 RAX: ffffffff847138cf RBX: 0000000062656572 RCX: ffff8880293a9e00 RDX: 0000000000000000 RSI: 0000000062656572 RDI: 0000000000009fa0 RBP: ffffc900049ef450 R08: ffffffff847137d1 R09: 1ffffffff25f56b0 R10: dffffc0000000000 R11: fffffbfff25f56b1 R12: ffffffff8e9dc140 R13: 0000000000000003 R14: 0000000000009fa0 R15: dffffc0000000000 ima_get_action+0x75/0xb0 security/integrity/ima/ima_api.c:199 process_measurement+0x365/0x1fb0 security/integrity/ima/ima_main.c:235 ima_file_check+0xf2/0x170 security/integrity/ima/ima_main.c:572 security_file_post_open+0x6f/0xa0 security/security.c:2982 do_open fs/namei.c:3652 [inline] path_openat+0x28f6/0x3280 fs/namei.c:3807 do_filp_open+0x235/0x490 fs/namei.c:3834 do_sys_openat2+0x13e/0x1d0 fs/open.c:1405 do_sys_open fs/open.c:1420 [inline] __do_sys_openat fs/open.c:1436 [inline] __se_sys_openat fs/open.c:1431 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1431 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc6055169a4 RSP: 002b:00007ffd1e588080 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007fc6055169a4 RDX: 0000000000080000 RSI: 00007ffd1e5881b8 RDI: 00000000ffffff9c RBP: 00007ffd1e5881b8 R08: 0000000000000008 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 0000565266e7335a R14: 0000000000000001 R15: 00005652942c6da0 rcu: rcu_preempt kthread starved for 10540 jiffies! g11209 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:26448 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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+0x21/0x30 drivers/acpi/processor_idle.c:112