------------[ cut here ]------------ WARNING: CPU: 1 PID: 7838 at fs/buffer.c:1081 mark_buffer_dirty+0x60a/0x9b0 fs/buffer.c:1081 Modules linked in: CPU: 1 PID: 7838 Comm: syz-executor190 Not tainted 6.0.0-rc6-syzkaller-00281-g1707c39ae309 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:mark_buffer_dirty+0x60a/0x9b0 fs/buffer.c:1081 Code: 89 f5 41 83 e5 01 4c 89 ee e8 f2 aa 94 ff 4d 85 ed 0f 84 d3 fd ff ff e8 04 ae 94 ff 49 8d 5e ff e9 c5 fd ff ff e8 f6 ad 94 ff <0f> 0b e9 25 fa ff ff e8 ea ad 94 ff 0f 0b e9 44 fa ff ff e8 de ad RSP: 0018:ffffc900052e75c8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88806ef48910 RCX: 0000000000000000 RDX: ffff888022668000 RSI: ffffffff81e75afa RDI: 0000000000000001 RBP: ffff888079a4c300 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880704a54a0 R13: ffff8880704a5350 R14: ffff888079a4c3c0 R15: ffff888079a4c3c8 FS: 00007fd80dea8700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020162000 CR3: 000000007c01b000 CR4: 0000000000350ee0 Call Trace: nilfs_palloc_commit_alloc_entry+0x6d/0x190 fs/nilfs2/alloc.c:586 nilfs_dat_commit_alloc+0x1da/0x2a0 fs/nilfs2/dat.c:89 nilfs_bmap_commit_alloc_ptr fs/nilfs2/bmap.h:194 [inline] nilfs_btree_commit_insert fs/nilfs2/btree.c:1211 [inline] nilfs_btree_insert+0xf10/0x1af0 fs/nilfs2/btree.c:1241 nilfs_bmap_do_insert fs/nilfs2/bmap.c:121 [inline] nilfs_bmap_insert+0x27a/0x3f0 fs/nilfs2/bmap.c:147 nilfs_get_block+0x562/0xa50 fs/nilfs2/inode.c:101 __block_write_begin_int+0x3ca/0x1520 fs/buffer.c:2006 __block_write_begin fs/buffer.c:2056 [inline] block_write_begin+0xb5/0x4d0 fs/buffer.c:2117 nilfs_write_begin+0x9c/0x1a0 fs/nilfs2/inode.c:261 generic_perform_write+0x246/0x560 mm/filemap.c:3738 __generic_file_write_iter+0x2aa/0x4d0 mm/filemap.c:3866 generic_file_write_iter+0xdf/0x350 mm/filemap.c:3898 call_write_iter include/linux/fs.h:2187 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x9e9/0xdd0 fs/read_write.c:578 ksys_write+0x127/0x250 fs/read_write.c:631 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd80df1dff9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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:00007fd80dea82f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fd80dfa54b0 RCX: 00007fd80df1dff9 RDX: 000000000208e24b RSI: 0000000020000100 RDI: 0000000000000003 RBP: 00007fd80df70210 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd80df700c8 R13: 0030656c69662f2e R14: 632e79726f6d656d R15: 00007fd80dfa54b8