NILFS error (device loop0): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS error (device loop0): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS error (device loop0): nilfs_bmap_lookup_contig: broken bmap (inode number=16) ------------[ cut here ]------------ WARNING: CPU: 1 PID: 8250 at fs/buffer.c:1177 mark_buffer_dirty+0x2d0/0x500 Modules linked in: CPU: 1 UID: 0 PID: 8250 Comm: syz-executor.0 Not tainted 6.12.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:mark_buffer_dirty+0x2d0/0x500 fs/buffer.c:1177 Code: 08 48 89 df e8 81 da dd ff 48 8b 3b be 20 00 00 00 5b 41 5c 41 5e 41 5f 5d e9 bc e9 fb ff e8 57 1d 77 ff eb 8d e8 50 1d 77 ff <0f> 0b e9 7a fd ff ff e8 44 1d 77 ff 0f 0b e9 a3 fd ff ff e8 38 1d RSP: 0018:ffffc900039df150 EFLAGS: 00010293 RAX: ffffffff821b8240 RBX: ffff888074aaf801 RCX: ffff888025c28000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff821b7fb4 R09: 1ffff1100ebf3b3f R10: dffffc0000000000 R11: ffffed100ebf3b40 R12: ffff888075f9d9f8 R13: ffff888071430818 R14: dffffc0000000000 R15: ffff888071cffa78 FS: 00007f86f86fe6c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f86ee8ff000 CR3: 0000000010cf8000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_dat_commit_entry fs/nilfs2/dat.c:63 [inline] nilfs_dat_commit_free fs/nilfs2/dat.c:126 [inline] nilfs_dat_commit_end+0x33e/0x4f0 fs/nilfs2/dat.c:218 nilfs_bmap_commit_end_ptr fs/nilfs2/bmap.h:231 [inline] nilfs_btree_commit_delete fs/nilfs2/btree.c:1577 [inline] nilfs_btree_delete+0xef4/0x11c0 fs/nilfs2/btree.c:1608 nilfs_bmap_do_delete fs/nilfs2/bmap.c:184 [inline] nilfs_bmap_do_truncate fs/nilfs2/bmap.c:272 [inline] nilfs_bmap_truncate+0x319/0x590 fs/nilfs2/bmap.c:305 nilfs_truncate_bmap+0x207/0x3d0 fs/nilfs2/inode.c:798 nilfs_truncate+0x28f/0x500 fs/nilfs2/inode.c:828 nilfs_setattr+0x20e/0x2c0 fs/nilfs2/inode.c:942 notify_change+0xbca/0xe90 fs/attr.c:503 do_truncate+0x220/0x310 fs/open.c:65 handle_truncate fs/namei.c:3395 [inline] do_open fs/namei.c:3778 [inline] path_openat+0x2e1a/0x3590 fs/namei.c:3933 do_filp_open+0x235/0x490 fs/namei.c:3960 do_sys_openat2+0x13e/0x1d0 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_openat fs/open.c:1446 [inline] __se_sys_openat fs/open.c:1441 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1441 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x82/0x160 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f86f7a7c959 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:00007f86f86fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f86f7b9bf80 RCX: 00007f86f7a7c959 RDX: 0000000000000600 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f86f7ad8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f86f7b9bf80 R15: 00007ffc375aa6b8