gfs2: fsid=syz:syz.0: first mount done, others may mount ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5441 at include/linux/backing-dev.h:255 folio_account_dirtied mm/page-writeback.c:2618 [inline] WARNING: CPU: 0 PID: 5441 at include/linux/backing-dev.h:255 __folio_mark_dirty+0x900/0x10b0 mm/page-writeback.c:2669 Modules linked in: CPU: 0 PID: 5441 Comm: syz-executor.0 Not tainted 6.6.0-rc2-syzkaller-00018-g2cf0f7156238 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:inode_to_wb include/linux/backing-dev.h:252 [inline] RIP: 0010:folio_account_dirtied mm/page-writeback.c:2618 [inline] RIP: 0010:__folio_mark_dirty+0x900/0x10b0 mm/page-writeback.c:2669 Code: e9 95 f8 ff ff e8 30 1b cb ff 0f 0b e9 e8 f8 ff ff e8 24 1b cb ff 4c 89 f7 48 8b 74 24 20 e8 57 50 2d 00 eb 9f e8 10 1b cb ff <0f> 0b e9 36 fb ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c fd f8 ff RSP: 0018:ffffc90005677200 EFLAGS: 00010093 RAX: ffffffff81c2eff0 RBX: 0000000000000000 RCX: ffff8880147a0000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff88801ac8ccf8 R08: ffffffff81c2eb20 R09: 1ffff1100359199f R10: dffffc0000000000 R11: ffffed10035919a0 R12: 0000000000000001 R13: ffff88801ac8cb80 R14: ffffea00007afb40 R15: 1ffff1100359199f FS: 00007fdc69ffe6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdc6ad0642e CR3: 0000000069781000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_buffer_dirty+0x29b/0x500 fs/buffer.c:1212 gfs2_unpin+0x129/0xa60 fs/gfs2/lops.c:111 buf_lo_after_commit+0x14f/0x1a0 fs/gfs2/lops.c:745 lops_after_commit fs/gfs2/lops.h:49 [inline] gfs2_log_flush+0x119b/0x25f0 fs/gfs2/log.c:1115 gfs2_trans_end+0x39f/0x560 fs/gfs2/trans.c:158 alloc_dinode+0x45c/0x5d0 fs/gfs2/inode.c:431 gfs2_create_inode+0xf9c/0x1ad0 fs/gfs2/inode.c:737 gfs2_atomic_open+0xe5/0x230 fs/gfs2/inode.c:1313 atomic_open fs/namei.c:3358 [inline] lookup_open fs/namei.c:3466 [inline] open_last_lookups fs/namei.c:3563 [inline] path_openat+0x1044/0x3180 fs/namei.c:3793 do_filp_open+0x234/0x490 fs/namei.c:3823 do_sys_openat2+0x13e/0x1d0 fs/open.c:1422 do_sys_open fs/open.c:1437 [inline] __do_sys_open fs/open.c:1445 [inline] __se_sys_open fs/open.c:1441 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1441 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fdc6ac7cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdc69ffe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fdc6ad9bf80 RCX: 00007fdc6ac7cae9 RDX: 0000000000000000 RSI: 000000000004c37e RDI: 0000000020000000 RBP: 00007fdc6acc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fdc6ad9bf80 R15: 00007ffc96e8e968