------------[ cut here ]------------ WARNING: CPU: 0 PID: 628 at include/linux/backing-dev.h:288 inode_to_wb include/linux/backing-dev.h:285 [inline] WARNING: CPU: 0 PID: 628 at include/linux/backing-dev.h:288 account_page_dirtied mm/page-writeback.c:2474 [inline] WARNING: CPU: 0 PID: 628 at include/linux/backing-dev.h:288 __set_page_dirty+0x8f8/0xc7c mm/page-writeback.c:2522 Modules linked in: CPU: 0 PID: 628 Comm: kworker/u4:8 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: writeback wb_workfn (flush-7:0) pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inode_to_wb include/linux/backing-dev.h:285 [inline] pc : account_page_dirtied mm/page-writeback.c:2474 [inline] pc : __set_page_dirty+0x8f8/0xc7c mm/page-writeback.c:2522 lr : inode_to_wb include/linux/backing-dev.h:285 [inline] lr : account_page_dirtied mm/page-writeback.c:2474 [inline] lr : __set_page_dirty+0x8f8/0xc7c mm/page-writeback.c:2522 sp : ffff800020826f00 x29: ffff800020826f10 x28: 0000000000000000 x27: 1fffe0001d66f44a x26: dfff800000000000 x25: 1fffe00018092b51 x24: 0000000000000000 x23: ffff0000c0495a88 x22: 0000000000000000 x21: 0000000000000003 x20: ffff0000eb37a258 x19: fffffc0003a89c00 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000082eada8 x15: 0000000000000002 x14: 1ffff0000295806a x13: dfff800000000000 x12: ffff700004104dc4 x11: 0000000000000001 x10: 0000000000000000 x9 : ffff0000c8fc51c0 x8 : ffff800008708e98 x7 : ffff8000087085e8 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff800008305408 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: inode_to_wb include/linux/backing-dev.h:285 [inline] account_page_dirtied mm/page-writeback.c:2474 [inline] __set_page_dirty+0x8f8/0xc7c mm/page-writeback.c:2522 mark_buffer_dirty+0x27c/0x574 fs/buffer.c:1108 gfs2_unpin+0x12c/0xcc0 fs/gfs2/lops.c:111 buf_lo_after_commit+0x134/0x18c fs/gfs2/lops.c:750 lops_after_commit fs/gfs2/lops.h:49 [inline] gfs2_log_flush+0xd50/0x21d4 fs/gfs2/log.c:1108 gfs2_write_inode+0x230/0x3ec fs/gfs2/super.c:439 write_inode fs/fs-writeback.c:1495 [inline] __writeback_single_inode+0x584/0x13a4 fs/fs-writeback.c:1705 writeback_sb_inodes+0x94c/0x1654 fs/fs-writeback.c:1930 __writeback_inodes_wb+0x110/0x39c fs/fs-writeback.c:2001 wb_writeback+0x410/0xfc8 fs/fs-writeback.c:2106 wb_check_background_flush fs/fs-writeback.c:2172 [inline] wb_do_writeback fs/fs-writeback.c:2260 [inline] wb_workfn+0xc44/0x1070 fs/fs-writeback.c:2288 process_one_work+0x790/0x11b8 kernel/workqueue.c:2310 worker_thread+0x910/0x1034 kernel/workqueue.c:2457 kthread+0x37c/0x45c kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 irq event stamp: 121454 hardirqs last enabled at (121453): [] lock_page_memcg+0x11c/0x244 mm/memcontrol.c:2056 hardirqs last disabled at (121454): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (121454): [] _raw_spin_lock_irqsave+0xfc/0x14c kernel/locking/spinlock.c:162 softirqs last enabled at (120660): [] spin_unlock_bh include/linux/spinlock.h:408 [inline] softirqs last enabled at (120660): [] ieee80211_ibss_work+0x2d8/0x1230 net/mac80211/ibss.c:1706 softirqs last disabled at (120658): [] spin_lock_bh include/linux/spinlock.h:368 [inline] softirqs last disabled at (120658): [] ieee80211_ibss_work+0xd8/0x1230 net/mac80211/ibss.c:1695 ---[ end trace fd59565ff64babfd ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 628 at include/linux/backing-dev.h:288 inode_to_wb include/linux/backing-dev.h:285 [inline] WARNING: CPU: 0 PID: 628 at include/linux/backing-dev.h:288 __test_set_page_writeback+0xa58/0xc70 mm/page-writeback.c:2862 Modules linked in: CPU: 0 PID: 628 Comm: kworker/u4:8 Tainted: G W 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: writeback wb_workfn (flush-7:0) pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inode_to_wb include/linux/backing-dev.h:285 [inline] pc : __test_set_page_writeback+0xa58/0xc70 mm/page-writeback.c:2862 lr : inode_to_wb include/linux/backing-dev.h:285 [inline] lr : __test_set_page_writeback+0xa58/0xc70 mm/page-writeback.c:2862 sp : ffff800020826b00 x29: ffff800020826be0 x28: 0000000000000000 x27: 0000000000000000 x26: ffff0000c04958e0 x25: 0000000000000003 x24: 0000000000000000 x23: ffff0000eb3782a0 x22: fffffc0003b4fe08 x21: ffff800020826b60 x20: 1fffff8000769fc1 x19: fffffc0003b4fe00 x18: ffff8000208267e0 x17: 0000000000000000 x16: ffff8000082eada8 x15: 000000000001e3e1 x14: ffff800017140500 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000001 x10: 0000000000000000 x9 : ffff0000c8fc51c0 x8 : ffff80000870ba8c x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff80000870b54c x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: inode_to_wb include/linux/backing-dev.h:285 [inline] __test_set_page_writeback+0xa58/0xc70 mm/page-writeback.c:2862 set_page_writeback include/linux/page-flags.h:582 [inline] gfs2_aspace_writepage+0x550/0x71c fs/gfs2/meta_io.c:73 __writepage+0x70/0x16c mm/page-writeback.c:2342 write_cache_pages+0x878/0xf58 mm/page-writeback.c:2277 generic_writepages mm/page-writeback.c:2368 [inline] do_writepages+0x3f8/0x5ec mm/page-writeback.c:2388 filemap_fdatawrite_wbc+0x1c8/0x228 mm/filemap.c:400 __filemap_fdatawrite_range mm/filemap.c:433 [inline] __filemap_fdatawrite mm/filemap.c:439 [inline] filemap_fdatawrite+0x11c/0x184 mm/filemap.c:444 gfs2_write_inode+0x2e0/0x3ec fs/gfs2/super.c:445 write_inode fs/fs-writeback.c:1495 [inline] __writeback_single_inode+0x584/0x13a4 fs/fs-writeback.c:1705 writeback_sb_inodes+0x94c/0x1654 fs/fs-writeback.c:1930 __writeback_inodes_wb+0x110/0x39c fs/fs-writeback.c:2001 wb_writeback+0x410/0xfc8 fs/fs-writeback.c:2106 wb_check_background_flush fs/fs-writeback.c:2172 [inline] wb_do_writeback fs/fs-writeback.c:2260 [inline] wb_workfn+0xc44/0x1070 fs/fs-writeback.c:2288 process_one_work+0x790/0x11b8 kernel/workqueue.c:2310 worker_thread+0x910/0x1034 kernel/workqueue.c:2457 kthread+0x37c/0x45c kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 irq event stamp: 121528 hardirqs last enabled at (121527): [] lock_page_memcg+0x11c/0x244 mm/memcontrol.c:2056 hardirqs last disabled at (121528): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (121528): [] _raw_spin_lock_irqsave+0xfc/0x14c kernel/locking/spinlock.c:162 softirqs last enabled at (120660): [] spin_unlock_bh include/linux/spinlock.h:408 [inline] softirqs last enabled at (120660): [] ieee80211_ibss_work+0x2d8/0x1230 net/mac80211/ibss.c:1706 softirqs last disabled at (120658): [] spin_lock_bh include/linux/spinlock.h:368 [inline] softirqs last disabled at (120658): [] ieee80211_ibss_work+0xd8/0x1230 net/mac80211/ibss.c:1695 ---[ end trace fd59565ff64babfe ]---