NILFS error (device loop1): nilfs_bmap_lookup_contig: broken bmap (inode number=2) Remounting filesystem read-only ------------[ cut here ]------------ kernel BUG at fs/nilfs2/dir.c:546! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 1 UID: 0 PID: 10377 Comm: syz.1.402 Not tainted 6.13.0-rc3-syzkaller-00209-g499551201b5f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:nilfs_delete_entry+0x515/0x520 fs/nilfs2/dir.c:546 Code: c6 e0 9c 46 8c e8 9b f3 6d fe 90 0f 0b e8 83 7b 26 fe 4c 89 ff 48 c7 c6 e0 9c 46 8c e8 84 f3 6d fe 90 0f 0b e8 6c 7b 26 fe 90 <0f> 0b 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000461fb08 EFLAGS: 00010283 RAX: ffffffff8378f834 RBX: ffffea0001dee101 RCX: 0000000000080000 RDX: ffffc9000d17d000 RSI: 0000000000004e88 RDI: 0000000000004e89 RBP: 00000000fffffffb R08: ffffffff8378f6a9 R09: 1ffff1100b1f4d3f R10: dffffc0000000000 R11: ffffed100b1f4d40 R12: ffff888077b85038 R13: 0000000000000068 R14: ffff888077b85050 R15: ffffea0001dee140 FS: 00007f6e751cd6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556e077808 CR3: 0000000066114000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_do_unlink+0x1ef/0x3d0 fs/nilfs2/namei.c:294 nilfs_unlink+0xed/0x1d0 fs/nilfs2/namei.c:315 vfs_unlink+0x365/0x650 fs/namei.c:4523 do_unlinkat+0x4ae/0x830 fs/namei.c:4587 __do_sys_unlink fs/namei.c:4635 [inline] __se_sys_unlink fs/namei.c:4633 [inline] __x64_sys_unlink+0x47/0x50 fs/namei.c:4633 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:0x7f6e74385d29 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:00007f6e751cd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 00007f6e74576080 RCX: 00007f6e74385d29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f6e74401aa8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f6e74576080 R15: 00007ffc2e0d5268 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:nilfs_delete_entry+0x515/0x520 fs/nilfs2/dir.c:546 Code: c6 e0 9c 46 8c e8 9b f3 6d fe 90 0f 0b e8 83 7b 26 fe 4c 89 ff 48 c7 c6 e0 9c 46 8c e8 84 f3 6d fe 90 0f 0b e8 6c 7b 26 fe 90 <0f> 0b 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000461fb08 EFLAGS: 00010283 RAX: ffffffff8378f834 RBX: ffffea0001dee101 RCX: 0000000000080000 RDX: ffffc9000d17d000 RSI: 0000000000004e88 RDI: 0000000000004e89 RBP: 00000000fffffffb R08: ffffffff8378f6a9 R09: 1ffff1100b1f4d3f R10: dffffc0000000000 R11: ffffed100b1f4d40 R12: ffff888077b85038 R13: 0000000000000068 R14: ffff888077b85050 R15: ffffea0001dee140 FS: 00007f6e751cd6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556e077808 CR3: 0000000066114000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400