NILFS error (device loop4): nilfs_bmap_lookup_contig: broken bmap (inode number=2) ------------[ cut here ]------------ kernel BUG at fs/nilfs2/dir.c:544! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 PID: 5885 Comm: syz-executor.4 Not tainted 6.10.0-rc3-syzkaller-00022-gcea2a26553ac #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:nilfs_delete_entry+0x349/0x350 fs/nilfs2/dir.c:544 Code: 8c fe e9 de fd ff ff 44 89 f9 80 e1 07 fe c1 38 c1 0f 8c 20 ff ff ff 4c 89 ff e8 c2 bb 8c fe e9 13 ff ff ff e8 28 40 2a fe 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc900097df8b8 EFLAGS: 00010287 RAX: ffffffff836be5e8 RBX: 0000000000000068 RCX: 0000000000040000 RDX: ffffc9000a216000 RSI: 0000000000015543 RDI: 0000000000015544 RBP: 00000000fffffffb R08: ffffffff836be4be R09: 1ffff1100dcaaf79 R10: dffffc0000000000 R11: ffffed100dcaaf7a R12: ffffea00016f8f80 R13: ffff88805be3e050 R14: 0000000000000038 R15: ffff88805be3e038 FS: 00007feb67e7e6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffeb99e5538 CR3: 0000000024be6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_rename+0x57d/0xaf0 fs/nilfs2/namei.c:413 vfs_rename+0xbdb/0xf00 fs/namei.c:4887 do_renameat2+0xd94/0x13f0 fs/namei.c:5044 __do_sys_rename fs/namei.c:5091 [inline] __se_sys_rename fs/namei.c:5089 [inline] __x64_sys_rename+0x86/0xa0 fs/namei.c:5089 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7feb6707cea9 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:00007feb67e7e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007feb671b4050 RCX: 00007feb6707cea9 RDX: 0000000000000000 RSI: 0000000020000340 RDI: 00000000200002c0 RBP: 00007feb670ebff4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007feb671b4050 R15: 00007ffee7f708c8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:nilfs_delete_entry+0x349/0x350 fs/nilfs2/dir.c:544 Code: 8c fe e9 de fd ff ff 44 89 f9 80 e1 07 fe c1 38 c1 0f 8c 20 ff ff ff 4c 89 ff e8 c2 bb 8c fe e9 13 ff ff ff e8 28 40 2a fe 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc900097df8b8 EFLAGS: 00010287 RAX: ffffffff836be5e8 RBX: 0000000000000068 RCX: 0000000000040000 RDX: ffffc9000a216000 RSI: 0000000000015543 RDI: 0000000000015544 RBP: 00000000fffffffb R08: ffffffff836be4be R09: 1ffff1100dcaaf79 R10: dffffc0000000000 R11: ffffed100dcaaf7a R12: ffffea00016f8f80 R13: ffff88805be3e050 R14: 0000000000000038 R15: ffff88805be3e038 FS: 00007feb67e7e6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd3fc08b09 CR3: 0000000024be6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400