rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5401/1:b..l rcu: (detected by 1, t=10502 jiffies, g=10033, q=1183 ncpus=2) task:udevd state:R running task stack:26344 pid:5401 tgid:5401 ppid:4468 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1960/0x4a80 kernel/sched/core.c:6688 preempt_schedule_irq+0xfb/0x1b0 kernel/sched/core.c:7008 irqentry_exit+0x57/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:debug_lockdep_rcu_enabled+0xd/0x30 kernel/rcu/update.c:320 Code: 8b 48 c7 c6 80 a7 2a 8b e8 70 4d 7c f6 0f 0b eb d0 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 31 c0 83 3d d7 a4 e3 03 00 <74> 1d 83 3d 86 d6 e3 03 00 74 14 65 48 8b 0d 70 9c 2c 75 31 c0 83 RSP: 0018:ffffc9000551f5d8 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff88801abe5940 RDX: 0000000000000000 RSI: ffffffff8d5cfa80 RDI: 0000000000000000 RBP: ffffc9000551f730 R08: 0000000000000007 R09: ffffffff81c07c3d R10: 0000000000000003 R11: ffff88801abe5940 R12: ffffc9000551f680 R13: fffffffffffffffe R14: 0000000000000000 R15: ffffffffffffffff rcu_read_unlock include/linux/rcupdate.h:776 [inline] find_lock_entries+0xc37/0x1110 mm/filemap.c:2082 shmem_undo_range+0x2ba/0x19c0 mm/shmem.c:986 shmem_truncate_range mm/shmem.c:1096 [inline] shmem_evict_inode+0x29e/0xa80 mm/shmem.c:1224 evict+0x2a4/0x620 fs/inode.c:666 __dentry_kill+0x436/0x650 fs/dcache.c:607 dentry_kill+0xbb/0x290 dput+0x21e/0x470 fs/dcache.c:913 do_renameat2+0xd67/0x1390 fs/namei.c:4998 __do_sys_rename fs/namei.c:5042 [inline] __se_sys_rename fs/namei.c:5040 [inline] __x64_sys_rename+0x86/0x90 fs/namei.c:5040 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0xe0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f49aa2ea93b RSP: 002b:00007fffe8715d78 EFLAGS: 00000202 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f49aa2ea93b RDX: 000055eb3e0c7a09 RSI: 00007fffe8715d98 RDI: 00007fffe8716198 RBP: 000055ee60e842c0 R08: 0000000000000006 R09: f8787fec7b6a5ec1 R10: 00000000000001b6 R11: 0000000000000202 R12: 000055ee60ea9540 R13: 00007fffe8715d98 R14: 00007fffe8716198 R15: 000055ee5eeb7160 rcu: rcu_preempt kthread starved for 10538 jiffies! g10033 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:26184 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1960/0x4a80 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 schedule_timeout+0x1bd/0x300 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x30a/0x14f0 kernel/rcu/tree.c:1631 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1830 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/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: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5699 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:mark_lock+0x46/0x340 kernel/locking/lockdep.c:4647 Code: fc ff df 83 fa 08 75 27 49 8d 5f 20 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 82 02 00 00 31 ed f6 43 02 03 40 0f 94 c5 <83> f5 09 eb 0b 89 d5 83 fa 20 0f 83 d1 02 00 00 41 be 01 00 00 00 RSP: 0018:ffffc90005d673b8 EFLAGS: 00000002 RAX: 0000000000000000 RBX: ffff88801c196470 RCX: 00000000000e004f RDX: 0000000000000008 RSI: ffff88801c196450 RDI: ffff88801c195940 RBP: 0000000000000000 R08: dffffc0000000000 R09: 1ffffffff212224d R10: dffffc0000000000 R11: fffffbfff212224e R12: ffff88801c1963f8 R13: dffffc0000000000 R14: ffff88801c196450 R15: ffff88801c196450 FS: 00007f752a1dd6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f752a1dcf00 CR3: 0000000066d3e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:4599 [inline] __lock_acquire+0xd6b/0x7fb0 kernel/locking/lockdep.c:5091 lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5754 seqcount_lockdep_reader_access+0xfc/0x220 include/linux/seqlock.h:102 timekeeping_get_delta kernel/time/timekeeping.c:254 [inline] timekeeping_get_ns kernel/time/timekeeping.c:388 [inline] ktime_get+0x83/0x270 kernel/time/timekeeping.c:848 clockevents_program_min_delta+0x55/0x410 kernel/time/clockevents.c:241 hrtimer_start_range_ns+0xabc/0xc50 kernel/time/hrtimer.c:1302 posixtimer_rearm+0x1b1/0x3f0 kernel/time/posix-timers.c:267 dequeue_signal+0x249/0x590 kernel/signal.c:705 get_signal+0x5f6/0x1840 kernel/signal.c:2784 arch_do_signal_or_restart+0x96/0x830 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:296 do_syscall_64+0x50/0xe0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f752947cba9 Code: 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 01 48 RSP: 002b:00007f752a1dd0c8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00007f752959bf80 RCX: 00007f752947cba9 RDX: 000000002006b000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f75294c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f752959bf80 R15: 00007fffbce5dd28 sched: RT throttling activated