------------[ cut here ]------------ WARNING: CPU: 0 PID: 12090 at fs/buffer.c:1130 mark_buffer_dirty+0x376/0x3e0 fs/buffer.c:1130 Modules linked in: CPU: 0 PID: 12090 Comm: syz-executor.5 Not tainted 6.4.0-rc4-syzkaller-00078-g929ed21dfdb6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:mark_buffer_dirty+0x376/0x3e0 fs/buffer.c:1130 Code: e9 8f 77 8d ff e8 8a 77 8d ff 48 89 ef e8 b2 13 e8 ff 5b 5d e9 7b 77 8d ff e8 76 77 8d ff 0f 0b e9 10 fe ff ff e8 6a 77 8d ff <0f> 0b e9 b7 fc ff ff e8 5e 77 8d ff 0f 0b e9 d6 fc ff ff 48 89 df RSP: 0018:ffffc90005a5f730 EFLAGS: 00010212 RAX: 000000000000b30e RBX: ffff88803d7ad828 RCX: ffffc9000c310000 RDX: 0000000000040000 RSI: ffffffff81f6ccb6 RDI: 0000000000000001 RBP: 1ffff92000b4be00 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 000000000005f008 R12: 0000000000000000 R13: 0000000000000007 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007ff2bb93f700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f573c785998 CR3: 000000007d7a0000 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 handle_truncate fs/namei.c:3295 [inline] do_open fs/namei.c:3640 [inline] path_openat+0x2083/0x2750 fs/namei.c:3791 do_filp_open+0x1ba/0x410 fs/namei.c:3818 do_sys_openat2+0x16d/0x4c0 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1383 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:0x7ff2bac8c169 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:00007ff2bb93f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ff2badac050 RCX: 00007ff2bac8c169 RDX: 000000000000ff00 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007ff2bace7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe58189cbf R14: 00007ff2bb93f300 R15: 0000000000022000