rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=fafc/1/0x4000000000000000 softirq=14582/14582 fqs=0 rcu: (detected by 0, t=10502 jiffies, g=18113, q=158 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4456 Comm: udevd Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:lock_acquire.part.0+0x144/0x370 kernel/locking/lockdep.c:5708 Code: ff ff 48 c7 c7 00 6b 4c 8a 48 83 c4 28 e8 44 04 ab 08 b8 ff ff ff ff 65 0f c1 05 97 b5 9c 7e 83 f8 01 0f 85 c7 01 00 00 9c 58 c4 02 0f 85 da 01 00 00 48 85 ed 0f 85 ad 01 00 00 48 b8 00 00 RSP: 0018:ffffc900001e0c30 EFLAGS: 00000046 RAX: 0000000000000046 RBX: 1ffff9200003c187 RCX: 798a1fc9a8163414 RDX: 1ffff1100fab0c80 RSI: 0000000000010001 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff22a75a0 R10: ffffffff9153ad07 R11: ffffc900001e0ff8 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: ffffffff8d105400 FS: 00007f55e19edc80(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e124000 CR3: 0000000029c8b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_objects_fill_pool lib/debugobjects.c:605 [inline] debug_object_activate+0x128/0x4f0 lib/debugobjects.c:704 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x27/0x320 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0x8d9/0xa30 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:84 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:127 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:158 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:177 [inline] RIP: 0010:kasan_check_range+0x101/0x190 mm/kasan/generic.c:186 Code: be 01 41 83 e2 07 49 39 c2 73 0a 5b b8 01 00 00 00 5d 41 5c c3 44 89 c2 e8 ec ee ff ff 83 f0 01 5b 5d 41 5c c3 48 85 d2 74 e1 <48> 01 ea eb 09 48 83 c0 01 48 39 d0 74 d3 80 38 00 74 f2 eb ad 41 RSP: 0018:ffffc9000604f958 EFLAGS: 00000202 RAX: fffffbfff1cf5eda RBX: fffffbfff1cf5edb RCX: ffffffff8165cb55 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff8e7af6d0 RBP: fffffbfff1cf5eda R08: 0000000000000000 R09: fffffbfff1cf5eda R10: ffffffff8e7af6d7 R11: 0000000000000001 R12: ffffffff8c799140 R13: ffff88807f130ad8 R14: ffff888022d668d0 R15: ffff88807f130a48 instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:504 [inline] cpu_online include/linux/cpumask.h:1082 [inline] trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xa5/0x670 kernel/locking/lockdep.c:5716 rcu_lock_release include/linux/rcupdate.h:307 [inline] rcu_read_unlock include/linux/rcupdate.h:781 [inline] __d_lookup+0x289/0x4c0 fs/dcache.c:2504 lookup_fast+0x170/0x520 fs/namei.c:1648 walk_component+0x5e/0x5a0 fs/namei.c:1994 link_path_walk.part.0+0x74e/0xd60 fs/namei.c:2325 link_path_walk fs/namei.c:2249 [inline] path_lookupat+0xb7/0x840 fs/namei.c:2478 filename_lookup+0x1d2/0x590 fs/namei.c:2508 user_path_at_empty+0x46/0x60 fs/namei.c:2907 do_readlinkat+0xcd/0x2f0 fs/stat.c:477 __do_sys_readlink fs/stat.c:510 [inline] __se_sys_readlink fs/stat.c:507 [inline] __x64_sys_readlink+0x78/0xb0 fs/stat.c:507 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:0x7f55e1b17d47 Code: 73 01 c3 48 8b 0d e1 90 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 59 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b1 90 0d 00 f7 d8 64 89 01 48 RSP: 002b:00007fff15317e48 EFLAGS: 00000246 ORIG_RAX: 0000000000000059 RAX: ffffffffffffffda RBX: 00007fff15317e58 RCX: 00007f55e1b17d47 RDX: 0000000000000400 RSI: 00007fff15317e58 RDI: 00007fff15318338 RBP: 0000000000000400 R08: 000055c4d9b26884 R09: 0000000000000000 R10: 0000000000000812 R11: 0000000000000246 R12: 00007fff15318338 R13: 00007fff153182a8 R14: 000055c4d9a3d910 R15: 0000000000000000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g18113 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=20334 rcu: rcu_preempt kthread starved for 10502 jiffies! g18113 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26984 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x1d15/0x5790 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_timeout+0x14e/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1808 kthread+0x344/0x440 kernel/kthread.c:379 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: 4456 Comm: udevd Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:graph_unlock kernel/locking/lockdep.c:186 [inline] RIP: 0010:mark_lock.part.0+0x136/0x1970 kernel/locking/lockdep.c:4662 Code: 78 50 48 ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 80 3c 11 00 0f 85 eb 13 00 00 48 89 ee 48 23 70 50 0f 84 f6 06 00 00 <41> ba 01 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 RSP: 0018:ffffc900001e0948 EFLAGS: 00000006 RAX: ffffffff9153b120 RBX: 1ffff9200003c130 RCX: 1ffffffff22a762e RDX: dffffc0000000000 RSI: 0000000000000100 RDI: ffffffff9153b170 RBP: 0000000000000100 R08: 0000000000000000 R09: fffffbfff22a75a0 R10: ffffffff9153ad07 R11: ffffc900001e0ff8 R12: ffff88807d586458 R13: 0000000000000008 R14: 0000000000000000 R15: ffff88807d586478 FS: 00007f55e19edc80(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e124000 CR3: 0000000029c8b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_lock kernel/locking/lockdep.c:4620 [inline] mark_usage kernel/locking/lockdep.c:4577 [inline] __lock_acquire+0x907/0x5f30 kernel/locking/lockdep.c:5042 lock_acquire.part.0+0x11c/0x370 kernel/locking/lockdep.c:5705 debug_objects_fill_pool lib/debugobjects.c:605 [inline] debug_object_activate+0x128/0x4f0 lib/debugobjects.c:704 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x27/0x320 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0x8d9/0xa30 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:84 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:127 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:158 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:177 [inline] RIP: 0010:kasan_check_range+0x101/0x190 mm/kasan/generic.c:186 Code: be 01 41 83 e2 07 49 39 c2 73 0a 5b b8 01 00 00 00 5d 41 5c c3 44 89 c2 e8 ec ee ff ff 83 f0 01 5b 5d 41 5c c3 48 85 d2 74 e1 <48> 01 ea eb 09 48 83 c0 01 48 39 d0 74 d3 80 38 00 74 f2 eb ad 41 RSP: 0018:ffffc9000604f958 EFLAGS: 00000202 RAX: fffffbfff1cf5eda RBX: fffffbfff1cf5edb RCX: ffffffff8165cb55 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff8e7af6d0 RBP: fffffbfff1cf5eda R08: 0000000000000000 R09: fffffbfff1cf5eda R10: ffffffff8e7af6d7 R11: 0000000000000001 R12: ffffffff8c799140 R13: ffff88807f130ad8 R14: ffff888022d668d0 R15: ffff88807f130a48 instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:504 [inline] cpu_online include/linux/cpumask.h:1082 [inline] trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xa5/0x670 kernel/locking/lockdep.c:5716 rcu_lock_release include/linux/rcupdate.h:307 [inline] rcu_read_unlock include/linux/rcupdate.h:781 [inline] __d_lookup+0x289/0x4c0 fs/dcache.c:2504 lookup_fast+0x170/0x520 fs/namei.c:1648 walk_component+0x5e/0x5a0 fs/namei.c:1994 link_path_walk.part.0+0x74e/0xd60 fs/namei.c:2325 link_path_walk fs/namei.c:2249 [inline] path_lookupat+0xb7/0x840 fs/namei.c:2478 filename_lookup+0x1d2/0x590 fs/namei.c:2508 user_path_at_empty+0x46/0x60 fs/namei.c:2907 do_readlinkat+0xcd/0x2f0 fs/stat.c:477 __do_sys_readlink fs/stat.c:510 [inline] __se_sys_readlink fs/stat.c:507 [inline] __x64_sys_readlink+0x78/0xb0 fs/stat.c:507 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:0x7f55e1b17d47 Code: 73 01 c3 48 8b 0d e1 90 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 59 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b1 90 0d 00 f7 d8 64 89 01 48 RSP: 002b:00007fff15317e48 EFLAGS: 00000246 ORIG_RAX: 0000000000000059 RAX: ffffffffffffffda RBX: 00007fff15317e58 RCX: 00007f55e1b17d47 RDX: 0000000000000400 RSI: 00007fff15317e58 RDI: 00007fff15318338 RBP: 0000000000000400 R08: 000055c4d9b26884 R09: 0000000000000000 R10: 0000000000000812 R11: 0000000000000246 R12: 00007fff15318338 R13: 00007fff153182a8 R14: 000055c4d9a3d910 R15: 0000000000000000