------------[ cut here ]------------ WARNING: CPU: 0 PID: 323 at include/linux/backing-dev.h:289 inode_to_wb include/linux/backing-dev.h:285 [inline] WARNING: CPU: 0 PID: 323 at include/linux/backing-dev.h:289 account_page_dirtied mm/page-writeback.c:2474 [inline] WARNING: CPU: 0 PID: 323 at include/linux/backing-dev.h:289 __set_page_dirty+0xaf5/0xdc0 mm/page-writeback.c:2522 Modules linked in: CPU: 0 PID: 323 Comm: kworker/u4:3 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: writeback wb_workfn (flush-7:0) RIP: 0010:inode_to_wb include/linux/backing-dev.h:285 [inline] RIP: 0010:account_page_dirtied mm/page-writeback.c:2474 [inline] RIP: 0010:__set_page_dirty+0xaf5/0xdc0 mm/page-writeback.c:2522 Code: 3c d7 ff 49 ff cf e9 5b fc ff ff e8 85 3c d7 ff 48 ff cb e9 e4 fb ff ff e8 78 3c d7 ff 48 ff cb e9 c4 fc ff ff e8 6b 3c d7 ff <0f> 0b 43 80 3c 3e 00 0f 85 8f f9 ff ff e9 92 f9 ff ff 89 d9 80 e1 RSP: 0018:ffffc90002f0f158 EFLAGS: 00010093 RAX: ffffffff81a085b5 RBX: 0000000000000000 RCX: ffff88801e0cd940 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffea0001eae140 R08: dffffc0000000000 R09: ffffed1002d92b4f R10: ffffed1002d92b4f R11: 1ffff11002d92b4e R12: ffff888016c958f8 R13: ffff888016c95a70 R14: 1ffff11002d92b4e R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5033130000 CR3: 00000000743c0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_buffer_dirty+0x2d7/0x490 fs/buffer.c:1108 gfs2_unpin+0x126/0x9a0 fs/gfs2/lops.c:111 buf_lo_after_commit+0x15a/0x1a0 fs/gfs2/lops.c:750 lops_after_commit fs/gfs2/lops.h:49 [inline] gfs2_log_flush+0x1145/0x2610 fs/gfs2/log.c:1108 gfs2_write_inode+0x2a5/0x430 fs/gfs2/super.c:439 write_inode fs/fs-writeback.c:1495 [inline] __writeback_single_inode+0x6c3/0xda0 fs/fs-writeback.c:1705 writeback_sb_inodes+0x9fe/0x1610 fs/fs-writeback.c:1930 __writeback_inodes_wb+0x12a/0x3f0 fs/fs-writeback.c:2001 wb_writeback+0x455/0xb90 fs/fs-writeback.c:2106 wb_check_old_data_flush fs/fs-writeback.c:2206 [inline] wb_do_writeback fs/fs-writeback.c:2259 [inline] wb_workfn+0xaaa/0xe60 fs/fs-writeback.c:2288 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287