------------[ cut here ]------------ WARNING: CPU: 0 PID: 5331 at fs/buffer.c:1193 mark_buffer_dirty+0x376/0x3e0 fs/buffer.c:1193 Modules linked in: CPU: 0 PID: 5331 Comm: syz-executor.4 Not tainted 6.5.0-rc1-syzkaller-00006-g3f01e9fed845 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:mark_buffer_dirty+0x376/0x3e0 fs/buffer.c:1193 Code: e9 5f 3b 8d ff e8 5a 3b 8d ff 48 89 ef e8 12 37 e8 ff 5b 5d e9 4b 3b 8d ff e8 46 3b 8d ff 0f 0b e9 10 fe ff ff e8 3a 3b 8d ff <0f> 0b e9 b7 fc ff ff e8 2e 3b 8d ff 0f 0b e9 d6 fc ff ff 48 89 df RSP: 0018:ffffc90004cdfb30 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880783d5000 RCX: 0000000000000000 RDX: ffff88801f120000 RSI: ffffffff81f7a686 RDI: 0000000000000001 RBP: 1ffff9200099bf00 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000007 R14: dffffc0000000000 R15: 0000000000000020 FS: 00007f780f0bc700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f780f0bc718 CR3: 000000002903b000 CR4: 0000000000350ef0 Call Trace: __nilfs_mark_inode_dirty+0xac/0x240 fs/nilfs2/inode.c:1115 nilfs_mark_inode_dirty fs/nilfs2/nilfs.h:288 [inline] nilfs_truncate+0x3e8/0x510 fs/nilfs2/inode.c:882 nilfs_setattr+0x257/0x2b0 fs/nilfs2/inode.c:990 notify_change+0xb2c/0x1180 fs/attr.c:483 do_truncate+0x143/0x200 fs/open.c:66 do_sys_ftruncate+0x549/0x780 fs/open.c:194 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f781808c389 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f780f0bc168 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f78181ac120 RCX: 00007f781808c389 RDX: 0000000000000000 RSI: 0000000000008000 RDI: 0000000000000007 RBP: 00007f78180d7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd8357670f R14: 00007f780f0bc300 R15: 0000000000022000