rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P4427/1:b..l (detected by 0, t=10502 jiffies, g=158729, q=129 ncpus=2) task:udevd state:R running task stack:24736 pid:4427 ppid:1 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6555 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6724 preempt_schedule_thunk+0x1a/0x20 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3a/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:390 [inline] fast_dput fs/dcache.c:792 [inline] fast_dput fs/dcache.c:765 [inline] dput+0x4e9/0xdb0 fs/dcache.c:900 path_put fs/namei.c:558 [inline] terminate_walk+0x1a5/0x670 fs/namei.c:680 path_openat+0x162d/0x2a50 fs/namei.c:3715 do_filp_open+0x1ba/0x410 fs/namei.c:3741 do_sys_openat2+0x16d/0x4c0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f339392a5a4 RSP: 002b:00007ffc3f38abf8 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00005595d1dd27a0 RCX: 00007f339392a5a4 RDX: 0000000000090800 RSI: 00005595d1daba80 RDI: 00000000ffffff9c RBP: 00005595d1eb0cd0 R08: 0000000000090800 R09: 00005595d1daba80 R10: 0000000000000000 R11: 0000000000000287 R12: 00005595d1daba80 R13: 00000000000000fe R14: 00007ffc3f38ac50 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10486 jiffies! g158729 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 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:28112 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6555 schedule+0xde/0x1b0 kernel/sched/core.c:6631 schedule_timeout+0x14e/0x2a0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1656 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1855 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 32135 Comm: syz-executor.2 Not tainted 6.2.0-rc2-syzkaller-00313-g9b43a525db12 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:__kasan_check_read+0x0/0x20 mm/kasan/shadow.c:30 Code: 8b 45 20 48 39 c7 73 0b 0f 0b 48 83 c4 60 5b 5d 41 5c c3 48 05 00 80 00 00 48 89 fb 48 39 c7 0f 82 ac c5 f2 07 eb e1 0f 1f 00 0f 1e fa 48 8b 0c 24 89 f6 31 d2 e9 4f f7 ff ff 66 66 2e 0f 1f RSP: 0018:ffffc900001e0d18 EFLAGS: 00000056 RAX: 0000000000000000 RBX: 1ffff9200003c1a7 RCX: 1ffffffff1ce5b88 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff8e72da50 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff8880b992b798 R15: 0000000000000000 FS: 00007f82be9c4700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020142030 CR3: 00000000797ae000 CR4: 0000000000350ee0 Call Trace: instrument_atomic_read include/linux/instrumented.h:72 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:444 [inline] cpu_online include/linux/cpumask.h:1030 [inline] trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0xf0/0x630 kernel/locking/lockdep.c:5639 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0x36/0x50 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x266/0xfb0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x180/0x640 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x3c/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 c6 34 5a f7 48 89 ef e8 6e a1 5a f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 af 04 4d f7 65 8b 05 60 f1 f9 75 85 c0 74 0a 5b 5d c3 e8 ec 19 RSP: 0018:ffffc90016657778 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff226ec4e RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff8880516926c0 R08: 0000000000000001 R09: ffffffff91337b67 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000010 R14: 0000000000000001 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] __wake_up_common_lock+0xe2/0x140 kernel/sched/wait.c:140 __unix_dgram_recvmsg+0x2d1/0xb90 net/unix/af_unix.c:2472 unix_dgram_recvmsg+0xc4/0xf0 net/unix/af_unix.c:2542 sock_recvmsg_nosec net/socket.c:995 [inline] ____sys_recvmsg+0x53c/0x610 net/socket.c:2693 ___sys_recvmsg+0xf2/0x180 net/socket.c:2737 do_recvmmsg+0x25e/0x6e0 net/socket.c:2831 __sys_recvmmsg net/socket.c:2910 [inline] __do_sys_recvmmsg net/socket.c:2933 [inline] __se_sys_recvmmsg net/socket.c:2926 [inline] __x64_sys_recvmmsg+0x20f/0x260 net/socket.c:2926 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f82bdc8c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f82be9c4168 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f82bddac050 RCX: 00007f82bdc8c0c9 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f82bdce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdfe6f09af R14: 00007f82be9c4300 R15: 0000000000022000