rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5306/3:b..l (detected by 0, t=10502 jiffies, g=14069, q=233) task:sed state:R running task stack:27200 pid: 5306 ppid: 5302 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6780 irqentry_exit+0x63/0x70 kernel/entry/common.c:432 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:681 RIP: 0010:setid_policy_lookup+0x329/0x510 security/safesetid/lsm.c:82 Code: ff ff ff 4c 89 e7 e8 16 ee 18 fe e9 67 ff ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 7c 81 4c 89 f7 e8 fc ed 18 fe e9 74 ff ff ff d2 7a d3 fd 45 31 f6 e9 03 01 00 00 4d 85 ff 0f 84 de 00 00 00 RSP: 0018:ffffc900014ff330 EFLAGS: 00000246 RAX: ffffffff83a44132 RBX: 00000000ffffffff RCX: ffff888021d91dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1ff3419 R10: fffffbfff1ff3419 R11: 1ffffffff1ff3418 R12: 0000000000000000 R13: ffffffff8c6c2768 R14: 0000000000000000 R15: 0000000000000001 safesetid_security_capable+0x88/0x1b0 security/safesetid/lsm.c:119 security_capable+0x75/0xb0 security/security.c:808 has_ns_capability_noaudit+0x106/0x200 kernel/capability.c:341 ima_match_rules security/integrity/ima/ima_policy.c:578 [inline] ima_match_policy+0x97d/0x19f0 security/integrity/ima/ima_policy.c:712 ima_get_action+0x71/0xa0 security/integrity/ima/ima_api.c:198 process_measurement+0x262/0x1a10 security/integrity/ima/ima_main.c:228 ima_file_check+0xc1/0x100 security/integrity/ima/ima_main.c:533 do_open fs/namei.c:3610 [inline] path_openat+0x2735/0x2f30 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x4a0 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1280 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f49004c10ba RSP: 002b:00007ffc12448138 EFLAGS: 00000206 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ffc124481b0 RCX: 00007f49004c10ba RDX: 0000000000080000 RSI: 00007ffc124481b0 RDI: 00000000ffffff9c RBP: 00007ffc124481a0 R08: 00007ffc124483a7 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 000000000000001b R13: 00007f490049d050 R14: 00007ffc124483c0 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10534 jiffies! g14069 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:27584 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 schedule_timeout+0x15c/0x280 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x29e/0x11b0 kernel/rcu/tree.c:1972 rcu_gp_kthread+0x98/0x350 kernel/rcu/tree.c:2145 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 5308 Comm: syz.3.38 Not tainted 5.15.182-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_check_gp_kthread_starvation+0x1cd/0x250 kernel/rcu/tree_stall.h:487 print_other_cpu_stall+0x10c8/0x1220 kernel/rcu/tree_stall.h:592 check_cpu_stall kernel/rcu/tree_stall.h:745 [inline] rcu_pending kernel/rcu/tree.c:3932 [inline] rcu_sched_clock_irq+0x831/0x1110 kernel/rcu/tree.c:2619 update_process_times+0x193/0x200 kernel/time/timer.c:1818 tick_sched_handle kernel/time/tick-sched.c:254 [inline] tick_sched_timer+0x37d/0x560 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1690 [inline] __hrtimer_run_queues+0x4fe/0xc40 kernel/time/hrtimer.c:1754 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1816 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: f6 ff 0f 1f 00 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 4e d6 b1 f7 48 89 df e8 16 ab b2 f7 e8 51 4f d3 f7 fb bf 01 00 00 00 46 cf a6 f7 65 8b 05 e7 e2 57 76 85 c0 74 02 5b c3 e8 94 ed 55 RSP: 0018:ffffc9000310fbc0 EFLAGS: 00000282 RAX: dae6a9f5492f3b00 RBX: ffff88802a9c2e40 RCX: dae6a9f5492f3b00 RDX: dffffc0000000000 RSI: ffffffff8a0b0fc0 RDI: 0000000000000001 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed10055385c9 R10: ffffed10055385c9 R11: 1ffff110055385c8 R12: ffff88802a9c2e40 R13: 0000000000000021 R14: dffffc0000000000 R15: 000000001c000004 spin_unlock_irq include/linux/spinlock.h:413 [inline] get_signal+0x11d6/0x12c0 kernel/signal.c:2903 arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f9355b79167 Code: ff ff 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 a8 ff ff ff f7 d8 64 89 RSP: 002b:00007f9354dea0e8 EFLAGS: 00000246 RAX: 00000000000000ca RBX: 00007f9355d91fa8 RCX: 00007f9355b79169 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f9355d91fa8 RBP: 00007f9355d91fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9355d91fac R13: 0000000000000000 R14: 00007ffd554bce20 R15: 00007ffd554bcf08