loop0: detected capacity change from 0 to 32768 XFS: ikeep mount option is deprecated. XFS: ikeep mount option is deprecated. XFS (loop0): Mounting V5 Filesystem bfdc47fc-10d8-4eed-a562-11a831b3f791 XFS (loop0): Ending clean mount XFS (loop0): Quotacheck needed: Please wait. XFS (loop0): Quotacheck: Done. 8021q: adding VLAN 0 to HW filter on device bond0 bond0: (slave rose0): Enslaving as an active interface with an up link BUG: Bad page state in process syz.0.0 pfn:55a00 page: refcount:0 mapcount:0 mapping:ffff888043be9388 index:0x0 pfn:0x55a00 aops:xfs_address_space_operations ino:244a dentry name(?):"bus" flags: 0x4fff0000000000c(referenced|uptodate|node=1|zone=1|lastcpupid=0x7ff) raw: 04fff0000000000c dead000000000100 dead000000000122 ffff888043be9388 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: non-NULL mapping page_owner tracks the page as allocated page last allocated via order 0, migratetype Movable, gfp_mask 0x153c4a(GFP_NOFS|__GFP_HIGHMEM|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_HARDWALL|__GFP_MOVABLE|__GFP_WRITE), pid 5316, tgid 5315 (syz.0.0), ts 69140775842, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1558 prep_new_page mm/page_alloc.c:1566 [inline] get_page_from_freelist+0x365c/0x37a0 mm/page_alloc.c:3476 __alloc_pages_noprof+0x292/0x710 mm/page_alloc.c:4753 alloc_pages_mpol_noprof+0x3e1/0x780 mm/mempolicy.c:2269 alloc_pages_noprof mm/mempolicy.c:2349 [inline] folio_alloc_noprof+0x128/0x180 mm/mempolicy.c:2356 filemap_alloc_folio_noprof+0xdf/0x500 mm/filemap.c:1000 __filemap_get_folio+0x41f/0x940 mm/filemap.c:1942 iomap_get_folio fs/iomap/buffered-io.c:608 [inline] __iomap_get_folio fs/iomap/buffered-io.c:754 [inline] iomap_write_begin+0x4d3/0x1990 fs/iomap/buffered-io.c:797 iomap_write_iter fs/iomap/buffered-io.c:955 [inline] iomap_file_buffered_write+0x6ea/0x11c0 fs/iomap/buffered-io.c:1039 xfs_file_buffered_write+0x2de/0xac0 fs/xfs/xfs_file.c:792 new_sync_write fs/read_write.c:586 [inline] vfs_write+0xaeb/0xd30 fs/read_write.c:679 ksys_write+0x18f/0x2b0 fs/read_write.c:731 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5316 Comm: syz.0.0 Not tainted 6.13.0-rc7-syzkaller-00160-gad26fc09dabf #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 bad_page+0x176/0x1d0 mm/page_alloc.c:501 free_page_is_bad mm/page_alloc.c:923 [inline] free_pages_prepare mm/page_alloc.c:1119 [inline] free_unref_page+0xfb1/0x1010 mm/page_alloc.c:2659 __folio_put+0x2b3/0x360 mm/swap.c:112 folio_put include/linux/mm.h:1489 [inline] truncate_inode_pages_range+0x8b3/0x10e0 mm/truncate.c:344 xfs_flush_unmap_range+0xb8/0xd0 fs/xfs/xfs_bmap_util.c:820 xfs_reflink_remap_prep+0x581/0x6a0 xfs_file_remap_range+0x287/0x910 fs/xfs/xfs_file.c:1210 vfs_copy_file_range+0xc07/0x1510 fs/read_write.c:1584 __do_sys_copy_file_range fs/read_write.c:1670 [inline] __se_sys_copy_file_range+0x3fa/0x600 fs/read_write.c:1637 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcf95985d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcf91df5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000146 RAX: ffffffffffffffda RBX: 00007fcf95b75fa0 RCX: 00007fcf95985d29 RDX: 0000000000000007 RSI: 00000000200001c0 RDI: 0000000000000008 RBP: 00007fcf95a01b08 R08: ffffffffa003e45b R09: 0700000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fcf95b75fa0 R15: 00007ffc7af7ac28