BUG: Bad page state in process jfsCommit pfn:26caf page:ffffea00009b2bc0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1c pfn:0x26caf flags: 0xfff0800000820d(locked|referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff0800000820d dead000000000100 dead000000000122 0000000000000000 raw: 000000000000001c ffff88801c3d08b8 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 7096, tgid 7094 (syz.2.275), ts 187429922570, free_ts 173428682543 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1c1/0x200 mm/page_alloc.c:1581 prep_new_page mm/page_alloc.c:1588 [inline] get_page_from_freelist+0x1951/0x19e0 mm/page_alloc.c:3220 __alloc_pages+0x1f0/0x460 mm/page_alloc.c:4500 folio_alloc+0x1e/0x30 mm/mempolicy.c:2289 filemap_alloc_folio+0xdf/0x490 mm/filemap.c:1004 do_read_cache_folio+0x364/0x7d0 mm/filemap.c:3768 do_read_cache_page+0x32/0x250 mm/filemap.c:3870 read_mapping_page include/linux/pagemap.h:892 [inline] __get_metapage+0x31a/0xfa0 fs/jfs/jfs_metapage.c:620 diRead+0x6d3/0xb90 fs/jfs/jfs_imap.c:367 jfs_iget+0x90/0x440 fs/jfs/inode.c:35 jfs_fill_super+0x712/0xad0 fs/jfs/super.c:580 mount_bdev+0x221/0x2d0 fs/super.c:1643 legacy_get_tree+0xea/0x180 fs/fs_context.c:662 vfs_get_tree+0x8c/0x280 fs/super.c:1764 do_new_mount+0x24b/0xa40 fs/namespace.c:3386 do_mount fs/namespace.c:3726 [inline] __do_sys_mount fs/namespace.c:3935 [inline] __se_sys_mount+0x2e7/0x3d0 fs/namespace.c:3912 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1181 [inline] free_unref_page_prepare+0x7b2/0x8c0 mm/page_alloc.c:2365 free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2504 release_pages+0x1f7a/0x2200 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+0x3b9/0xfb0 mm/truncate.c:396 kill_bdev block/bdev.c:76 [inline] blkdev_flush_mapping+0x132/0x290 block/bdev.c:649 blkdev_put_whole block/bdev.c:680 [inline] blkdev_put+0x498/0x760 block/bdev.c:958 bdev_release+0x57/0x70 block/bdev.c:968 kill_f2fs_super+0x326/0x3d0 fs/f2fs/super.c:4883 deactivate_locked_super+0x97/0x100 fs/super.c:481 cleanup_mnt+0x43b/0x4d0 fs/namespace.c:1259 task_work_run+0x1d4/0x260 kernel/task_work.c:245 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302 do_syscall_64+0x61/0xa0 arch/x86/entry/common.c:82 Modules linked in: CPU: 1 PID: 112 Comm: jfsCommit Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/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+0x85f/0x8c0 mm/page_alloc.c:2365 free_unref_page+0x32/0x2e0 mm/page_alloc.c:2458 txUnlock+0x27e/0xcb0 fs/jfs/jfs_txnmgr.c:933 txLazyCommit fs/jfs/jfs_txnmgr.c:2683 [inline] jfs_lazycommit+0x56e/0xa70 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:ffffea00009b2bc0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1c pfn:0x26caf flags: 0xfff0800000820d(locked|referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff0800000820d dead000000000100 dead000000000122 0000000000000000 raw: 000000000000001c ffff88801c3d08b8 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 7096, tgid 7094 (syz.2.275), ts 187429922570, free_ts 173428682543 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1c1/0x200 mm/page_alloc.c:1581 prep_new_page mm/page_alloc.c:1588 [inline] get_page_from_freelist+0x1951/0x19e0 mm/page_alloc.c:3220 __alloc_pages+0x1f0/0x460 mm/page_alloc.c:4500 folio_alloc+0x1e/0x30 mm/mempolicy.c:2289 filemap_alloc_folio+0xdf/0x490 mm/filemap.c:1004 do_read_cache_folio+0x364/0x7d0 mm/filemap.c:3768 do_read_cache_page+0x32/0x250 mm/filemap.c:3870 read_mapping_page include/linux/pagemap.h:892 [inline] __get_metapage+0x31a/0xfa0 fs/jfs/jfs_metapage.c:620 diRead+0x6d3/0xb90 fs/jfs/jfs_imap.c:367 jfs_iget+0x90/0x440 fs/jfs/inode.c:35 jfs_fill_super+0x712/0xad0 fs/jfs/super.c:580 mount_bdev+0x221/0x2d0 fs/super.c:1643 legacy_get_tree+0xea/0x180 fs/fs_context.c:662 vfs_get_tree+0x8c/0x280 fs/super.c:1764 do_new_mount+0x24b/0xa40 fs/namespace.c:3386 do_mount fs/namespace.c:3726 [inline] __do_sys_mount fs/namespace.c:3935 [inline] __se_sys_mount+0x2e7/0x3d0 fs/namespace.c:3912 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1181 [inline] free_unref_page_prepare+0x7b2/0x8c0 mm/page_alloc.c:2365 free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2504 release_pages+0x1f7a/0x2200 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+0x3b9/0xfb0 mm/truncate.c:396 kill_bdev block/bdev.c:76 [inline] blkdev_flush_mapping+0x132/0x290 block/bdev.c:649 blkdev_put_whole block/bdev.c:680 [inline] blkdev_put+0x498/0x760 block/bdev.c:958 bdev_release+0x57/0x70 block/bdev.c:968 kill_f2fs_super+0x326/0x3d0 fs/f2fs/super.c:4883 deactivate_locked_super+0x97/0x100 fs/super.c:481 cleanup_mnt+0x43b/0x4d0 fs/namespace.c:1259 task_work_run+0x1d4/0x260 kernel/task_work.c:245 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302 do_syscall_64+0x61/0xa0 arch/x86/entry/common.c:82 ------------[ cut here ]------------ kernel BUG at include/linux/mm.h:1458! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 112 Comm: jfsCommit Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/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+0x253/0x340 fs/jfs/jfs_metapage.c:750 Code: 38 c1 0f 8c 32 ff ff ff 4c 89 ef e8 b7 78 d9 fe e9 25 ff ff ff e8 2d 41 81 fe 48 8b 3c 24 48 c7 c6 80 09 04 8b e8 dd aa c1 fe <0f> 0b 4c 8b 2c 24 4c 89 ee 48 81 e6 ff 0f 00 00 31 ff e8 46 45 81 RSP: 0018:ffffc90002d37cc0 EFLAGS: 00010246 RAX: 5b8036d6f875e000 RBX: ffff88801c3d08b8 RCX: 5b8036d6f875e000 RDX: 0000000000000000 RSI: ffffffff8b1c8e40 RDI: ffffffff8b1c8e00 RBP: 000000000000007f R08: ffffffff8e8b14ef R09: 1ffffffff1d1629d R10: dffffc0000000000 R11: fffffbfff1d1629e R12: ffff88801c3d08e0 R13: ffffea00009b2bf4 R14: 1ffff1100387a11c R15: 1ffff1100387a129 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0b6b1e92f8 CR3: 000000002d742000 CR4: 00000000003506f0 Call Trace: txUnlock+0x427/0xcb0 fs/jfs/jfs_txnmgr.c:948 txLazyCommit fs/jfs/jfs_txnmgr.c:2683 [inline] jfs_lazycommit+0x56e/0xa70 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+0x253/0x340 fs/jfs/jfs_metapage.c:750 Code: 38 c1 0f 8c 32 ff ff ff 4c 89 ef e8 b7 78 d9 fe e9 25 ff ff ff e8 2d 41 81 fe 48 8b 3c 24 48 c7 c6 80 09 04 8b e8 dd aa c1 fe <0f> 0b 4c 8b 2c 24 4c 89 ee 48 81 e6 ff 0f 00 00 31 ff e8 46 45 81 RSP: 0018:ffffc90002d37cc0 EFLAGS: 00010246 RAX: 5b8036d6f875e000 RBX: ffff88801c3d08b8 RCX: 5b8036d6f875e000 RDX: 0000000000000000 RSI: ffffffff8b1c8e40 RDI: ffffffff8b1c8e00 RBP: 000000000000007f R08: ffffffff8e8b14ef R09: 1ffffffff1d1629d R10: dffffc0000000000 R11: fffffbfff1d1629e R12: ffff88801c3d08e0 R13: ffffea00009b2bf4 R14: 1ffff1100387a11c R15: 1ffff1100387a129 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0b6b1e92f8 CR3: 0000000030a16000 CR4: 00000000003506f0