ERROR: (device loop0): remounting filesystem as read-only blkno = 5002c, nblocks = 4 ERROR: (device loop0): dbUpdatePMap: blocks are outside the map ERROR: (device loop0): remounting filesystem as read-only BUG: Bad page state in process jfsCommit pfn:50b4d page:ffffea000142d340 refcount:0 mapcount:0 mapping:0000000000000000 index:0x50030 pfn:0x50b4d flags: 0xfff00000002007(locked|referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002007 dead000000000100 dead000000000122 0000000000000000 raw: 0000000000050030 ffff88807e5859b0 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 8327, tgid 8325 (syz.0.1509), ts 251676024782, free_ts 251660357632 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:2292 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:648 [inline] grab_cache_page include/linux/pagemap.h:780 [inline] __get_metapage+0x2a7/0xfb0 fs/jfs/jfs_metapage.c:613 dtSplitRoot+0x1dc/0x1520 fs/jfs/jfs_dtree.c:1910 dtSplitUp fs/jfs/jfs_dtree.c:993 [inline] dtInsert+0xe7f/0x57e0 fs/jfs/jfs_dtree.c:871 jfs_mkdir+0x764/0xb00 fs/jfs/namei.c:270 vfs_mkdir+0x386/0x570 fs/namei.c:4114 do_mkdirat+0x1d8/0x440 fs/namei.c:4139 __do_sys_mkdirat fs/namei.c:4154 [inline] __se_sys_mkdirat fs/namei.c:4152 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4152 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 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+0x2e/0x3f0 mm/page_alloc.c:3509 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x144/0x160 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x1e/0x80 mm/kasan/common.c:306 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x4b/0x490 mm/slab.h:737 slab_alloc_node mm/slub.c:3359 [inline] slab_alloc mm/slub.c:3367 [inline] __kmem_cache_alloc_lru mm/slub.c:3374 [inline] kmem_cache_alloc+0x18b/0x2f0 mm/slub.c:3383 ptlock_alloc+0x1c/0x60 mm/memory.c:6045 ptlock_init include/linux/mm.h:2480 [inline] pgtable_pte_page_ctor include/linux/mm.h:2507 [inline] __pte_alloc_one include/asm-generic/pgalloc.h:66 [inline] pte_alloc_one+0xc0/0x310 arch/x86/mm/pgtable.c:33 __pte_alloc+0x21/0x150 mm/memory.c:468 copy_pte_range mm/memory.c:1042 [inline] copy_pmd_range mm/memory.c:1177 [inline] copy_pud_range mm/memory.c:1214 [inline] copy_p4d_range mm/memory.c:1238 [inline] copy_page_range+0x322f/0x3a60 mm/memory.c:1332 dup_mmap kernel/fork.c:703 [inline] dup_mm kernel/fork.c:1548 [inline] copy_mm+0xeb0/0x1680 kernel/fork.c:1597 copy_process+0x19a6/0x40c0 kernel/fork.c:2358 kernel_clone+0x24b/0x900 kernel/fork.c:2765 __do_sys_clone kernel/fork.c:2906 [inline] __se_sys_clone kernel/fork.c:2890 [inline] __x64_sys_clone+0x1a7/0x220 kernel/fork.c:2890 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 Modules linked in: CPU: 1 PID: 107 Comm: jfsCommit Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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+0x2e/0x3f0 mm/page_alloc.c:3509 txUnlock+0x275/0xcb0 fs/jfs/jfs_txnmgr.c:933 txLazyCommit fs/jfs/jfs_txnmgr.c:2683 [inline] jfs_lazycommit+0x588/0xa90 fs/jfs/jfs_txnmgr.c:2733 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 page:ffffea000142d340 refcount:0 mapcount:0 mapping:0000000000000000 index:0x50030 pfn:0x50b4d flags: 0xfff00000002007(locked|referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002007 dead000000000100 dead000000000122 0000000000000000 raw: 0000000000050030 ffff88807e5859b0 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 8327, tgid 8325 (syz.0.1509), ts 251676024782, free_ts 251660357632 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:2292 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:648 [inline] grab_cache_page include/linux/pagemap.h:780 [inline] __get_metapage+0x2a7/0xfb0 fs/jfs/jfs_metapage.c:613 dtSplitRoot+0x1dc/0x1520 fs/jfs/jfs_dtree.c:1910 dtSplitUp fs/jfs/jfs_dtree.c:993 [inline] dtInsert+0xe7f/0x57e0 fs/jfs/jfs_dtree.c:871 jfs_mkdir+0x764/0xb00 fs/jfs/namei.c:270 vfs_mkdir+0x386/0x570 fs/namei.c:4114 do_mkdirat+0x1d8/0x440 fs/namei.c:4139 __do_sys_mkdirat fs/namei.c:4154 [inline] __se_sys_mkdirat fs/namei.c:4152 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4152 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 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+0x2e/0x3f0 mm/page_alloc.c:3509 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x144/0x160 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x1e/0x80 mm/kasan/common.c:306 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x4b/0x490 mm/slab.h:737 slab_alloc_node mm/slub.c:3359 [inline] slab_alloc mm/slub.c:3367 [inline] __kmem_cache_alloc_lru mm/slub.c:3374 [inline] kmem_cache_alloc+0x18b/0x2f0 mm/slub.c:3383 ptlock_alloc+0x1c/0x60 mm/memory.c:6045 ptlock_init include/linux/mm.h:2480 [inline] pgtable_pte_page_ctor include/linux/mm.h:2507 [inline] __pte_alloc_one include/asm-generic/pgalloc.h:66 [inline] pte_alloc_one+0xc0/0x310 arch/x86/mm/pgtable.c:33 __pte_alloc+0x21/0x150 mm/memory.c:468 copy_pte_range mm/memory.c:1042 [inline] copy_pmd_range mm/memory.c:1177 [inline] copy_pud_range mm/memory.c:1214 [inline] copy_p4d_range mm/memory.c:1238 [inline] copy_page_range+0x322f/0x3a60 mm/memory.c:1332 dup_mmap kernel/fork.c:703 [inline] dup_mm kernel/fork.c:1548 [inline] copy_mm+0xeb0/0x1680 kernel/fork.c:1597 copy_process+0x19a6/0x40c0 kernel/fork.c:2358 kernel_clone+0x24b/0x900 kernel/fork.c:2765 __do_sys_clone kernel/fork.c:2906 [inline] __se_sys_clone kernel/fork.c:2890 [inline] __x64_sys_clone+0x1a7/0x220 kernel/fork.c:2890 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 ------------[ cut here ]------------ kernel BUG at include/linux/mm.h:1146! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 107 Comm: jfsCommit Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:folio_get include/linux/mm.h:1146 [inline] RIP: 0010:get_page include/linux/mm.h:1152 [inline] RIP: 0010:put_metapage+0x244/0x330 fs/jfs/jfs_metapage.c:721 Code: 38 c1 0f 8c 31 ff ff ff 4c 89 ef e8 86 c8 e0 fe e9 24 ff ff ff e8 cc 9b 8f fe 48 8b 3c 24 48 c7 c6 40 1a c6 8a e8 fc be ca fe <0f> 0b 48 89 ee 48 81 e6 ff 0f 00 00 31 ff e8 89 9f 8f fe 48 89 2c RSP: 0018:ffffc900026b7cf0 EFLAGS: 00010246 RAX: 6c8865202f557800 RBX: ffff88807e5859b0 RCX: 6c8865202f557800 RDX: 0000000000000000 RSI: ffffffff8adf5dc0 RDI: ffffffff8adf5d80 RBP: 000000000000007f R08: ffffffff8e210aef R09: 1ffffffff1c4215d R10: dffffc0000000000 R11: fffffbfff1c4215e R12: ffff88807e5859d8 R13: ffffea000142d374 R14: 1ffff1100fcb0b3b R15: 1ffff1100fcb0b48 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005650f6663660 CR3: 000000007e59c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: txUnlock+0x426/0xcb0 fs/jfs/jfs_txnmgr.c:948 txLazyCommit fs/jfs/jfs_txnmgr.c:2683 [inline] jfs_lazycommit+0x588/0xa90 fs/jfs/jfs_txnmgr.c:2733 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_get include/linux/mm.h:1146 [inline] RIP: 0010:get_page include/linux/mm.h:1152 [inline] RIP: 0010:put_metapage+0x244/0x330 fs/jfs/jfs_metapage.c:721 Code: 38 c1 0f 8c 31 ff ff ff 4c 89 ef e8 86 c8 e0 fe e9 24 ff ff ff e8 cc 9b 8f fe 48 8b 3c 24 48 c7 c6 40 1a c6 8a e8 fc be ca fe <0f> 0b 48 89 ee 48 81 e6 ff 0f 00 00 31 ff e8 89 9f 8f fe 48 89 2c RSP: 0018:ffffc900026b7cf0 EFLAGS: 00010246 RAX: 6c8865202f557800 RBX: ffff88807e5859b0 RCX: 6c8865202f557800 RDX: 0000000000000000 RSI: ffffffff8adf5dc0 RDI: ffffffff8adf5d80 RBP: 000000000000007f R08: ffffffff8e210aef R09: 1ffffffff1c4215d R10: dffffc0000000000 R11: fffffbfff1c4215e R12: ffff88807e5859d8 R13: ffffea000142d374 R14: 1ffff1100fcb0b3b R15: 1ffff1100fcb0b48 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc51bbff30 CR3: 0000000073b33000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400