------------[ cut here ]------------ WARNING: CPU: 0 PID: 10335 at fs/buffer.c:1188 mark_buffer_dirty+0x376/0x3e0 fs/buffer.c:1188 Modules linked in: CPU: 0 PID: 10335 Comm: syz-executor.4 Not tainted 6.5.0-rc6-next-20230818-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:mark_buffer_dirty+0x376/0x3e0 fs/buffer.c:1188 Code: e9 df 1c 8a ff e8 da 1c 8a ff 48 89 ef e8 72 7e e7 ff 5b 5d e9 cb 1c 8a ff e8 c6 1c 8a ff 0f 0b e9 10 fe ff ff e8 ba 1c 8a ff <0f> 0b e9 b7 fc ff ff e8 ae 1c 8a ff 0f 0b e9 d6 fc ff ff 48 89 df RSP: 0018:ffffc9000b70fb38 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88805ff8dbc8 RCX: 0000000000000000 RDX: ffff88801ddebb80 RSI: ffffffff81fdb6b6 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff920016e1f6b R13: 0000000000000007 R14: ffff888067673b28 R15: 0000000000000020 FS: 00007f99e98626c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000649a0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __nilfs_mark_inode_dirty+0x13e/0x300 fs/nilfs2/inode.c:1123 nilfs_mark_inode_dirty fs/nilfs2/nilfs.h:288 [inline] nilfs_truncate+0x3ad/0x4c0 fs/nilfs2/inode.c:882 nilfs_setattr+0x26d/0x2c0 fs/nilfs2/inode.c:990 notify_change+0x742/0x11c0 fs/attr.c:499 do_truncate+0x15c/0x220 fs/open.c:66 do_sys_ftruncate+0x6a2/0x790 fs/open.c:194 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f99e8a7cae9 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:00007f99e98620c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f99e8b9c050 RCX: 00007f99e8a7cae9 RDX: 0000000000000000 RSI: 0000000000008000 RDI: 0000000000000007 RBP: 00007f99e8ac847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f99e8b9c050 R15: 00007ffe2dbe3b68