------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(!test_bit(class_idx, lock_classes_in_use)) WARNING: CPU: 1 PID: 6291 at kernel/locking/lockdep.c:5198 __lock_acquire+0x165b/0x2100 kernel/locking/lockdep.c:5198 Modules linked in: CPU: 1 UID: 0 PID: 6291 Comm: syz.5.80 Not tainted 6.13.0-syzkaller-08265-g9c5968db9e62 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:__lock_acquire+0x165b/0x2100 kernel/locking/lockdep.c:5198 Code: 0f b6 04 08 84 c0 0f 85 31 0a 00 00 83 3d f0 cf 80 0e 00 75 19 90 48 c7 c7 c0 8e 0a 8c 48 c7 c6 a0 b7 0a 8c e8 76 34 e5 ff 90 <0f> 0b 90 90 90 e9 be fd ff ff 90 0f 0b 90 e9 16 fd ff ff 90 e8 5c RSP: 0018:ffffc9000bcb7630 EFLAGS: 00010046 RAX: 604a35d8c6e8fe00 RBX: 00000000008a8620 RCX: 0000000000080000 RDX: ffffc90011667000 RSI: 000000000000307f RDI: 0000000000003080 RBP: ffff888031256568 R08: ffffffff81802842 R09: 1ffff110170e519a R10: dffffc0000000000 R11: ffffed10170e519b R12: ffff8880312564d4 R13: ffff888031255a00 R14: 0000000000000000 R15: ffff888031256588 FS: 00007f4dab6476c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f78d0c00218 CR3: 000000005b332000 CR4: 0000000000350ef0 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5851 _raw_spin_lock_nested+0x31/0x40 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598 raw_spin_rq_lock kernel/sched/sched.h:1521 [inline] rq_lock kernel/sched/sched.h:1852 [inline] ttwu_queue kernel/sched/core.c:3999 [inline] try_to_wake_up+0x7e2/0x1470 kernel/sched/core.c:4329 kthread_queue_work+0xff/0x180 kernel/kthread.c:1192 synchronize_rcu_expedited_queue_work kernel/rcu/tree_exp.h:496 [inline] synchronize_rcu_expedited+0x5ad/0x830 kernel/rcu/tree_exp.h:1006 namespace_unlock+0x29f/0x4d0 fs/namespace.c:1743 dissolve_on_fput+0x105/0x130 fs/namespace.c:2262 __fput+0x832/0x9f0 fs/file_table.c:460 task_work_run+0x251/0x310 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4daa78cda9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4dab647038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f4daa9a6160 RCX: 00007f4daa78cda9 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000005 RBP: 00007f4daa80e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4daa9a6160 R15: 00007ffcccb85038