rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P18534/1:b..l rcu: (detected by 0, t=10503 jiffies, g=95329, q=105 ncpus=2) task:udevd state:R running task stack:26800 pid:18534 tgid:18534 ppid:4510 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:7008 irqentry_exit+0x36/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:creds_are_invalid+0x0/0x50 kernel/cred.c:832 Code: 68 ff ff ff 48 89 ef e8 0e 27 85 00 eb 87 e8 27 27 85 00 e9 fe fd ff ff e8 1d 27 85 00 e9 cb fd ff ff 0f 1f 84 00 00 00 00 00 0f 1e fa 53 48 89 fb e8 f3 42 2f 00 48 8d 7b 10 48 b8 00 00 00 RSP: 0018:ffffc9000521f8c0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff92000a43f1a RCX: ffffffff841c8525 RDX: ffff888041614080 RSI: ffffffff841c857e RDI: ffff888014faab00 RBP: 0000000000000081 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88801f2c32f0 R13: 0000000000000001 R14: ffffc9000521f8f0 R15: ffff888014faab00 __validate_creds include/linux/cred.h:188 [inline] selinux_inode_permission+0x136/0x5f0 security/selinux/hooks.c:3104 security_inode_permission+0xb4/0x100 security/security.c:2111 inode_permission fs/namei.c:537 [inline] inode_permission+0x176/0x5e0 fs/namei.c:504 may_lookup fs/namei.c:1720 [inline] link_path_walk.part.0.constprop.0+0x26f/0xce0 fs/namei.c:2271 link_path_walk fs/namei.c:2254 [inline] path_openat+0x23f/0x2c50 fs/namei.c:3775 do_filp_open+0x1de/0x430 fs/namei.c:3809 do_sys_openat2+0x176/0x1e0 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_sys_openat fs/open.c:1471 [inline] __se_sys_openat fs/open.c:1466 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1466 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fb35e5169a4 RSP: 002b:00007ffd2b02f090 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb35e5169a4 RDX: 00000000000a0241 RSI: 00007ffd2b02fd38 RDI: 00000000ffffff9c RBP: 00007ffd2b02fd38 R08: 0000000000000000 R09: 50d86455d1c2799e R10: 0000000000000124 R11: 0000000000000246 R12: 00000000000a0241 R13: 000055b8465e4250 R14: 000055b8465f16d0 R15: 0000000000000001 rcu: rcu_preempt kthread starved for 10535 jiffies! g95329 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:26128 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6778 schedule_timeout+0x137/0x290 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xb10 kernel/rcu/tree.c:1631 rcu_gp_kthread+0x24b/0x380 kernel/rcu/tree.c:1830 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 20179 Comm: syz-executor.2 Not tainted 6.7.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 90 f3 0f 1e fa 53 48 8b 74 24 08 48 89 fb 48 83 c7 18 e8 9a 25 e4 f6 48 89 df e8 02 9d e4 f6 e8 ad 5d 0a f7 fb bf 01 00 00 00 22 56 d6 f6 65 8b 05 f3 e0 80 75 85 c0 74 02 5b c3 e8 80 a4 7d RSP: 0018:ffffc9000417fd00 EFLAGS: 00000206 RAX: 0000000002fce67d RBX: ffff88801ef5d500 RCX: 1ffffffff1e308a9 RDX: 0000000000000000 RSI: ffffffff8acca580 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8f1877d7 R11: 0000000000000000 R12: ffff88801ef5d998 R13: 0000000000000021 R14: ffff88801ef5d900 R15: 1ffff9200082ffaf FS: 00007f04f0d056c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f04f0d25f00 CR3: 000000002253b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x1899/0x2790 kernel/signal.c:2907 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x121/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1e/0x60 kernel/entry/common.c:296 do_syscall_64+0x4d/0x110 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f04f007cba7 Code: 14 25 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 RSP: 002b:00007f04f0d05178 EFLAGS: 00000246 RAX: 00000000000000ca RBX: 00007f04f019c128 RCX: 00007f04f007cba9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f04f019c128 RBP: 00007f04f019c120 R08: 00007f04f0d056c0 R09: 00007f04f0d056c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f04f019c12c R13: 000000000000006e R14: 00007fffc3e130a0 R15: 00007fffc3e13188