BUG: Bad page state in process jfsCommit pfn:62841 page:ffffea00018a1040 refcount:0 mapcount:0 mapping:0000000000000000 index:0x419 pfn:0x62841 flags: 0xfff1800000820d(locked|referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff1800000820d dead000000000100 dead000000000122 0000000000000000 raw: 0000000000000419 ffff88805d6a74d8 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 7150, tgid 7149 (syz.2.390), ts 156707301000, free_ts 156676011024 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 xtSplitRoot+0x105/0x1000 fs/jfs/jfs_xtree.c:1227 xtSplitUp+0x35e/0x1f60 fs/jfs/jfs_xtree.c:770 xtInsert+0x415/0xe80 fs/jfs/jfs_xtree.c:593 extAlloc+0xa5c/0xf70 fs/jfs/jfs_extent.c:145 jfs_get_block+0x352/0xad0 fs/jfs/inode.c:254 __block_write_begin_int+0x571/0x1b00 fs/buffer.c:2124 __block_write_begin fs/buffer.c:2173 [inline] block_write_begin+0x9a/0x1e0 fs/buffer.c:2234 jfs_write_begin+0x35/0x70 fs/jfs/inode.c:305 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:3315 __mmput+0x118/0x3a0 kernel/fork.c:1357 exit_mm+0x23f/0x340 kernel/exit.c:570 do_exit+0x909/0x2530 kernel/exit.c:871 do_group_exit+0x22d/0x2f0 kernel/exit.c:1026 __do_sys_exit_group kernel/exit.c:1037 [inline] __se_sys_exit_group kernel/exit.c:1035 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1035 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 Modules linked in: CPU: 1 PID: 114 Comm: jfsCommit Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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+0x32/0x2e0 mm/page_alloc.c:2459 txUnlock+0x275/0xcb0 fs/jfs/jfs_txnmgr.c:933 txLazyCommit fs/jfs/jfs_txnmgr.c:2683 [inline] jfs_lazycommit+0x58c/0xaa0 fs/jfs/jfs_txnmgr.c:2733 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 page:ffffea00018a1040 refcount:0 mapcount:0 mapping:0000000000000000 index:0x419 pfn:0x62841 flags: 0xfff1800000820d(locked|referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff1800000820d dead000000000100 dead000000000122 0000000000000000 raw: 0000000000000419 ffff88805d6a74d8 00000000ffffffff 0000000000000000 page dumped because: VM_BUG_ON_FOLIO(((unsigned int) folio_ref_count(folio) + 127u <= 127u)) 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 7150, tgid 7149 (syz.2.390), ts 156707301000, free_ts 156676011024 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 xtSplitRoot+0x105/0x1000 fs/jfs/jfs_xtree.c:1227 xtSplitUp+0x35e/0x1f60 fs/jfs/jfs_xtree.c:770 xtInsert+0x415/0xe80 fs/jfs/jfs_xtree.c:593 extAlloc+0xa5c/0xf70 fs/jfs/jfs_extent.c:145 jfs_get_block+0x352/0xad0 fs/jfs/inode.c:254 __block_write_begin_int+0x571/0x1b00 fs/buffer.c:2124 __block_write_begin fs/buffer.c:2173 [inline] block_write_begin+0x9a/0x1e0 fs/buffer.c:2234 jfs_write_begin+0x35/0x70 fs/jfs/inode.c:305 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:3315 __mmput+0x118/0x3a0 kernel/fork.c:1357 exit_mm+0x23f/0x340 kernel/exit.c:570 do_exit+0x909/0x2530 kernel/exit.c:871 do_group_exit+0x22d/0x2f0 kernel/exit.c:1026 __do_sys_exit_group kernel/exit.c:1037 [inline] __se_sys_exit_group kernel/exit.c:1035 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1035 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 ------------[ cut here ]------------ kernel BUG at include/linux/mm.h:1458! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 114 Comm: jfsCommit Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 RIP: 0010:folio_get include/linux/mm.h:1458 [inline] RIP: 0010:get_page include/linux/mm.h:1464 [inline] RIP: 0010:put_metapage+0x248/0x330 fs/jfs/jfs_metapage.c:750 Code: 38 c1 0f 8c 31 ff ff ff 4c 89 ef e8 f2 9a d9 fe e9 24 ff ff ff e8 98 26 81 fe 48 8b 3c 24 48 c7 c6 40 f4 03 8b e8 c8 ad c1 fe <0f> 0b 48 89 ee 48 81 e6 ff 0f 00 00 31 ff e8 b5 2a 81 fe 48 89 2c RSP: 0018:ffffc90002d17cd0 EFLAGS: 00010246 RAX: 894ca2c73609ce00 RBX: ffff88805d6a74d8 RCX: 894ca2c73609ce00 RDX: 0000000000000000 RSI: ffffffff8b1c7bc0 RDI: ffffffff8b1c7b80 RBP: 000000000000007f R08: ffffffff8e8ae5ef R09: 1ffffffff1d15cbd R10: dffffc0000000000 R11: fffffbfff1d15cbe R12: ffff88805d6a7500 R13: ffffea00018a1074 R14: 1ffff1100bad4ea0 R15: 1ffff1100bad4ead FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b0d4a34950 CR3: 000000002ca4c000 CR4: 00000000003506e0 Call Trace: txUnlock+0x426/0xcb0 fs/jfs/jfs_txnmgr.c:948 txLazyCommit fs/jfs/jfs_txnmgr.c:2683 [inline] jfs_lazycommit+0x58c/0xaa0 fs/jfs/jfs_txnmgr.c:2733 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_get include/linux/mm.h:1458 [inline] RIP: 0010:get_page include/linux/mm.h:1464 [inline] RIP: 0010:put_metapage+0x248/0x330 fs/jfs/jfs_metapage.c:750 Code: 38 c1 0f 8c 31 ff ff ff 4c 89 ef e8 f2 9a d9 fe e9 24 ff ff ff e8 98 26 81 fe 48 8b 3c 24 48 c7 c6 40 f4 03 8b e8 c8 ad c1 fe <0f> 0b 48 89 ee 48 81 e6 ff 0f 00 00 31 ff e8 b5 2a 81 fe 48 89 2c RSP: 0018:ffffc90002d17cd0 EFLAGS: 00010246 RAX: 894ca2c73609ce00 RBX: ffff88805d6a74d8 RCX: 894ca2c73609ce00 RDX: 0000000000000000 RSI: ffffffff8b1c7bc0 RDI: ffffffff8b1c7b80 RBP: 000000000000007f R08: ffffffff8e8ae5ef R09: 1ffffffff1d15cbd R10: dffffc0000000000 R11: fffffbfff1d15cbe R12: ffff88805d6a7500 R13: ffffea00018a1074 R14: 1ffff1100bad4ea0 R15: 1ffff1100bad4ead FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffed194e498 CR3: 000000002e7a3000 CR4: 00000000003506f0