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:76b49
page:ffffea0001dad240 refcount:0 mapcount:0 mapping:0000000000000000 index:0x50030 pfn:0x76b49
flags: 0xfff0000000800d(locked|referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff0000000800d dead000000000100 dead000000000122 0000000000000000
raw: 0000000000050030 ffff88807696de88 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 5901, tgid 5899 (syz.0.21), ts 97733619435, free_ts 97678070896
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
__filemap_get_folio+0x3ea/0xbb0 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+0x2a8/0xfa0 fs/jfs/jfs_metapage.c:613
dtSplitRoot+0x203/0x16b0 fs/jfs/jfs_dtree.c:1910
dtSplitUp fs/jfs/jfs_dtree.c:993 [inline]
dtInsert+0xed5/0x5de0 fs/jfs/jfs_dtree.c:871
jfs_mkdir+0x75c/0xac0 fs/jfs/namei.c:270
vfs_mkdir+0x296/0x440 fs/namei.c:4121
do_mkdirat+0x1dc/0x450 fs/namei.c:4144
__do_sys_mkdirat fs/namei.c:4159 [inline]
__se_sys_mkdirat fs/namei.c:4157 [inline]
__x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4157
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/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:1181 [inline]
free_unref_page_prepare+0x7b2/0x8c0 mm/page_alloc.c:2365
free_unref_page+0x32/0x2e0 mm/page_alloc.c:2458
__slab_free+0x35a/0x400 mm/slub.c:3736
qlink_free mm/kasan/quarantine.c:166 [inline]
qlist_free_all+0x75/0xd0 mm/kasan/quarantine.c:185
kasan_quarantine_reduce+0x143/0x160 mm/kasan/quarantine.c:292
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:306
kasan_slab_alloc include/linux/kasan.h:188 [inline]
slab_post_alloc_hook+0x6e/0x4b0 mm/slab.h:767
slab_alloc_node mm/slub.c:3495 [inline]
slab_alloc mm/slub.c:3503 [inline]
__kmem_cache_alloc_lru mm/slub.c:3510 [inline]
kmem_cache_alloc+0x11a/0x2d0 mm/slub.c:3519
anon_vma_chain_alloc mm/rmap.c:142 [inline]
__anon_vma_prepare+0x68/0x430 mm/rmap.c:196
anon_vma_prepare include/linux/rmap.h:159 [inline]
do_anonymous_page mm/memory.c:4148 [inline]
do_pte_missing mm/memory.c:3687 [inline]
handle_pte_fault mm/memory.c:5047 [inline]
__handle_mm_fault mm/memory.c:5188 [inline]
handle_mm_fault+0x401d/0x4c00 mm/memory.c:5353
do_user_addr_fault+0x730/0x12c0 arch/x86/mm/fault.c:1371
handle_page_fault arch/x86/mm/fault.c:1463 [inline]
exc_page_fault+0x64/0x100 arch/x86/mm/fault.c:1516
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:608
Modules linked in:
CPU: 0 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:ffffea0001dad240 refcount:0 mapcount:0 mapping:0000000000000000 index:0x50030 pfn:0x76b49
flags: 0xfff0000000800d(locked|referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff0000000800d dead000000000100 dead000000000122 0000000000000000
raw: 0000000000050030 ffff88807696de88 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 5901, tgid 5899 (syz.0.21), ts 97733619435, free_ts 97678070896
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
__filemap_get_folio+0x3ea/0xbb0 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+0x2a8/0xfa0 fs/jfs/jfs_metapage.c:613
dtSplitRoot+0x203/0x16b0 fs/jfs/jfs_dtree.c:1910
dtSplitUp fs/jfs/jfs_dtree.c:993 [inline]
dtInsert+0xed5/0x5de0 fs/jfs/jfs_dtree.c:871
jfs_mkdir+0x75c/0xac0 fs/jfs/namei.c:270
vfs_mkdir+0x296/0x440 fs/namei.c:4121
do_mkdirat+0x1dc/0x450 fs/namei.c:4144
__do_sys_mkdirat fs/namei.c:4159 [inline]
__se_sys_mkdirat fs/namei.c:4157 [inline]
__x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4157
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/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:1181 [inline]
free_unref_page_prepare+0x7b2/0x8c0 mm/page_alloc.c:2365
free_unref_page+0x32/0x2e0 mm/page_alloc.c:2458
__slab_free+0x35a/0x400 mm/slub.c:3736
qlink_free mm/kasan/quarantine.c:166 [inline]
qlist_free_all+0x75/0xd0 mm/kasan/quarantine.c:185
kasan_quarantine_reduce+0x143/0x160 mm/kasan/quarantine.c:292
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:306
kasan_slab_alloc include/linux/kasan.h:188 [inline]
slab_post_alloc_hook+0x6e/0x4b0 mm/slab.h:767
slab_alloc_node mm/slub.c:3495 [inline]
slab_alloc mm/slub.c:3503 [inline]
__kmem_cache_alloc_lru mm/slub.c:3510 [inline]
kmem_cache_alloc+0x11a/0x2d0 mm/slub.c:3519
anon_vma_chain_alloc mm/rmap.c:142 [inline]
__anon_vma_prepare+0x68/0x430 mm/rmap.c:196
anon_vma_prepare include/linux/rmap.h:159 [inline]
do_anonymous_page mm/memory.c:4148 [inline]
do_pte_missing mm/memory.c:3687 [inline]
handle_pte_fault mm/memory.c:5047 [inline]
__handle_mm_fault mm/memory.c:5188 [inline]
handle_mm_fault+0x401d/0x4c00 mm/memory.c:5353
do_user_addr_fault+0x730/0x12c0 arch/x86/mm/fault.c:1371
handle_page_fault arch/x86/mm/fault.c:1463 [inline]
exc_page_fault+0x64/0x100 arch/x86/mm/fault.c:1516
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:608
------------[ 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 3d 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 56 45 81
RSP: 0018:ffffc90002d17cc0 EFLAGS: 00010246
RAX: b11be691f9efeb00 RBX: ffff88807696de88 RCX: b11be691f9efeb00
RDX: 0000000000000000 RSI: ffffffff8b1c8e40 RDI: ffffffff8b1c8e00
RBP: 000000000000007f R08: ffffffff8e8b15ef R09: 1ffffffff1d162bd
R10: dffffc0000000000 R11: fffffbfff1d162be R12: ffff88807696deb0
R13: ffffea0001dad274 R14: 1ffff1100ed2dbd6 R15: 1ffff1100ed2dbe3
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6b1b3e92f8 CR3: 0000000062bec000 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 3d 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 56 45 81
RSP: 0018:ffffc90002d17cc0 EFLAGS: 00010246
RAX: b11be691f9efeb00 RBX: ffff88807696de88 RCX: b11be691f9efeb00
RDX: 0000000000000000 RSI: ffffffff8b1c8e40 RDI: ffffffff8b1c8e00
RBP: 000000000000007f R08: ffffffff8e8b15ef R09: 1ffffffff1d162bd
R10: dffffc0000000000 R11: fffffbfff1d162be R12: ffff88807696deb0
R13: ffffea0001dad274 R14: 1ffff1100ed2dbd6 R15: 1ffff1100ed2dbe3
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6b1b3e92f8 CR3: 0000000063678000 CR4: 00000000003506f0