JFS: metapage_get_blocks failed BUG: Bad page state in process syz.5.249 pfn:7731b page:ffffea0001dcc6c0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x50030 pfn:0x7731b flags: 0xfff00000002004(uptodate|private|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002004 ffffea0001f07a08 ffffea0001952c08 0000000000000000 raw: 0000000000050030 ffff88807dd401f0 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 0x100c40(GFP_NOFS|__GFP_HARDWALL), pid 5213, ts 160021180048, free_ts 159809976926 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x24f6/0x2670 mm/page_alloc.c:4192 __alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501 __page_cache_alloc+0xce/0x440 mm/filemap.c:1022 pagecache_get_page+0x9b8/0xf20 mm/filemap.c:1940 find_or_create_page include/linux/pagemap.h:420 [inline] grab_cache_page include/linux/pagemap.h:502 [inline] __get_metapage+0x282/0x1060 fs/jfs/jfs_metapage.c:614 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+0x89/0x920 fs/jfs/jfs_inode.c:56 jfs_mkdir+0x1e1/0xb00 fs/jfs/namei.c:225 vfs_mkdir+0x386/0x570 fs/namei.c:4073 do_mkdirat+0x1dd/0x5c0 fs/namei.c:4098 __do_sys_mkdirat fs/namei.c:4113 [inline] __se_sys_mkdirat fs/namei.c:4111 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4111 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page_list+0x119/0x830 mm/page_alloc.c:3433 release_pages+0x185f/0x1bd0 mm/swap.c:963 tlb_batch_pages_flush mm/mmu_gather.c:50 [inline] tlb_flush_mmu_free mm/mmu_gather.c:241 [inline] tlb_flush_mmu mm/mmu_gather.c:248 [inline] tlb_finish_mmu+0x1b4/0x370 mm/mmu_gather.c:371 exit_mmap+0x3d0/0x640 mm/mmap.c:3218 __mmput+0x115/0x390 kernel/fork.c:1128 exit_mm+0x632/0x7b0 kernel/exit.c:551 do_exit+0x5b8/0x2110 kernel/exit.c:871 do_group_exit+0x12c/0x2f0 kernel/exit.c:998 get_signal+0x7eb/0x12e0 kernel/signal.c:2901 arch_do_signal_or_restart+0xe6/0x12a0 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Modules linked in: CPU: 0 PID: 5212 Comm: syz.5.249 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 bad_page+0x14b/0x170 mm/page_alloc.c:652 check_free_page mm/page_alloc.c:1209 [inline] free_pages_prepare mm/page_alloc.c:1334 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x383/0x6c0 mm/page_alloc.c:3317 free_unref_page_list+0x119/0x830 mm/page_alloc.c:3433 release_pages+0x185f/0x1bd0 mm/swap.c:963 __pagevec_release+0x6d/0xe0 mm/swap.c:983 pagevec_release include/linux/pagevec.h:81 [inline] truncate_inode_pages_range+0x335/0xf90 mm/truncate.c:329 jfs_remount+0x348/0x5c0 fs/jfs/super.c:456 reconfigure_super+0x224/0x8d0 fs/super.c:938 do_remount fs/namespace.c:2697 [inline] path_mount+0xc5a/0xfe0 fs/namespace.c:3356 do_mount fs/namespace.c:3377 [inline] __do_sys_mount fs/namespace.c:3585 [inline] __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3562 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f1c2c61de59 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:00007f1c2a855028 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f1c2c8a6090 RCX: 00007f1c2c61de59 RDX: 0000000000000000 RSI: 0000200000000240 RDI: 0000000000000000 RBP: 00007f1c2c6b3e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000002390024 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1c2c8a6128 R14: 00007f1c2c8a6090 R15: 00007ffea6328138