loop0: detected capacity change from 0 to 32768 ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 0 PID: 6884 at kernel/locking/mutex.c:582 __mutex_lock_common kernel/locking/mutex.c:582 [inline] WARNING: CPU: 0 PID: 6884 at kernel/locking/mutex.c:582 __mutex_lock+0x912/0x1340 kernel/locking/mutex.c:747 Modules linked in: CPU: 0 PID: 6884 Comm: syz-executor.0 Not tainted 6.5.0-rc3-syzkaller-00275-gffabf7c73176 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:582 [inline] RIP: 0010:__mutex_lock+0x912/0x1340 kernel/locking/mutex.c:747 Code: 08 84 d2 0f 85 d1 09 00 00 8b 05 75 e1 76 04 85 c0 0f 85 50 f8 ff ff 48 c7 c6 20 66 6c 8a 48 c7 c7 e0 63 6c 8a e8 8e 62 18 f7 <0f> 0b e9 36 f8 ff ff 48 8b 85 e0 fe ff ff 48 8d b8 30 09 00 00 48 RSP: 0018:ffffc9000b73f760 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88802282d940 RSI: ffffffff814d3c06 RDI: 0000000000000001 RBP: ffffc9000b73f8b0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 000000000040d4e8 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff88803c6ad428 R15: ffff88808b438858 FS: 00007f29a51ef6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd5535db48 CR3: 000000003ede5000 CR4: 0000000000350ef0 Call Trace: reiserfs_write_lock+0x79/0x100 fs/reiserfs/lock.c:27 reiserfs_lookup+0x184/0x690 fs/reiserfs/namei.c:364 __lookup_slow+0x24d/0x450 fs/namei.c:1690 lookup_slow fs/namei.c:1707 [inline] walk_component+0x349/0x5a0 fs/namei.c:1998 lookup_last fs/namei.c:2455 [inline] path_lookupat+0x17f/0x770 fs/namei.c:2479 filename_lookup+0x1e7/0x5b0 fs/namei.c:2508 user_path_at_empty+0x42/0x60 fs/namei.c:2907 user_path_at include/linux/namei.h:57 [inline] do_sys_truncate+0xb6/0x190 fs/open.c:133 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f29a447cb29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f29a51ef0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007f29a459bf80 RCX: 00007f29a447cb29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140 RBP: 00007f29a44c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f29a459bf80 R15: 00007fff14ff8928