syz.6.432: attempt to access beyond end of device loop6: rw=2049, sector=268435468, nr_sectors = 2 limit=64 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 10027 at fs/inode.c:417 drop_nlink+0xc5/0x110 fs/inode.c:417 Modules linked in: CPU: 1 UID: 0 PID: 10027 Comm: syz.6.432 Not tainted 6.16.0-rc6-syzkaller-00121-g6832a9317eee #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:drop_nlink+0xc5/0x110 fs/inode.c:417 Code: 78 07 00 00 be 08 00 00 00 e8 d7 33 e8 ff f0 48 ff 83 78 07 00 00 5b 41 5c 41 5e 41 5f 5d c3 cc cc cc cc cc e8 5c 4a 88 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:ffffc9000460fc90 EFLAGS: 00010283 RAX: ffffffff8237dd74 RBX: ffff88805b472a80 RCX: 0000000000080000 RDX: ffffc9000cead000 RSI: 0000000000000a31 RDI: 0000000000000a32 RBP: 0000000000000000 R08: ffffffff8fa0acf7 R09: 1ffffffff1f4159e R10: dffffc0000000000 R11: fffffbfff1f4159f R12: 1ffff1100b68e559 R13: ffffea0001069500 R14: ffff88805b472ac8 R15: dffffc0000000000 FS: 00007f7bc0b9c6c0(0000) GS:ffff888125d59000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b755f7b950 CR3: 0000000029610000 CR4: 00000000003526f0 Call Trace: inode_dec_link_count include/linux/fs.h:2634 [inline] minix_unlink+0x1de/0x290 fs/minix/namei.c:157 minix_rmdir+0x5d/0xd0 fs/minix/namei.c:167 vfs_rmdir+0x3ba/0x520 fs/namei.c:4470 do_rmdir+0x2ac/0x630 fs/namei.c:4525 __do_sys_rmdir fs/namei.c:4544 [inline] __se_sys_rmdir fs/namei.c:4542 [inline] __x64_sys_rmdir+0x47/0x50 fs/namei.c:4542 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7bbfd8e9a9 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:00007f7bc0b9c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 00007f7bbffb5fa0 RCX: 00007f7bbfd8e9a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00002000000001c0 RBP: 00007f7bbfe10ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7bbffb5fa0 R15: 00007ffc82f30ae8