------------[ cut here ]------------ WARNING: CPU: 1 PID: 8449 at include/linux/backing-dev.h:283 inode_to_wb include/linux/backing-dev.h:283 [inline] WARNING: CPU: 1 PID: 8449 at include/linux/backing-dev.h:283 account_page_dirtied+0x78f/0xbf0 mm/page-writeback.c:2430 Modules linked in: CPU: 1 PID: 8449 Comm: syz-executor.2 Not tainted 5.12.0-next-20210507-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 59 23 7a 07 31 ff 89 c3 89 c6 e8 8e 1c d9 ff 85 db 0f 85 94 fa ff ff e8 d1 14 d9 ff <0f> 0b e9 88 fa ff ff e8 c5 14 d9 ff 48 8d 7d 08 48 b8 00 00 00 00 RSP: 0018:ffffc900016ff878 EFLAGS: 00010093 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8880224b1c80 RSI: ffffffff819bc15f RDI: 0000000000000003 RBP: ffffea000063b040 R08: 0000000000000000 R09: ffff8881456ce497 R10: ffffffff819bc152 R11: 0000000000000000 R12: ffff8881456ce490 R13: ffff8881456ce2e8 R14: ffff8880832e0c90 R15: ffffea000063b048 FS: 0000000002c89400(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004ccfe4 CR3: 00000000730cd000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __set_page_dirty+0x7f/0x400 fs/buffer.c:608 mark_buffer_dirty+0x448/0x5d0 fs/buffer.c:1170 gfs2_unpin+0x123/0xd10 fs/gfs2/lops.c:111 buf_lo_after_commit+0x140/0x210 fs/gfs2/lops.c:750 lops_after_commit fs/gfs2/lops.h:48 [inline] gfs2_log_flush+0x1501/0x2f90 fs/gfs2/log.c:1107 do_sync+0x5ab/0xcd0 fs/gfs2/quota.c:967 gfs2_quota_sync+0x2e2/0x660 fs/gfs2/quota.c:1310 gfs2_sync_fs+0x40/0xb0 fs/gfs2/super.c:711 __sync_filesystem fs/sync.c:39 [inline] sync_filesystem fs/sync.c:64 [inline] sync_filesystem+0x105/0x260 fs/sync.c:48 generic_shutdown_super+0x70/0x370 fs/super.c:448 kill_block_super+0x97/0xf0 fs/super.c:1395 gfs2_kill_sb+0x104/0x160 fs/gfs2/ops_fstype.c:1681 deactivate_locked_super+0x94/0x160 fs/super.c:335 deactivate_super+0xad/0xd0 fs/super.c:366 cleanup_mnt+0x3a2/0x540 fs/namespace.c:1136 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x272/0x280 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:301 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x467a57 Code: ff d0 48 89 c7 b8 3c 00 00 00 0f 05 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 a6 00 00 00 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:00007ffd184e71f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000467a57 RDX: 00007ffd184e72ca RSI: 0000000000000002 RDI: 00007ffd184e72c0 RBP: 00007ffd184e72c0 R08: 00000000ffffffff R09: 00007ffd184e7090 R10: 0000000002c8a8e3 R11: 0000000000000246 R12: 00000000004bee98 R13: 00007ffd184e8390 R14: 0000000002c8a810 R15: 00007ffd184e83d0