BUG: Bad page state in process jfsCommit pfn:4db36
page:ffffea000136cd80 refcount:0 mapcount:0 mapping:0000000000000000 index:0x72c pfn:0x4db36
flags: 0xfff00000002007(locked|referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000002007 dead000000000100 dead000000000122 0000000000000000
raw: 000000000000072c ffff8880216e6ba0 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 0x100c40(GFP_NOFS|__GFP_HARDWALL), pid 8547, ts 435148201090, free_ts 434880485044
prep_new_page mm/page_alloc.c:2426 [inline]
get_page_from_freelist+0x24f6/0x2670 mm/page_alloc.c:4192
__alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501
__page_cache_alloc+0xce/0x440 mm/filemap.c:1022
pagecache_get_page+0x9b8/0xf20 mm/filemap.c:1940
find_or_create_page include/linux/pagemap.h:420 [inline]
grab_cache_page include/linux/pagemap.h:502 [inline]
__get_metapage+0x282/0x1060 fs/jfs/jfs_metapage.c:614
dtSplitRoot+0x1cb/0x14d0 fs/jfs/jfs_dtree.c:1910
dtSplitUp fs/jfs/jfs_dtree.c:993 [inline]
dtInsert+0xe84/0x57e0 fs/jfs/jfs_dtree.c:871
jfs_symlink+0x8bb/0xfd0 fs/jfs/namei.c:1019
vfs_symlink+0x245/0x3d0 fs/namei.c:4437
do_symlinkat+0x1ab/0x6b0 fs/namei.c:4466
__do_sys_symlinkat fs/namei.c:4483 [inline]
__se_sys_symlinkat fs/namei.c:4480 [inline]
__x64_sys_symlinkat+0x95/0xa0 fs/namei.c:4480
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1340 [inline]
free_pcp_prepare mm/page_alloc.c:1391 [inline]
free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317
free_unref_page_list+0x119/0x830 mm/page_alloc.c:3433
release_pages+0x185f/0x1bd0 mm/swap.c:963
tlb_batch_pages_flush mm/mmu_gather.c:50 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:241 [inline]
tlb_flush_mmu mm/mmu_gather.c:248 [inline]
tlb_finish_mmu+0x1b4/0x370 mm/mmu_gather.c:371
exit_mmap+0x3d0/0x640 mm/mmap.c:3218
__mmput+0x115/0x390 kernel/fork.c:1128
exit_mm+0x632/0x7b0 kernel/exit.c:551
do_exit+0x5b8/0x2110 kernel/exit.c:871
do_group_exit+0x12c/0x2f0 kernel/exit.c:998
get_signal+0x7eb/0x12e0 kernel/signal.c:2901
arch_do_signal_or_restart+0xe6/0x12a0 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:154 [inline]
exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214
__syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x66/0xd0
Modules linked in:
CPU: 0 PID: 276 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+0x188/0x250 lib/dump_stack.c:106
bad_page+0x14b/0x170 mm/page_alloc.c:652
check_free_page mm/page_alloc.c:1209 [inline]
free_pages_prepare mm/page_alloc.c:1334 [inline]
free_pcp_prepare mm/page_alloc.c:1391 [inline]
free_unref_page_prepare+0x383/0x6c0 mm/page_alloc.c:3317
free_unref_page+0x8f/0x2a0 mm/page_alloc.c:3396
txUnlock+0x275/0xcb0 fs/jfs/jfs_txnmgr.c:933
txLazyCommit fs/jfs/jfs_txnmgr.c:2717 [inline]
jfs_lazycommit+0x598/0xb60 fs/jfs/jfs_txnmgr.c:2767
kthread+0x42e/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
page:ffffea000136cd80 refcount:0 mapcount:0 mapping:0000000000000000 index:0x72c pfn:0x4db36
flags: 0xfff00000002007(locked|referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000002007 dead000000000100 dead000000000122 0000000000000000
raw: 000000000000072c ffff8880216e6ba0 00000000ffffffff 0000000000000000
page dumped because: VM_BUG_ON_PAGE(((unsigned int) page_ref_count(page) + 127u <= 127u))
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x100c40(GFP_NOFS|__GFP_HARDWALL), pid 8547, ts 435148201090, free_ts 434880485044
prep_new_page mm/page_alloc.c:2426 [inline]
get_page_from_freelist+0x24f6/0x2670 mm/page_alloc.c:4192
__alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501
__page_cache_alloc+0xce/0x440 mm/filemap.c:1022
pagecache_get_page+0x9b8/0xf20 mm/filemap.c:1940
find_or_create_page include/linux/pagemap.h:420 [inline]
grab_cache_page include/linux/pagemap.h:502 [inline]
__get_metapage+0x282/0x1060 fs/jfs/jfs_metapage.c:614
dtSplitRoot+0x1cb/0x14d0 fs/jfs/jfs_dtree.c:1910
dtSplitUp fs/jfs/jfs_dtree.c:993 [inline]
dtInsert+0xe84/0x57e0 fs/jfs/jfs_dtree.c:871
jfs_symlink+0x8bb/0xfd0 fs/jfs/namei.c:1019
vfs_symlink+0x245/0x3d0 fs/namei.c:4437
do_symlinkat+0x1ab/0x6b0 fs/namei.c:4466
__do_sys_symlinkat fs/namei.c:4483 [inline]
__se_sys_symlinkat fs/namei.c:4480 [inline]
__x64_sys_symlinkat+0x95/0xa0 fs/namei.c:4480
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1340 [inline]
free_pcp_prepare mm/page_alloc.c:1391 [inline]
free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317
free_unref_page_list+0x119/0x830 mm/page_alloc.c:3433
release_pages+0x185f/0x1bd0 mm/swap.c:963
tlb_batch_pages_flush mm/mmu_gather.c:50 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:241 [inline]
tlb_flush_mmu mm/mmu_gather.c:248 [inline]
tlb_finish_mmu+0x1b4/0x370 mm/mmu_gather.c:371
exit_mmap+0x3d0/0x640 mm/mmap.c:3218
__mmput+0x115/0x390 kernel/fork.c:1128
exit_mm+0x632/0x7b0 kernel/exit.c:551
do_exit+0x5b8/0x2110 kernel/exit.c:871
do_group_exit+0x12c/0x2f0 kernel/exit.c:998
get_signal+0x7eb/0x12e0 kernel/signal.c:2901
arch_do_signal_or_restart+0xe6/0x12a0 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:154 [inline]
exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214
__syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x66/0xd0
------------[ cut here ]------------
kernel BUG at include/linux/mm.h:1224!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 276 Comm: jfsCommit Tainted: G B syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:get_page include/linux/mm.h:1224 [inline]
RIP: 0010:put_metapage+0x26d/0x270 fs/jfs/jfs_metapage.c:722
Code: 38 c1 0f 8c ff fe ff ff 4c 89 ef e8 5d 0f ed fe e9 f2 fe ff ff e8 33 ef a7 fe 48 8b 3c 24 48 c7 c6 e0 24 62 8a e8 a3 d1 da fe <0f> 0b 90 55 41 57 41 56 41 55 41 54 53 48 83 ec 38 49 89 fe 49 bc
RSP: 0018:ffffc90002c2fcf0 EFLAGS: 00010246
RAX: 5aa8acae41eacb00 RBX: ffff8880216e6ba0 RCX: 0000000000000000
RDX: 0000000000000044 RSI: 0000000000000000 RDI: fffff52000585f90
RBP: 000000000000007f R08: ffffc90002c2f407 R09: fffff52000585f4c
R10: dffffc0000000000 R11: fffff52000585e81 R12: ffff8880216e6bc8
R13: ffffea000136cdb4 R14: 1ffff110042dcd79 R15: 1ffff110042dcd86
FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0f237f7000 CR3: 00000000762cf000 CR4: 00000000003506f0
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:2717 [inline]
jfs_lazycommit+0x598/0xb60 fs/jfs/jfs_txnmgr.c:2767
kthread+0x42e/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Modules linked in:
---[ end trace 7b09896ce4d4042d ]---
RIP: 0010:get_page include/linux/mm.h:1224 [inline]
RIP: 0010:put_metapage+0x26d/0x270 fs/jfs/jfs_metapage.c:722
Code: 38 c1 0f 8c ff fe ff ff 4c 89 ef e8 5d 0f ed fe e9 f2 fe ff ff e8 33 ef a7 fe 48 8b 3c 24 48 c7 c6 e0 24 62 8a e8 a3 d1 da fe <0f> 0b 90 55 41 57 41 56 41 55 41 54 53 48 83 ec 38 49 89 fe 49 bc
RSP: 0018:ffffc90002c2fcf0 EFLAGS: 00010246
RAX: 5aa8acae41eacb00 RBX: ffff8880216e6ba0 RCX: 0000000000000000
RDX: 0000000000000044 RSI: 0000000000000000 RDI: fffff52000585f90
RBP: 000000000000007f R08: ffffc90002c2f407 R09: fffff52000585f4c
R10: dffffc0000000000 R11: fffff52000585e81 R12: ffff8880216e6bc8
R13: ffffea000136cdb4 R14: 1ffff110042dcd79 R15: 1ffff110042dcd86
FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0f237f7000 CR3: 00000000762cf000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400