NILFS (loop2): error -5 truncating bmap (ino=16) ------------[ cut here ]------------ WARNING: CPU: 1 PID: 14456 at fs/buffer.c:1193 mark_buffer_dirty+0x2dd/0x500 Modules linked in: CPU: 1 PID: 14456 Comm: syz-executor.2 Not tainted 6.5.0-rc5-syzkaller-00063-g374a7f47bf40 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:mark_buffer_dirty+0x2dd/0x500 fs/buffer.c:1193 Code: df e8 c7 17 e0 ff 48 8b 3b be 04 00 00 00 5b 41 5c 41 5e 41 5f 5d e9 62 5d fc ff e8 5d 49 87 ff e9 71 ff ff ff e8 53 49 87 ff <0f> 0b e9 6d fd ff ff e8 47 49 87 ff 0f 0b e9 96 fd ff ff e8 3b 49 RSP: 0018:ffffc90016a27a30 EFLAGS: 00010287 RAX: ffffffff82046ecd RBX: ffff88803e8c2e01 RCX: 0000000000040000 RDX: ffffc900120cc000 RSI: 000000000001f96b RDI: 000000000001f96c RBP: 0000000000000000 R08: ffffffff82046c34 R09: 1ffff11007d1dd5c R10: dffffc0000000000 R11: ffffed1007d1dd5d R12: ffff88803e8eeae0 R13: dffffc0000000000 R14: ffffc90016a27aa0 R15: 1ffff92002d44f54 FS: 00007f64d33506c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f415c1305a8 CR3: 0000000015fdb000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __nilfs_mark_inode_dirty+0x105/0x280 fs/nilfs2/inode.c:1115 nilfs_mark_inode_dirty fs/nilfs2/nilfs.h:288 [inline] nilfs_truncate+0x403/0x500 fs/nilfs2/inode.c:882 nilfs_setattr+0x21a/0x2c0 fs/nilfs2/inode.c:990 notify_change+0xc8b/0xf40 fs/attr.c:483 do_truncate+0x220/0x300 fs/open.c:66 do_sys_ftruncate+0x2f3/0x390 fs/open.c:194 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f64d267cae9 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:00007f64d33500c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f64d279c050 RCX: 00007f64d267cae9 RDX: 0000000000000000 RSI: 0000000002007ffb RDI: 0000000000000005 RBP: 00007f64d26c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f64d279c050 R15: 00007ffe78d7fe58