JFS: metapage_get_blocks failed BUG: Bad page state in process syz.9.3260 pfn:25e46 page:ffffea0000979180 refcount:0 mapcount:0 mapping:0000000000000000 index:0x5002c pfn:0x25e46 flags: 0xfff0000000820c(referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff0000000820c ffffea00019dcd88 ffffea0001f35f48 0000000000000000 raw: 000000000005002c ffff8880256e59b0 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 15917, tgid 15916 (syz.9.3260), ts 533746275467, free_ts 533651970455 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1c1/0x200 mm/page_alloc.c:1582 prep_new_page mm/page_alloc.c:1589 [inline] get_page_from_freelist+0x2181/0x22a0 mm/page_alloc.c:3221 __alloc_pages+0x1f0/0x460 mm/page_alloc.c:4501 folio_alloc+0x1e/0x30 mm/mempolicy.c:2289 filemap_alloc_folio+0xdf/0x490 mm/filemap.c:1004 __filemap_get_folio+0x3fb/0xbe0 mm/filemap.c:1962 pagecache_get_page+0x2a/0x250 mm/folio-compat.c:99 find_or_create_page include/linux/pagemap.h:755 [inline] grab_cache_page include/linux/pagemap.h:877 [inline] __get_metapage+0x2ab/0xfa0 fs/jfs/jfs_metapage.c:613 diNewExt+0xa4b/0x3000 fs/jfs/jfs_imap.c:2275 diAllocExt fs/jfs/jfs_imap.c:1952 [inline] diAllocAG+0xbe2/0x1dd0 fs/jfs/jfs_imap.c:1669 diAlloc+0x1df/0x1680 fs/jfs/jfs_imap.c:1590 ialloc+0x8c/0x940 fs/jfs/jfs_inode.c:56 jfs_mkdir+0x1e5/0xae0 fs/jfs/namei.c:225 vfs_mkdir+0x2a5/0x470 fs/namei.c:4180 do_mkdirat+0x1dc/0x450 fs/namei.c:4203 __do_sys_mkdirat fs/namei.c:4218 [inline] __se_sys_mkdirat fs/namei.c:4216 [inline] __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4216 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1182 [inline] free_unref_page_prepare+0x7d7/0x8f0 mm/page_alloc.c:2366 free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2505 release_pages+0x208a/0x2300 mm/swap.c:1022 tlb_batch_pages_flush mm/mmu_gather.c:99 [inline] tlb_flush_mmu_free mm/mmu_gather.c:294 [inline] tlb_flush_mmu+0x379/0x510 mm/mmu_gather.c:301 tlb_finish_mmu+0xf4/0x220 mm/mmu_gather.c:425 exit_mmap+0x428/0xb90 mm/mmap.c:3323 __mmput+0x118/0x3a0 kernel/fork.c:1365 exit_mm+0x23f/0x340 kernel/exit.c:576 do_exit+0x909/0x2530 kernel/exit.c:877 do_group_exit+0x22d/0x2f0 kernel/exit.c:1032 get_signal+0x12a6/0x1390 kernel/signal.c:2927 arch_do_signal_or_restart+0xc2/0x7b0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213 __syscall_exit_to_user_mode_work kernel/entry/common.c:294 [inline] syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:305 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82 Modules linked in: CPU: 1 PID: 15917 Comm: syz.9.3260 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106 bad_page+0x14b/0x170 mm/page_alloc.c:539 free_page_is_bad mm/page_alloc.c:988 [inline] free_pages_prepare mm/page_alloc.c:1173 [inline] free_unref_page_prepare+0x884/0x8f0 mm/page_alloc.c:2366 free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2505 release_pages+0x208a/0x2300 mm/swap.c:1022 __folio_batch_release+0x71/0xe0 mm/swap.c:1042 folio_batch_release include/linux/pagevec.h:83 [inline] truncate_inode_pages_range+0x381/0xea0 mm/truncate.c:396 jfs_remount+0x34c/0x5c0 fs/jfs/super.c:451 reconfigure_super+0x229/0x8e0 fs/super.c:1154 do_remount fs/namespace.c:2953 [inline] path_mount+0xcfe/0xfa0 fs/namespace.c:3759 do_mount fs/namespace.c:3780 [inline] __do_sys_mount fs/namespace.c:3989 [inline] __se_sys_mount+0x2e7/0x3d0 fs/namespace.c:3966 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ff6a03aa7fa Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007ff6a124ce58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ff6a124cee0 RCX: 00007ff6a03aa7fa RDX: 0000200000016080 RSI: 00002000000160c0 RDI: 0000000000000000 RBP: 0000200000016080 R08: 00007ff6a124cee0 R09: 00000000018920f4 R10: 00000000018920f4 R11: 0000000000000246 R12: 00002000000160c0 R13: 00007ff6a124cea0 R14: 0000000000000000 R15: 0000200000016100 BUG: Bad page state in process syz.9.3260 pfn:67736 page:ffffea00019dcd80 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1c pfn:0x67736 flags: 0xfff0000000820c(referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff0000000820c ffffea000184f788 ffffea0001f35f48 0000000000000000 raw: 000000000000001c ffff88807c6c7c98 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 15917, tgid 15916 (syz.9.3260), ts 533700159820, free_ts 533652555586 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1c1/0x200 mm/page_alloc.c:1582 prep_new_page mm/page_alloc.c:1589 [inline] get_page_from_freelist+0x2181/0x22a0 mm/page_alloc.c:3221 __alloc_pages+0x1f0/0x460 mm/page_alloc.c:4501 folio_alloc+0x1e/0x30 mm/mempolicy.c:2289 filemap_alloc_folio+0xdf/0x490 mm/filemap.c:1004 do_read_cache_folio+0x381/0x7f0 mm/filemap.c:3764 do_read_cache_page+0x32/0x260 mm/filemap.c:3866 read_mapping_page include/linux/pagemap.h:892 [inline] __get_metapage+0x31d/0xfa0 fs/jfs/jfs_metapage.c:620 diRead+0x6ec/0xbb0 fs/jfs/jfs_imap.c:367 jfs_iget+0x90/0x440 fs/jfs/inode.c:35 jfs_fill_super+0x70b/0xb00 fs/jfs/super.c:581 mount_bdev+0x21c/0x2c0 fs/super.c:1654 legacy_get_tree+0xea/0x180 fs/fs_context.c:662 vfs_get_tree+0x8c/0x280 fs/super.c:1775 do_new_mount+0x24a/0xa60 fs/namespace.c:3412 do_mount fs/namespace.c:3780 [inline] __do_sys_mount fs/namespace.c:3989 [inline] __se_sys_mount+0x2e7/0x3d0 fs/namespace.c:3966 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1182 [inline] free_unref_page_prepare+0x7d7/0x8f0 mm/page_alloc.c:2366 free_unref_page+0x32/0x2e0 mm/page_alloc.c:2459 tlb_batch_list_free mm/mmu_gather.c:115 [inline] tlb_finish_mmu+0x13e/0x220 mm/mmu_gather.c:428 exit_mmap+0x428/0xb90 mm/mmap.c:3323 __mmput+0x118/0x3a0 kernel/fork.c:1365 exit_mm+0x23f/0x340 kernel/exit.c:576 do_exit+0x909/0x2530 kernel/exit.c:877 do_group_exit+0x22d/0x2f0 kernel/exit.c:1032 get_signal+0x12a6/0x1390 kernel/signal.c:2927 arch_do_signal_or_restart+0xc2/0x7b0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213 __syscall_exit_to_user_mode_work kernel/entry/common.c:294 [inline] syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:305 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Modules linked in: CPU: 0 PID: 15917 Comm: syz.9.3260 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106 bad_page+0x14b/0x170 mm/page_alloc.c:539 free_page_is_bad mm/page_alloc.c:988 [inline] free_pages_prepare mm/page_alloc.c:1173 [inline] free_unref_page_prepare+0x884/0x8f0 mm/page_alloc.c:2366 free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2505 release_pages+0x208a/0x2300 mm/swap.c:1022 __folio_batch_release+0x71/0xe0 mm/swap.c:1042 folio_batch_release include/linux/pagevec.h:83 [inline] truncate_inode_pages_range+0x381/0xea0 mm/truncate.c:396 jfs_remount+0x34c/0x5c0 fs/jfs/super.c:451 reconfigure_super+0x229/0x8e0 fs/super.c:1154 do_remount fs/namespace.c:2953 [inline] path_mount+0xcfe/0xfa0 fs/namespace.c:3759 do_mount fs/namespace.c:3780 [inline] __do_sys_mount fs/namespace.c:3989 [inline] __se_sys_mount+0x2e7/0x3d0 fs/namespace.c:3966 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ff6a03aa7fa Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007ff6a124ce58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ff6a124cee0 RCX: 00007ff6a03aa7fa RDX: 0000200000016080 RSI: 00002000000160c0 RDI: 0000000000000000 RBP: 0000200000016080 R08: 00007ff6a124cee0 R09: 00000000018920f4 R10: 00000000018920f4 R11: 0000000000000246 R12: 00002000000160c0 R13: 00007ff6a124cea0 R14: 0000000000000000 R15: 0000200000016100