loop2: detected capacity change from 0 to 64 ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 1 PID: 24130 at kernel/locking/mutex.c:582 __mutex_lock_common kernel/locking/mutex.c:582 [inline] WARNING: CPU: 1 PID: 24130 at kernel/locking/mutex.c:582 __mutex_lock+0xa24/0xaf0 kernel/locking/mutex.c:747 Modules linked in: CPU: 1 PID: 24130 Comm: syz.2.17607 Not tainted 6.1.147-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:582 [inline] RIP: 0010:__mutex_lock+0xa24/0xaf0 kernel/locking/mutex.c:747 Code: 04 28 84 c0 0f 85 b7 00 00 00 83 3d 6d 5b 00 04 00 0f 85 e0 f6 ff ff 48 c7 c7 e0 ee 8b 8a 48 c7 c6 80 ef 8b 8a e8 0c c4 2d f7 <0f> 0b e9 c6 f6 ff ff 0f 0b e9 6c f9 ff ff 48 c7 c1 20 41 be 96 80 RSP: 0018:ffffc90003a07680 EFLAGS: 00010246 RAX: 922dec14c0f34800 RBX: ffff888030527828 RCX: 0000000000080000 RDX: ffffc9000ddb3000 RSI: 00000000000034dd RDI: 00000000000034de RBP: ffffc90003a077e0 R08: dffffc0000000000 R09: ffffed10171e4f34 R10: ffffed10171e4f34 R11: 1ffff110171e4f33 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880305278b8 R15: 0000000000000000 FS: 00007f3f653706c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555564140808 CR3: 000000007372e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27 reiserfs_lookup+0x137/0x420 fs/reiserfs/namei.c:364 __lookup_slow+0x27d/0x3a0 fs/namei.c:1690 lookup_slow+0x53/0x70 fs/namei.c:1707 walk_component+0x2be/0x3f0 fs/namei.c:1998 lookup_last fs/namei.c:2455 [inline] path_lookupat+0x169/0x440 fs/namei.c:2479 filename_lookup+0x1f0/0x500 fs/namei.c:2508 user_path_at_empty+0x3e/0x60 fs/namei.c:2905 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3403 [inline] __do_sys_mount fs/namespace.c:3614 [inline] __se_sys_mount+0x297/0x3c0 fs/namespace.c:3591 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f3f6458e9a9 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:00007f3f65370038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f3f647b5fa0 RCX: 00007f3f6458e9a9 RDX: 0000000000000000 RSI: 0000200000000240 RDI: 0000200000000500 RBP: 00007f3f64610d69 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000020100a R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3f647b5fa0 R15: 00007fff6eaf4178