------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 0 PID: 4714 at kernel/locking/mutex.c:575 __mutex_lock_common+0x1a52/0x25a0 kernel/locking/mutex.c:575 Modules linked in: CPU: 0 PID: 4714 Comm: syz.0.213 Not tainted 5.15.161-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__mutex_lock_common+0x1a52/0x25a0 kernel/locking/mutex.c:575 Code: 04 08 84 c0 0f 85 d9 08 00 00 83 3d 3f d2 bd 03 00 0f 85 e9 e6 ff ff 48 c7 c7 00 19 8b 8a 48 c7 c6 40 19 8b 8a e8 8e 35 25 f7 <0f> 0b e9 cf e6 ff ff e8 f2 be d9 f6 e9 58 fb ff ff 0f 0b e9 d1 f0 RSP: 0018:ffffc9000372f960 EFLAGS: 00010246 RAX: 94f6c1a84e9e2f00 RBX: dffffc0000000000 RCX: 0000000000040000 RDX: ffffc9000412d000 RSI: 0000000000005730 RDI: 0000000000005731 RBP: ffffc9000372fad0 R08: ffffffff8166835c R09: ffffed1017344f24 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff88807979a028 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fc097d3d6c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc097b1ad58 CR3: 0000000076e73000 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+0x76/0xd0 fs/reiserfs/lock.c:27 reiserfs_lookup+0x15c/0x4 fs/reiserfs/namei.c:364