------------[ cut here ]------------ WARNING: CPU: 0 PID: 136 at include/linux/backing-dev.h:288 inode_to_wb include/linux/backing-dev.h:285 [inline] WARNING: CPU: 0 PID: 136 at include/linux/backing-dev.h:288 account_page_dirtied mm/page-writeback.c:2474 [inline] WARNING: CPU: 0 PID: 136 at include/linux/backing-dev.h:288 __set_page_dirty+0x8f8/0xc7c mm/page-writeback.c:2522 Modules linked in: CPU: 0 PID: 136 Comm: kworker/u4:1 Not tainted 5.15.179-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 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 : ffff80001d6e6f00 x29: ffff80001d6e6f10 x28: 0000000000000000 x27: 1fffe0001b880c4a x26: dfff800000000000 x25: 1fffe00018a67b51 x24: 0000000000000000 x23: ffff0000c533da88 x22: 0000000000000000 x21: 0000000000000003 x20: ffff0000dc406258 x19: fffffc000338a0c0 x18: ffff80001d6e6be0 x17: 1fffe0003682e78e x16: ffff8000082eb59c x15: 000000000000c9cb x14: ffff8000172044c0 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000001 x10: 0000000000000000 x9 : ffff0000c23f9b40 x8 : ffff80000870b1c4 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff800008a3dcc0 x2 : ffff0000cbf50060 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_old_data_flush fs/fs-writeback.c:2206 [inline] wb_do_writeback fs/fs-writeback.c:2259 [inline] wb_workfn+0xbb4/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: 735274 hardirqs last enabled at (735273): [] lock_page_memcg+0x11c/0x244 mm/memcontrol.c:2061 hardirqs last disabled at (735274): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (735274): [] _raw_spin_lock_irqsave+0xfc/0x14c kernel/locking/spinlock.c:162 softirqs last enabled at (734626): [] neigh_periodic_work+0xb8c/0xc88 net/core/neighbour.c:972 softirqs last disabled at (734622): [] neigh_periodic_work+0x110/0xc88 net/core/neighbour.c:898 ---[ end trace 2bf2f7964ea0d7e5 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 136 at include/linux/backing-dev.h:288 inode_to_wb include/linux/backing-dev.h:285 [inline] WARNING: CPU: 1 PID: 136 at include/linux/backing-dev.h:288 __test_set_page_writeback+0xa58/0xc70 mm/page-writeback.c:2862 Modules linked in: CPU: 1 PID: 136 Comm: kworker/u4:1 Tainted: G W 5.15.179-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 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 : ffff80001d6e6b00 x29: ffff80001d6e6be0 x28: 0000000000000000 x27: 0000000000000000 x26: ffff0000c533d8e0 x25: 0000000000000003 x24: 0000000000000000 x23: ffff0000dc4042a0 x22: fffffc000345b3c8 x21: ffff80001d6e6b60 x20: 1fffff800068b679 x19: fffffc000345b3c0 x18: ffff80001d6e67e0 x17: 0000000000000000 x16: ffff8000082eb59c x15: 000000000000ca3e x14: ffff8000172044c0 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000001 x10: 0000000000000000 x9 : ffff0000c23f9b40 x8 : ffff80000870ddb8 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff80000870d878 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_old_data_flush fs/fs-writeback.c:2206 [inline] wb_do_writeback fs/fs-writeback.c:2259 [inline] wb_workfn+0xbb4/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: 735338 hardirqs last enabled at (735337): [] lock_page_memcg+0x11c/0x244 mm/memcontrol.c:2061 hardirqs last disabled at (735338): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (735338): [] _raw_spin_lock_irqsave+0xfc/0x14c kernel/locking/spinlock.c:162 softirqs last enabled at (735296): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (735296): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (735277): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (735277): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (735277): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (735277): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 2bf2f7964ea0d7e6 ]---