------------[ cut here ]------------
WARNING: CPU: 1 PID: 6028 at fs/buffer.c:1188 mark_buffer_dirty+0x2bb/0x4c0 fs/buffer.c:1188
Modules linked in:
CPU: 1 PID: 6028 Comm: syz.0.39 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
RIP: 0010:mark_buffer_dirty+0x2bb/0x4c0 fs/buffer.c:1188
Code: 00 00 00 5b 41 5c 41 5e 41 5f 5d e9 9f 9a fc ff e8 ba b6 88 ff 48 89 df 5b 41 5c 41 5e 41 5f 5d e9 ea 08 e8 ff e8 a5 b6 88 ff <0f> 0b e9 84 fd ff ff e8 99 b6 88 ff 0f 0b e9 b0 fd ff ff e8 8d b6
RSP: 0018:ffffc900035e7330 EFLAGS: 00010293
RAX: ffffffff81fe6b5b RBX: ffff8880612d7740 RCX: ffff88802d443c00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002
RBP: 1ffff11008029201 R08: ffff8880612d7747 R09: 1ffff1100c25aee8
R10: dffffc0000000000 R11: ffffed100c25aee9 R12: dffffc0000000000
R13: 1ffff110080292d8 R14: ffff8880401496c8 R15: ffff888073eee7d8
FS: 00007f7a5ddff6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000003e000 CR3: 0000000062830000 CR4: 00000000003506e0
Call Trace:
<TASK>
nilfs_palloc_commit_alloc_entry+0x6a/0x150 fs/nilfs2/alloc.c:597
nilfs_dat_commit_alloc+0x1b7/0x2d0 fs/nilfs2/dat.c:102
nilfs_bmap_commit_alloc_ptr fs/nilfs2/bmap.h:194 [inline]
nilfs_btree_commit_insert fs/nilfs2/btree.c:1226 [inline]
nilfs_btree_insert+0x13f6/0x1b30 fs/nilfs2/btree.c:1256
nilfs_bmap_do_insert fs/nilfs2/bmap.c:129 [inline]
nilfs_bmap_insert+0x242/0x3f0 fs/nilfs2/bmap.c:155
nilfs_get_block+0x3fa/0x930 fs/nilfs2/inode.c:101
__block_write_begin_int+0x57f/0x1af0 fs/buffer.c:2124
__block_write_begin fs/buffer.c:2173 [inline]
block_write_begin+0x9a/0x1e0 fs/buffer.c:2234
nilfs_write_begin+0xa3/0x110 fs/nilfs2/inode.c:261
generic_perform_write+0x2fe/0x5c0 mm/filemap.c:4036
__generic_file_write_iter+0x1ac/0x230 mm/filemap.c:4128
generic_file_write_iter+0xaf/0x2e0 mm/filemap.c:4157
do_iter_readv_writev fs/read_write.c:-1 [inline]
do_iter_write+0x738/0xc30 fs/read_write.c:860
vfs_writev fs/read_write.c:933 [inline]
do_pwritev+0x241/0x3a0 fs/read_write.c:1030
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f7a5cf9cdd9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f7a5ddff028 EFLAGS: 00000246 ORIG_RAX: 0000000000000148
RAX: ffffffffffffffda RBX: 00007f7a5d215fa0 RCX: 00007f7a5cf9cdd9
RDX: 0000000000000001 RSI: 0000200000000240 RDI: 0000000000000004
RBP: 00007f7a5d032d69 R08: 0000000000000000 R09: 0000000000000003
R10: 0000000000002000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f7a5d216038 R14: 00007f7a5d215fa0 R15: 00007ffc62d5e2e8
</TASK>