------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 1 PID: 20566 at kernel/locking/mutex.c:575 __mutex_lock_common+0x195d/0x2400 kernel/locking/mutex.c:-1 Modules linked in: CPU: 1 PID: 20566 Comm: syz.7.2156 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 RIP: 0010:__mutex_lock_common+0x195d/0x2400 kernel/locking/mutex.c:575 Code: 00 48 8d bc 24 e0 00 00 00 0f 85 e3 e7 ff ff 48 c7 c7 80 16 2b 8a 48 c7 c6 c0 16 2b 8a e8 6b 83 ec ff 48 8d bc 24 e0 00 00 00 <0f> 0b e9 c1 e7 ff ff e8 17 d7 3b f7 e9 00 fc ff ff 0f 0b e9 40 f0 RSP: 0018:ffffc9000303f5a0 EFLAGS: 00010246 RAX: f3d8458800b25f00 RBX: dffffc0000000000 RCX: 0000000000080000 RDX: ffffc90010bff000 RSI: 000000000000a26d RDI: ffffc9000303f680 RBP: ffffc9000303f730 R08: ffff8880b912795b R09: 1ffff11017224f2b R10: dffffc0000000000 R11: ffffed1017224f2c R12: 0000000000000000 R13: 1ffff92000607ecc R14: ffffffff8202cfa5 R15: 0000000000000000 FS: 00007f39e0cd96c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e526a37950 CR3: 000000007174a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743 reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27 reiserfs_lookup+0x18a/0x480 fs/reiserfs/namei.c:364 lookup_open fs/namei.c:3448 [inline] open_last_lookups fs/namei.c:3540 [inline] path_openat+0x1022/0x2fa0 fs/namei.c:3747 do_filp_open+0x1e2/0x410 fs/namei.c:3777 do_sys_openat2+0x150/0x4b0 fs/open.c:1255 do_sys_open fs/open.c:1271 [inline] __do_sys_openat fs/open.c:1287 [inline] __se_sys_openat fs/open.c:1282 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1282 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f39e2a7ef79 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f39e0cd9028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f39e2cf8fa0 RCX: 00007f39e2a7ef79 RDX: 000000000000275a RSI: 0000200000000040 RDI: ffffffffffffff9c RBP: 00007f39e2b157e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f39e2cf9038 R14: 00007f39e2cf8fa0 R15: 00007ffd7b01d2f8