syz.2.248: attempt to access beyond end of device loop2: rw=8388608, sector=393220, nr_sectors = 2 limit=1024 ------------[ cut here ]------------ inode->i_nlink == 0 WARNING: fs/inode.c:417 at drop_nlink+0xc5/0x110 fs/inode.c:417, CPU#0: syz.2.248/7462 Modules linked in: CPU: 0 UID: 0 PID: 7462 Comm: syz.2.248 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026 RIP: 0010:drop_nlink+0xc5/0x110 fs/inode.c:417 Code: c0 08 00 00 be 08 00 00 00 e8 57 13 eb ff f0 48 ff 83 c0 08 00 00 5b 41 5c 41 5e 41 5f 5d e9 92 f2 d8 08 cc e8 2c f7 85 ff 90 <0f> 0b 90 eb 81 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 5b ff ff ff RSP: 0018:ffffc9000623fa30 EFLAGS: 00010287 RAX: ffffffff823d1e54 RBX: ffff888063c55be0 RCX: 0000000000080000 RDX: ffffc9000e3da000 RSI: 0000000000001a11 RDI: 0000000000001a12 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: fffff52000c47ed0 R11: fffffbfff1e9250f R12: 1ffff1100c78ab85 R13: 0000000000000000 R14: ffff888063c55c28 R15: dffffc0000000000 FS: 00007f05a6d766c0(0000) GS:ffff888126595000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbab9b7a368 CR3: 0000000026326000 CR4: 00000000003526f0 Call Trace: hfsplus_unlink+0x409/0x930 fs/hfsplus/dir.c:402 hfsplus_rename+0xca/0x1f0 fs/hfsplus/dir.c:591 vfs_rename+0xa96/0xeb0 fs/namei.c:6026 filename_renameat2+0x539/0x9c0 fs/namei.c:6144 __do_sys_rename fs/namei.c:6188 [inline] __se_sys_rename+0x55/0x2c0 fs/namei.c:6184 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f05a8b1bf79 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:00007f05a6d76028 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f05a8d95fa0 RCX: 00007f05a8b1bf79 RDX: 0000000000000000 RSI: 0000200000000180 RDI: 0000200000000080 RBP: 00007f05a8bb27e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f05a8d96038 R14: 00007f05a8d95fa0 R15: 00007fff85ab0298