------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(1) WARNING: CPU: 1 PID: 4678 at kernel/locking/lockdep.c:232 hlock_class kernel/locking/lockdep.c:232 [inline] WARNING: CPU: 1 PID: 4678 at kernel/locking/lockdep.c:232 check_wait_context kernel/locking/lockdep.c:4826 [inline] WARNING: CPU: 1 PID: 4678 at kernel/locking/lockdep.c:232 __lock_acquire+0x58c/0x2050 kernel/locking/lockdep.c:5152 Modules linked in: CPU: 1 UID: 0 PID: 4678 Comm: udevd Not tainted 6.12.0-rc1-syzkaller-00330-gfc20a3e57247 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:hlock_class kernel/locking/lockdep.c:232 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4826 [inline] RIP: 0010:__lock_acquire+0x58c/0x2050 kernel/locking/lockdep.c:5152 Code: 00 00 83 3d c5 cb ac 0e 00 75 23 90 48 c7 c7 60 c9 0a 8c 48 c7 c6 00 cc 0a 8c e8 1f 80 e5 ff 48 ba 00 00 00 00 00 fc ff df 90 <0f> 0b 90 90 90 31 db 48 81 c3 c4 00 00 00 48 89 d8 48 c1 e8 03 0f RSP: 0018:ffffc90004a4f0f0 EFLAGS: 00010046 RAX: e5954c56a7fc3800 RBX: 0000000000001228 RCX: ffff88807a5f0000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 000000000000000a R08: ffffffff8155d402 R09: 1ffff110170e519a R10: dffffc0000000000 R11: ffffed10170e519b R12: ffff88807a5f0000 R13: 0000000000001228 R14: 1ffff1100f4be16a R15: ffff88807a5f0b50 FS: 00007f985dfa2c80(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33614ff8 CR3: 000000007af08000 CR4: 0000000000350ef0 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 _raw_spin_lock_nested+0x31/0x40 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:593 raw_spin_rq_lock kernel/sched/sched.h:1505 [inline] __task_rq_lock+0xdf/0x3e0 kernel/sched/core.c:671 ttwu_runnable kernel/sched/core.c:3732 [inline] try_to_wake_up+0x182/0x1480 kernel/sched/core.c:4184 wake_up_process kernel/sched/core.c:4402 [inline] wake_up_q+0xc8/0x120 kernel/sched/core.c:1062 rwsem_wake+0x10a/0x150 kernel/locking/rwsem.c:1212 __up_read+0x31e/0x6b0 kernel/locking/rwsem.c:1350 kernfs_iop_lookup+0x2fd/0x390 fs/kernfs/dir.c:1226 __lookup_slow+0x28e/0x3f0 fs/namei.c:1732 lookup_slow+0x53/0x70 fs/namei.c:1749 walk_component fs/namei.c:2053 [inline] link_path_walk+0x99b/0xea0 fs/namei.c:2418 path_openat+0x266/0x3590 fs/namei.c:3929 do_filp_open+0x235/0x490 fs/namei.c:3960 do_sys_openat2+0x13e/0x1d0 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_openat fs/open.c:1446 [inline] __se_sys_openat fs/open.c:1441 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1441 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f985db169a4 Code: 24 20 48 8d 44 24 30 48 89 44 24 28 64 8b 04 25 18 00 00 00 85 c0 75 2c 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 60 48 8b 15 55 a4 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffc613e4c10 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f985db169a4 RDX: 0000000000080000 RSI: 00007ffc613e4d48 RDI: 00000000ffffff9c RBP: 00007ffc613e4d48 R08: 0000000000000008 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 0000564f66178b42 R14: 0000000000000001 R15: 0000000000000000