------------[ cut here ]------------ WARNING: CPU: 0 PID: 227 at include/linux/backing-dev.h:288 inode_to_wb include/linux/backing-dev.h:285 [inline] WARNING: CPU: 0 PID: 227 at include/linux/backing-dev.h:288 account_page_dirtied mm/page-writeback.c:2474 [inline] WARNING: CPU: 0 PID: 227 at include/linux/backing-dev.h:288 __set_page_dirty+0x8f8/0xc7c mm/page-writeback.c:2522 Modules linked in: CPU: 0 PID: 227 Comm: kworker/0:1H Not tainted 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: glock_workqueue glock_work_func 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 : ffff80001def7680 x29: ffff80001def7690 x28: 0000000000000000 x27: 1fffe0001977f992 x26: dfff800000000000 x25: 1fffe00018093b51 x24: 0000000000000000 x23: ffff0000c049da88 x22: 0000000000000000 x21: 0000000000000003 x20: ffff0000cbbfcc98 x19: fffffc0003264100 x18: ffff80001def7360 x17: 1fffe00036831f8e x16: ffff8000082eadec x15: 000000000000c732 x14: ffff80001712f500 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000001 x10: 0000000000000000 x9 : ffff0000c6748000 x8 : ffff800008708dd8 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff800008a39ea4 x2 : ffff0000cbc4a060 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 inode_go_sync+0x27c/0x5f8 fs/gfs2/glops.c:318 do_xmote+0x304/0x1054 fs/gfs2/glock.c:742 run_queue+0x3f8/0x6bc fs/gfs2/glock.c:872 glock_work_func+0x27c/0x470 fs/gfs2/glock.c:1039 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: 674 hardirqs last enabled at (673): [] lock_page_memcg+0x11c/0x244 mm/memcontrol.c:2056 hardirqs last disabled at (674): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (674): [] _raw_spin_lock_irqsave+0xfc/0x14c kernel/locking/spinlock.c:162 softirqs last enabled at (0): [] copy_process+0x12c4/0x3750 kernel/fork.c:2151 softirqs last disabled at (0): [<0000000000000000>] 0x0 ---[ end trace fef7d0d52edf5461 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 227 at include/linux/backing-dev.h:288 inode_to_wb include/linux/backing-dev.h:285 [inline] WARNING: CPU: 0 PID: 227 at include/linux/backing-dev.h:288 __test_set_page_writeback+0xa58/0xc70 mm/page-writeback.c:2862 Modules linked in: CPU: 0 PID: 227 Comm: kworker/0:1H Tainted: G W 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: glock_workqueue glock_work_func 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 : ffff80001def7280 x29: ffff80001def7360 x28: 0000000000000000 x27: 0000000000000000 x26: ffff0000c049d8e0 x25: 0000000000000003 x24: 0000000000000000 x23: ffff0000d2b397c0 x22: fffffc00033474c8 x21: ffff80001def72e0 x20: 1fffff8000668e99 x19: fffffc00033474c0 x18: ffff80001def6f60 x17: 0000000000000000 x16: ffff8000082eadec x15: 000000000000c7a4 x14: ffff80001712f500 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000001 x10: 0000000000000000 x9 : ffff0000c6748000 x8 : ffff80000870b9cc x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff80000870b48c 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 inode_go_sync+0x284/0x5f8 fs/gfs2/glops.c:320 do_xmote+0x304/0x1054 fs/gfs2/glock.c:742 run_queue+0x3f8/0x6bc fs/gfs2/glock.c:872 glock_work_func+0x27c/0x470 fs/gfs2/glock.c:1039 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: 708 hardirqs last enabled at (707): [] lock_page_memcg+0x11c/0x244 mm/memcontrol.c:2056 hardirqs last disabled at (708): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (708): [] _raw_spin_lock_irqsave+0xfc/0x14c kernel/locking/spinlock.c:162 softirqs last enabled at (0): [] copy_process+0x12c4/0x3750 kernel/fork.c:2151 softirqs last disabled at (0): [<0000000000000000>] 0x0 ---[ end trace fef7d0d52edf5462 ]---