BUG: Bad page state in process syz.5.1143 pfn:58d40 page:ffffea0001635000 refcount:0 mapcount:0 mapping:0000000000000000 index:0x43 pfn:0x58d40 flags: 0xfff00000002006(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002006 ffffea0001630248 ffffc9000c49f980 0000000000000000 raw: 0000000000000043 ffff88802a3c76c8 00000000ffffffff 0000000000000000 page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x140c40(GFP_NOFS|__GFP_COMP|__GFP_HARDWALL), pid 9158, tgid 9157 (syz.5.1143), ts 408633034912, free_ts 408345153519 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2560 prep_new_page mm/page_alloc.c:2567 [inline] get_page_from_freelist+0x206b/0x2180 mm/page_alloc.c:4358 __alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5658 folio_alloc+0x1c/0x60 mm/mempolicy.c:2294 filemap_alloc_folio+0xdb/0x480 mm/filemap.c:999 __filemap_get_folio+0x6ba/0xde0 mm/filemap.c:1993 pagecache_get_page+0x26/0x260 mm/folio-compat.c:110 find_or_create_page include/linux/pagemap.h:676 [inline] grab_cache_page include/linux/pagemap.h:808 [inline] __get_metapage+0x2a7/0xfb0 fs/jfs/jfs_metapage.c:613 diNewExt+0x9ff/0x2e20 fs/jfs/jfs_imap.c:2275 diAllocExt fs/jfs/jfs_imap.c:1952 [inline] diAllocAG+0xe27/0x1c30 fs/jfs/jfs_imap.c:1669 diAlloc+0x1c8/0x1930 fs/jfs/jfs_imap.c:1590 ialloc+0x88/0x930 fs/jfs/jfs_inode.c:56 jfs_mkdir+0x1e1/0xb00 fs/jfs/namei.c:225 vfs_mkdir+0x386/0x570 fs/namei.c:4161 do_mkdirat+0x1d8/0x440 fs/namei.c:4186 __do_sys_mkdirat fs/namei.c:4201 [inline] __se_sys_mkdirat fs/namei.c:4199 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4199 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1487 [inline] free_pcp_prepare mm/page_alloc.c:1537 [inline] free_unref_page_prepare+0x8e5/0x9e0 mm/page_alloc.c:3414 free_unref_page_list+0xbb/0x8e0 mm/page_alloc.c:3555 release_pages+0x20d1/0x2340 mm/swap.c:1035 tlb_batch_pages_flush mm/mmu_gather.c:60 [inline] tlb_flush_mmu_free mm/mmu_gather.c:255 [inline] tlb_flush_mmu+0x105/0x220 mm/mmu_gather.c:262 tlb_finish_mmu+0xf0/0x220 mm/mmu_gather.c:394 exit_mmap+0x388/0x970 mm/mmap.c:3305 __mmput+0x118/0x3a0 kernel/fork.c:1214 exit_mm+0x24d/0x350 kernel/exit.c:572 do_exit+0x958/0x2570 kernel/exit.c:874 do_group_exit+0x229/0x2e0 kernel/exit.c:1030 __do_sys_exit_group kernel/exit.c:1041 [inline] __se_sys_exit_group kernel/exit.c:1039 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1039 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Modules linked in: CPU: 0 PID: 9166 Comm: syz.5.1143 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 bad_page+0x14b/0x170 mm/page_alloc.c:726 free_page_is_bad mm/page_alloc.c:1318 [inline] free_pages_prepare mm/page_alloc.c:1479 [inline] free_pcp_prepare mm/page_alloc.c:1537 [inline] free_unref_page_prepare+0x447/0x9e0 mm/page_alloc.c:3414 free_unref_page_list+0xbb/0x8e0 mm/page_alloc.c:3555 release_pages+0x20d1/0x2340 mm/swap.c:1035 __pagevec_release+0x6d/0xe0 mm/swap.c:1055 pagevec_release include/linux/pagevec.h:71 [inline] folio_batch_release include/linux/pagevec.h:135 [inline] truncate_inode_pages_range+0x35c/0x10b0 mm/truncate.c:397 jfs_remount+0x348/0x5c0 fs/jfs/super.c:451 reconfigure_super+0x224/0x8d0 fs/super.c:977 vfs_fsconfig_locked+0x18d/0x400 fs/fsopen.c:263 __do_sys_fsconfig fs/fsopen.c:448 [inline] __se_sys_fsconfig+0x69e/0x7e0 fs/fsopen.c:323 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f64f039f559 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f64f12a0028 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f64f0626180 RCX: 00007f64f039f559 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000005 RBP: 00007f64f0436b50 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f64f0626218 R14: 00007f64f0626180 R15: 00007fff775409e8 BUG: Bad page state in process syz.5.1143 pfn:58c09 page:ffffea0001630240 refcount:0 mapcount:0 mapping:0000000000000000 index:0x42 pfn:0x58c09 flags: 0xfff00000002006(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002006 ffffea00011642c8 ffffc9000c49f980 0000000000000000 raw: 0000000000000042 ffff88802a3c75d0 00000000ffffffff 0000000000000000 page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x140c40(GFP_NOFS|__GFP_COMP|__GFP_HARDWALL), pid 9158, tgid 9157 (syz.5.1143), ts 408632990128, free_ts 408345162592 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2560 prep_new_page mm/page_alloc.c:2567 [inline] get_page_from_freelist+0x206b/0x2180 mm/page_alloc.c:4358 __alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5658 folio_alloc+0x1c/0x60 mm/mempolicy.c:2294 filemap_alloc_folio+0xdb/0x480 mm/filemap.c:999 __filemap_get_folio+0x6ba/0xde0 mm/filemap.c:1993 pagecache_get_page+0x26/0x260 mm/folio-compat.c:110 find_or_create_page include/linux/pagemap.h:676 [inline] grab_cache_page include/linux/pagemap.h:808 [inline] __get_metapage+0x2a7/0xfb0 fs/jfs/jfs_metapage.c:613 diNewExt+0x9ff/0x2e20 fs/jfs/jfs_imap.c:2275 diAllocExt fs/jfs/jfs_imap.c:1952 [inline] diAllocAG+0xe27/0x1c30 fs/jfs/jfs_imap.c:1669 diAlloc+0x1c8/0x1930 fs/jfs/jfs_imap.c:1590 ialloc+0x88/0x930 fs/jfs/jfs_inode.c:56 jfs_mkdir+0x1e1/0xb00 fs/jfs/namei.c:225 vfs_mkdir+0x386/0x570 fs/namei.c:4161 do_mkdirat+0x1d8/0x440 fs/namei.c:4186 __do_sys_mkdirat fs/namei.c:4201 [inline] __se_sys_mkdirat fs/namei.c:4199 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4199 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1487 [inline] free_pcp_prepare mm/page_alloc.c:1537 [inline] free_unref_page_prepare+0x8e5/0x9e0 mm/page_alloc.c:3414 free_unref_page_list+0xbb/0x8e0 mm/page_alloc.c:3555 release_pages+0x20d1/0x2340 mm/swap.c:1035 tlb_batch_pages_flush mm/mmu_gather.c:60 [inline] tlb_flush_mmu_free mm/mmu_gather.c:255 [inline] tlb_flush_mmu+0x105/0x220 mm/mmu_gather.c:262 tlb_finish_mmu+0xf0/0x220 mm/mmu_gather.c:394 exit_mmap+0x388/0x970 mm/mmap.c:3305 __mmput+0x118/0x3a0 kernel/fork.c:1214 exit_mm+0x24d/0x350 kernel/exit.c:572 do_exit+0x958/0x2570 kernel/exit.c:874 do_group_exit+0x229/0x2e0 kernel/exit.c:1030 __do_sys_exit_group kernel/exit.c:1041 [inline] __se_sys_exit_group kernel/exit.c:1039 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1039 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Modules linked in: CPU: 0 PID: 9166 Comm: syz.5.1143 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 bad_page+0x14b/0x170 mm/page_alloc.c:726 free_page_is_bad mm/page_alloc.c:1318 [inline] free_pages_prepare mm/page_alloc.c:1479 [inline] free_pcp_prepare mm/page_alloc.c:1537 [inline] free_unref_page_prepare+0x447/0x9e0 mm/page_alloc.c:3414 free_unref_page_list+0xbb/0x8e0 mm/page_alloc.c:3555 release_pages+0x20d1/0x2340 mm/swap.c:1035 __pagevec_release+0x6d/0xe0 mm/swap.c:1055 pagevec_release include/linux/pagevec.h:71 [inline] folio_batch_release include/linux/pagevec.h:135 [inline] truncate_inode_pages_range+0x35c/0x10b0 mm/truncate.c:397 jfs_remount+0x348/0x5c0 fs/jfs/super.c:451 reconfigure_super+0x224/0x8d0 fs/super.c:977 vfs_fsconfig_locked+0x18d/0x400 fs/fsopen.c:263 __do_sys_fsconfig fs/fsopen.c:448 [inline] __se_sys_fsconfig+0x69e/0x7e0 fs/fsopen.c:323 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f64f039f559 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f64f12a0028 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f64f0626180 RCX: 00007f64f039f559 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000005 RBP: 00007f64f0436b50 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f64f0626218 R14: 00007f64f0626180 R15: 00007fff775409e8 BUG: Bad page state in process syz.5.1143 pfn:4590b page:ffffea00011642c0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x41 pfn:0x4590b flags: 0xfff00000002006(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002006 ffffea0001f66648 ffffc9000c49f980 0000000000000000 raw: 0000000000000041 ffff88802a3c73e0 00000000ffffffff 0000000000000000 page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x140c40(GFP_NOFS|__GFP_COMP|__GFP_HARDWALL), pid 9158, tgid 9157 (syz.5.1143), ts 408632942318, free_ts 408345170939 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2560 prep_new_page mm/page_alloc.c:2567 [inline] get_page_from_freelist+0x206b/0x2180 mm/page_alloc.c:4358 __alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5658 folio_alloc+0x1c/0x60 mm/mempolicy.c:2294 filemap_alloc_folio+0xdb/0x480 mm/filemap.c:999 __filemap_get_folio+0x6ba/0xde0 mm/filemap.c:1993 pagecache_get_page+0x26/0x260 mm/folio-compat.c:110 find_or_create_page include/linux/pagemap.h:676 [inline] grab_cache_page include/linux/pagemap.h:808 [inline] __get_metapage+0x2a7/0xfb0 fs/jfs/jfs_metapage.c:613 diNewExt+0x9ff/0x2e20 fs/jfs/jfs_imap.c:2275 diAllocExt fs/jfs/jfs_imap.c:1952 [inline] diAllocAG+0xe27/0x1c30 fs/jfs/jfs_imap.c:1669 diAlloc+0x1c8/0x1930 fs/jfs/jfs_imap.c:1590 ialloc+0x88/0x930 fs/jfs/jfs_inode.c:56 jfs_mkdir+0x1e1/0xb00 fs/jfs/namei.c:225 vfs_mkdir+0x386/0x570 fs/namei.c:4161 do_mkdirat+0x1d8/0x440 fs/namei.c:4186 __do_sys_mkdirat fs/namei.c:4201 [inline] __se_sys_mkdirat fs/namei.c:4199 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4199 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1487 [inline] free_pcp_prepare mm/page_alloc.c:1537 [inline] free_unref_page_prepare+0x8e5/0x9e0 mm/page_alloc.c:3414 free_unref_page_list+0xbb/0x8e0 mm/page_alloc.c:3555 release_pages+0x20d1/0x2340 mm/swap.c:1035 tlb_batch_pages_flush mm/mmu_gather.c:60 [inline] tlb_flush_mmu_free mm/mmu_gather.c:255 [inline] tlb_flush_mmu+0x105/0x220 mm/mmu_gather.c:262 tlb_finish_mmu+0xf0/0x220 mm/mmu_gather.c:394 exit_mmap+0x388/0x970 mm/mmap.c:3305 __mmput+0x118/0x3a0 kernel/fork.c:1214 exit_mm+0x24d/0x350 kernel/exit.c:572 do_exit+0x958/0x2570 kernel/exit.c:874 do_group_exit+0x229/0x2e0 kernel/exit.c:1030 __do_sys_exit_group kernel/exit.c:1041 [inline] __se_sys_exit_group kernel/exit.c:1039 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1039 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Modules linked in: CPU: 1 PID: 9166 Comm: syz.5.1143 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 bad_page+0x14b/0x170 mm/page_alloc.c:726 free_page_is_bad mm/page_alloc.c:1318 [inline] free_pages_prepare mm/page_alloc.c:1479 [inline] free_pcp_prepare mm/page_alloc.c:1537 [inline] free_unref_page_prepare+0x447/0x9e0 mm/page_alloc.c:3414 free_unref_page_list+0xbb/0x8e0 mm/page_alloc.c:3555 release_pages+0x20d1/0x2340 mm/swap.c:1035 __pagevec_release+0x6d/0xe0 mm/swap.c:1055 pagevec_release include/linux/pagevec.h:71 [inline] folio_batch_release include/linux/pagevec.h:135 [inline] truncate_inode_pages_range+0x35c/0x10b0 mm/truncate.c:397 jfs_remount+0x348/0x5c0 fs/jfs/super.c:451 reconfigure_super+0x224/0x8d0 fs/super.c:977 vfs_fsconfig_locked+0x18d/0x400 fs/fsopen.c:263 __do_sys_fsconfig fs/fsopen.c:448 [inline] __se_sys_fsconfig+0x69e/0x7e0 fs/fsopen.c:323 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f64f039f559 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f64f12a0028 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f64f0626180 RCX: 00007f64f039f559 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000005 RBP: 00007f64f0436b50 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f64f0626218 R14: 00007f64f0626180 R15: 00007fff775409e8