ERROR: (device loop4): dbUpdatePMap: blocks are outside the map
ERROR: (device loop4): remounting filesystem as read-only
BUG: Bad page state in process jfsCommit pfn:65a12
page:ffffea0001968480 refcount:0 mapcount:0 mapping:0000000000000000 index:0x8ed2c pfn:0x65a12
flags: 0xfff0000000820d(locked|referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff0000000820d dead000000000100 dead000000000122 0000000000000000
raw: 000000000008ed2c ffff888026a3aaa8 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 11287, tgid 11286 (syz.4.1067), ts 564788500616, free_ts 561675320646
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:4486
folio_alloc+0x1e/0x30 mm/mempolicy.c:2291
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_rename+0x89e/0x1800 fs/jfs/namei.c:1224
vfs_rename+0xba2/0xed0 fs/namei.c:4880
do_renameat2+0x8e9/0xce0 fs/namei.c:5033
__do_sys_rename fs/namei.c:5079 [inline]
__se_sys_rename fs/namei.c:5077 [inline]
__x64_sys_rename+0x86/0x90 fs/namei.c:5077
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
vfree+0x1a6/0x320 mm/vmalloc.c:2868
delayed_vfree_work+0x55/0x80 mm/vmalloc.c:2788
process_one_work kernel/workqueue.c:2634 [inline]
process_scheduled_works+0xa5d/0x15d0 kernel/workqueue.c:2711
worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792
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:
CPU: 1 PID: 113 Comm: jfsCommit Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/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:ffffea0001968480 refcount:0 mapcount:0 mapping:0000000000000000 index:0x8ed2c pfn:0x65a12
flags: 0xfff0000000820d(locked|referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff0000000820d dead000000000100 dead000000000122 0000000000000000
raw: 000000000008ed2c ffff888026a3aaa8 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 11287, tgid 11286 (syz.4.1067), ts 564788500616, free_ts 561675320646
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:4486
folio_alloc+0x1e/0x30 mm/mempolicy.c:2291
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_rename+0x89e/0x1800 fs/jfs/namei.c:1224
vfs_rename+0xba2/0xed0 fs/namei.c:4880
do_renameat2+0x8e9/0xce0 fs/namei.c:5033
__do_sys_rename fs/namei.c:5079 [inline]
__se_sys_rename fs/namei.c:5077 [inline]
__x64_sys_rename+0x86/0x90 fs/namei.c:5077
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
vfree+0x1a6/0x320 mm/vmalloc.c:2868
delayed_vfree_work+0x55/0x80 mm/vmalloc.c:2788
process_one_work kernel/workqueue.c:2634 [inline]
process_scheduled_works+0xa5d/0x15d0 kernel/workqueue.c:2711
worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792
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
------------[ cut here ]------------
kernel BUG at include/linux/mm.h:1458!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 113 Comm: jfsCommit Tainted: G B syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/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 77 9d d9 fe e9 25 ff ff ff e8 fd 6d 81 fe 48 8b 3c 24 48 c7 c6 40 04 04 8b e8 5d cf c1 fe <0f> 0b 4c 8b 2c 24 4c 89 ee 48 81 e6 ff 0f 00 00 31 ff e8 16 72 81
RSP: 0018:ffffc9000253fcc0 EFLAGS: 00010246
RAX: 9dd715f6c8d67100 RBX: ffff888026a3aaa8 RCX: 9dd715f6c8d67100
RDX: 0000000000000000 RSI: ffffffff8b1c82c0 RDI: ffffffff8b1c8280
RBP: 000000000000007f R08: ffffffff8e8adeaf R09: 1ffffffff1d15bd5
R10: dffffc0000000000 R11: fffffbfff1d15bd6 R12: ffff888026a3aad0
R13: ffffea00019684b4 R14: 1ffff11004d4755a R15: 1ffff11004d47567
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffa243e82f8 CR3: 0000000065645000 CR4: 00000000003506e0
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 77 9d d9 fe e9 25 ff ff ff e8 fd 6d 81 fe 48 8b 3c 24 48 c7 c6 40 04 04 8b e8 5d cf c1 fe <0f> 0b 4c 8b 2c 24 4c 89 ee 48 81 e6 ff 0f 00 00 31 ff e8 16 72 81
RSP: 0018:ffffc9000253fcc0 EFLAGS: 00010246
RAX: 9dd715f6c8d67100 RBX: ffff888026a3aaa8 RCX: 9dd715f6c8d67100
RDX: 0000000000000000 RSI: ffffffff8b1c82c0 RDI: ffffffff8b1c8280
RBP: 000000000000007f R08: ffffffff8e8adeaf R09: 1ffffffff1d15bd5
R10: dffffc0000000000 R11: fffffbfff1d15bd6 R12: ffff888026a3aad0
R13: ffffea00019684b4 R14: 1ffff11004d4755a R15: 1ffff11004d47567
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffa243e82f8 CR3: 000000002dedb000 CR4: 00000000003506e0