------------[ cut here ]------------ WARNING: CPU: 0 PID: 4125 at include/linux/backing-dev.h:288 inode_to_wb include/linux/backing-dev.h:285 [inline] WARNING: CPU: 0 PID: 4125 at include/linux/backing-dev.h:288 account_page_dirtied mm/page-writeback.c:2474 [inline] WARNING: CPU: 0 PID: 4125 at include/linux/backing-dev.h:288 __set_page_dirty+0x8f8/0xc7c mm/page-writeback.c:2522 Modules linked in: CPU: 0 PID: 4125 Comm: kworker/u4:10 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: writeback wb_workfn (flush-7:3) 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 : ffff800020516fc0 x29: ffff800020516fd0 x28: 0000000000000000 x27: 1fffe0001cb1fc4a x26: dfff800000000000 x25: 1fffe00018094109 x24: 0000000000000000 x23: ffff0000c04a0848 x22: 0000000000000000 x21: 0000000000000003 x20: ffff0000e58fe258 x19: fffffc00039c33c0 x18: ffff800020516ca0 x17: 1fffe00036831b8e x16: ffff8000082eada8 x15: 0000000000020e80 x14: ffff800017140500 x13: dfff800000000000 x12: ffff7000040a2ddc x11: 0000000000000001 x10: 0000000000000000 x9 : ffff0000d3549b40 x8 : ffff800008708e98 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 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 wb_writeback+0x3fc/0xfc8 fs/fs-writeback.c:2104 wb_do_writeback fs/fs-writeback.c:2247 [inline] wb_workfn+0x3a4/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: 280814 hardirqs last enabled at (280813): [] lock_page_memcg+0x11c/0x244 mm/memcontrol.c:2056 hardirqs last disabled at (280814): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (280814): [] _raw_spin_lock_irqsave+0xfc/0x14c kernel/locking/spinlock.c:162 softirqs last enabled at (280712): [] spin_unlock_bh include/linux/spinlock.h:408 [inline] softirqs last enabled at (280712): [] batadv_nc_purge_paths+0x308/0x38c net/batman-adv/network-coding.c:475 softirqs last disabled at (280710): [] spin_lock_bh include/linux/spinlock.h:368 [inline] softirqs last disabled at (280710): [] batadv_nc_purge_paths+0xd0/0x38c net/batman-adv/network-coding.c:446 ---[ end trace 5d029ea200192e8f ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4125 at include/linux/backing-dev.h:288 inode_to_wb include/linux/backing-dev.h:285 [inline] WARNING: CPU: 0 PID: 4125 at include/linux/backing-dev.h:288 __test_set_page_writeback+0xa58/0xc70 mm/page-writeback.c:2862 Modules linked in: CPU: 0 PID: 4125 Comm: kworker/u4:10 Tainted: G W 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: writeback wb_workfn (flush-7:3) 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 : ffff800020516bc0 x29: ffff800020516ca0 x28: 0000000000000000 x27: 0000000000000000 x26: ffff0000c04a06a0 x25: 0000000000000003 x24: 0000000000000000 x23: ffff0000e58fc2a0 x22: fffffc0003aa14c8 x21: ffff800020516c20 x20: 1fffff8000754299 x19: fffffc0003aa14c0 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000082eada8 x15: 0000000000000406 x14: 1ffff0000295806a x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000001 x10: 0000000000000000 x9 : ffff0000d3549b40 x8 : ffff80000870ba8c x7 : ffff80000870b484 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 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 wb_writeback+0x3fc/0xfc8 fs/fs-writeback.c:2104 wb_do_writeback fs/fs-writeback.c:2247 [inline] wb_workfn+0x3a4/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: 280962 hardirqs last enabled at (280961): [] lock_page_memcg+0x11c/0x244 mm/memcontrol.c:2056 hardirqs last disabled at (280962): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (280962): [] _raw_spin_lock_irqsave+0xfc/0x14c kernel/locking/spinlock.c:162 softirqs last enabled at (280928): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (280928): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (280817): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (280817): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (280817): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (280817): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 5d029ea200192e90 ]---