------------[ cut here ]------------ WARNING: CPU: 1 PID: 23009 at include/linux/backing-dev.h:283 inode_to_wb include/linux/backing-dev.h:283 [inline] WARNING: CPU: 1 PID: 23009 at include/linux/backing-dev.h:283 account_page_dirtied+0x78f/0xbf0 mm/page-writeback.c:2430 Modules linked in: CPU: 1 PID: 23009 Comm: syz-executor.3 Not tainted 5.13.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:inode_to_wb include/linux/backing-dev.h:283 [inline] RIP: 0010:account_page_dirtied+0x78f/0xbf0 mm/page-writeback.c:2430 Code: a8 01 00 00 be ff ff ff ff 48 8d 78 70 e8 09 b5 7a 07 31 ff 89 c3 89 c6 e8 9e 13 d9 ff 85 db 0f 85 94 fa ff ff e8 e1 0b d9 ff <0f> 0b e9 88 fa ff ff e8 d5 0b d9 ff 48 8d 7d 08 48 b8 00 00 00 00 RSP: 0018:ffffc9000140f168 EFLAGS: 00010016 RAX: 0000000000025188 RBX: 0000000000000000 RCX: ffffc9000f8fd000 RDX: 0000000000040000 RSI: ffffffff819bd09f RDI: 0000000000000003 RBP: ffffea0000bc4940 R08: 0000000000000000 R09: ffff88808b129a97 R10: ffffffff819bd092 R11: 0000000000000000 R12: ffff88808b129a90 R13: ffff88808b1298e8 R14: ffff88808b129740 R15: ffffea0000bc4948 FS: 00007f78cf2ed700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9d66540718 CR3: 000000006e0a2000 CR4: 0000000000350ee0 Call Trace: __set_page_dirty+0x7f/0x400 fs/buffer.c:608 mark_buffer_dirty+0x448/0x5d0 fs/buffer.c:1133 nilfs_btree_commit_convert_and_insert fs/nilfs2/btree.c:1812 [inline] nilfs_btree_convert_and_insert+0xdaf/0x1170 fs/nilfs2/btree.c:1877 nilfs_bmap_do_insert fs/nilfs2/bmap.c:111 [inline] nilfs_bmap_insert+0x2a1/0x3f0 fs/nilfs2/bmap.c:147 nilfs_mdt_insert_new_block fs/nilfs2/mdt.c:44 [inline] nilfs_mdt_create_block fs/nilfs2/mdt.c:93 [inline] nilfs_mdt_get_block+0x5c4/0xda0 fs/nilfs2/mdt.c:254 nilfs_palloc_get_block+0xc4/0x2b0 fs/nilfs2/alloc.c:216 nilfs_palloc_get_entry_block+0x167/0x1d0 fs/nilfs2/alloc.c:318 nilfs_dat_prepare_entry fs/nilfs2/dat.c:43 [inline] nilfs_dat_prepare_alloc fs/nilfs2/dat.c:69 [inline] nilfs_dat_prepare_alloc+0x61/0xb0 fs/nilfs2/dat.c:61 nilfs_bmap_prepare_alloc_ptr fs/nilfs2/bmap.h:183 [inline] nilfs_direct_insert+0x3f2/0x530 fs/nilfs2/direct.c:122 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:97 __block_write_begin_int+0x424/0x1770 fs/buffer.c:2031 __block_write_begin fs/buffer.c:2081 [inline] block_write_begin+0x58/0x2e0 fs/buffer.c:2141 nilfs_write_begin+0xa5/0x1b0 fs/nilfs2/inode.c:259 generic_perform_write+0x20a/0x4f0 mm/filemap.c:3660 __generic_file_write_iter+0x497/0x610 mm/filemap.c:3757 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3821 call_write_iter include/linux/fs.h:2114 [inline] new_sync_write+0x426/0x650 fs/read_write.c:518 vfs_write+0x796/0xa30 fs/read_write.c:605 ksys_write+0x12d/0x250 fs/read_write.c:658 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f78cf2ed188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665d9 RDX: 00000000000ffe00 RSI: 0000000020004200 RDI: 0000000000000003 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffec0f585cf R14: 00007f78cf2ed300 R15: 0000000000022000