------------[ cut here ]------------ WARNING: CPU: 1 PID: 16610 at include/linux/backing-dev.h:256 folio_account_dirtied+0x4e9/0x6e0 mm/page-writeback.c:2677 Modules linked in: CPU: 1 PID: 16610 Comm: syz-executor.2 Not tainted 6.2.0-rc6-syzkaller-00083-ge7368fd30165 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:inode_to_wb include/linux/backing-dev.h:253 [inline] RIP: 0010:folio_account_dirtied+0x4e9/0x6e0 mm/page-writeback.c:2677 Code: 5d 41 5e 41 5f 5d c3 e8 a5 3b cf ff 4c 89 ef 4c 89 e6 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d e9 5c 6c 2c 00 e8 87 3b cf ff <0f> 0b e9 8a fd ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 7a fb ff RSP: 0000:ffffc90005707450 EFLAGS: 00010087 RAX: ffffffff81bb90e9 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000a8f9000 RSI: 0000000000028a27 RDI: 0000000000028a28 RBP: ffff88801bcb3e78 R08: ffffffff81bb8e6d R09: fffff940003e0971 R10: fffff940003e0971 R11: 1ffffd40003e0970 R12: dffffc0000000000 R13: ffffea0001f04b80 R14: 0000000000000001 R15: 1ffff110037967cf FS: 00007f117a84f700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc4ec4b7000 CR3: 000000001ec73000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __folio_mark_dirty+0x125/0x260 mm/page-writeback.c:2728 __set_page_dirty include/linux/pagemap.h:1052 [inline] mark_buffer_dirty+0x253/0x550 fs/buffer.c:1105 gfs2_unpin+0x10b/0xa20 fs/gfs2/lops.c:111 buf_lo_after_commit+0x172/0x1d0 fs/gfs2/lops.c:747 lops_after_commit fs/gfs2/lops.h:49 [inline] gfs2_log_flush+0x1179/0x26a0 fs/gfs2/log.c:1116 gfs2_write_inode+0x208/0x3a0 fs/gfs2/super.c:436 write_inode fs/fs-writeback.c:1451 [inline] __writeback_single_inode+0x4d6/0x670 fs/fs-writeback.c:1663 writeback_single_inode+0x21e/0x810 fs/fs-writeback.c:1719 sync_inode_metadata+0xce/0x130 fs/fs-writeback.c:2775 gfs2_fsync+0x19c/0x340 fs/gfs2/file.c:757 __gfs2_fallocate+0x1ade/0x1e10 fs/gfs2/file.c:1337 gfs2_fallocate+0x317/0x440 fs/gfs2/file.c:1383 vfs_fallocate+0x515/0x670 fs/open.c:323 ksys_fallocate fs/open.c:346 [inline] __do_sys_fallocate fs/open.c:354 [inline] __se_sys_fallocate fs/open.c:352 [inline] __x64_sys_fallocate+0xb9/0x100 fs/open.c:352 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f1179a8c0c9 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:00007f117a84f168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f1179babf80 RCX: 00007f1179a8c0c9 RDX: 0000000000001f02 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f1179ae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000401 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcbfc41bcf R14: 00007f117a84f300 R15: 0000000000022000