WARNING: CPU: 1 PID: 11415 at include/linux/backing-dev.h:340 inode_to_wb include/linux/backing-dev.h:340 [inline]
WARNING: CPU: 1 PID: 11415 at include/linux/backing-dev.h:340 account_page_dirtied+0x8cc/0xbb0 mm/page-writeback.c:2420
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 11415 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:inode_to_wb include/linux/backing-dev.h:340 [inline]
RIP: 0010:account_page_dirtied+0x8cc/0xbb0 mm/page-writeback.c:2420
Code: 88 01 00 00 be ff ff ff ff 48 8d 78 70 e8 ec e1 ca ff 31 ff 89 c3 89 c6 e8 f1 b3 e2 ff 85 db 0f 85 39 f9 ff ff e8 74 b2 e2 ff <0f> 0b e9 2d f9 ff ff e8 68 b2 e2 ff 4c 89 e6 4c 89 ef e8 9d b3 2d
RSP: 0018:ffff888044147358 EFLAGS: 00010016
RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90006723000
RDX: 0000000000003bfa RSI: ffffffff817fd2fc RDI: 0000000000000005
RBP: ffff888038309b48 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffffea0002931580
R13: ffff8880383099c0 R14: ffff888038309838 R15: ffffea0002931588
 __set_page_dirty+0x7f/0x3e0 fs/buffer.c:582
 mark_buffer_dirty+0x424/0x5c0 fs/buffer.c:1111
 nilfs_btree_do_insert fs/nilfs2/btree.c:811 [inline]
 nilfs_btree_do_insert+0x2d0/0x390 fs/nilfs2/btree.c:798
 nilfs_btree_commit_insert fs/nilfs2/btree.c:1212 [inline]
 nilfs_btree_insert+0xe0d/0x1ae0 fs/nilfs2/btree.c:1240
 nilfs_bmap_do_insert fs/nilfs2/bmap.c:121 [inline]
 nilfs_bmap_insert+0x27a/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+0x59a/0xd40 fs/nilfs2/mdt.c:254
 nilfs_palloc_get_block+0xc4/0x2b0 fs/nilfs2/alloc.c:216
 nilfs_palloc_get_entry_block+0x17b/0x230 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+0x3cb/0x4e0 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+0x4d5/0x970 fs/nilfs2/inode.c:96
 __block_write_begin_int+0x46c/0x17b0 fs/buffer.c:1978
 nilfs_prepare_chunk fs/nilfs2/dir.c:92 [inline]
 nilfs_make_empty+0x110/0x7e0 fs/nilfs2/dir.c:591
 nilfs_mkdir fs/nilfs2/namei.c:227 [inline]
 nilfs_mkdir+0x1e8/0x360 fs/nilfs2/namei.c:204
 vfs_mkdir+0x508/0x7a0 fs/namei.c:3819
 do_mkdirat+0x262/0x2d0 fs/namei.c:3842
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f0f714dd0f9
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:00007f0f6fa4f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f0f715fcf80 RCX: 00007f0f714dd0f9
RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000004
RBP: 00007f0f71538ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdd398808f R14: 00007f0f6fa4f300 R15: 0000000000022000
Kernel Offset: disabled
Rebooting in 86400 seconds..