------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 1 PID: 11172 at kernel/locking/mutex.c:582 __mutex_lock_common kernel/locking/mutex.c:582 [inline] WARNING: CPU: 1 PID: 11172 at kernel/locking/mutex.c:582 __mutex_lock+0xb8c/0xcc0 kernel/locking/mutex.c:747 Modules linked in: CPU: 1 PID: 11172 Comm: syz.1.14054 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:582 [inline] RIP: 0010:__mutex_lock+0xb8c/0xcc0 kernel/locking/mutex.c:747 Code: 04 08 84 c0 0f 85 20 01 00 00 83 3d 4d c0 d3 03 00 0f 85 81 f5 ff ff 48 c7 c7 40 a7 aa 8a 48 c7 c6 e0 a7 aa 8a e8 a4 17 d9 f6 <0f> 0b e9 67 f5 ff ff 0f 0b e9 47 f9 ff ff 0f 0b e9 ff f5 ff ff 48 RSP: 0018:ffffc9000f6d7640 EFLAGS: 00010246 RAX: 21a8d46416b1cb00 RBX: ffff888077762428 RCX: 0000000000080000 RDX: ffffc9000d1bc000 RSI: 0000000000006a4f RDI: 0000000000006a50 RBP: ffffc9000f6d77a0 R08: ffff8880b8f28c13 R09: 1ffff110171e5182 R10: dffffc0000000000 R11: ffffed10171e5183 R12: 0000000000000000 R13: 1ffff92001edaed8 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f31d1bf66c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe943edd28 CR3: 000000001bb01000 CR4: 00000000003506e0 Call Trace: reiserfs_write_lock+0x79/0xd0 fs/reiserfs/lock.c:27 reiserfs_lookup+0x151/0x520 fs/reiserfs/namei.c:364 lookup_open fs/namei.c:3466 [inline] open_last_lookups fs/namei.c:3556 [inline] path_openat+0x10b8/0x3190 fs/namei.c:3786 do_filp_open+0x1c5/0x3d0 fs/namei.c:3816 do_sys_openat2+0x12c/0x1c0 fs/open.c:1419 do_sys_open fs/open.c:1434 [inline] __do_sys_openat fs/open.c:1450 [inline] __se_sys_openat fs/open.c:1445 [inline] __x64_sys_openat+0x139/0x160 fs/open.c:1445 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f31d398eec9 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:00007f31d1bf6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f31d3be5fa0 RCX: 00007f31d398eec9 RDX: 00000000000208c1 RSI: 00002000000000c0 RDI: ffffffffffffff9c RBP: 00007f31d3a11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f31d3be6038 R14: 00007f31d3be5fa0 R15: 00007ffd0d2a9368