BUG: Bad page state in process jfsCommit pfn:1fc67
page:ffffea00007f19c0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1d pfn:0x1fc67
flags: 0xfff00000002007(locked|referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000002007 dead000000000100 dead000000000122 0000000000000000
raw: 000000000000001d ffff88801e74d3e0 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 4393, ts 73083475280, free_ts 73058616939
prep_new_page mm/page_alloc.c:2426 [inline]
get_page_from_freelist+0x1bbd/0x1ca0 mm/page_alloc.c:4192
__alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501
__page_cache_alloc+0xce/0x440 mm/filemap.c:1022
do_read_cache_page+0x1da/0x1030 mm/filemap.c:3457
read_mapping_page include/linux/pagemap.h:515 [inline]
__get_metapage+0x35d/0x1060 fs/jfs/jfs_metapage.c:621
diWrite+0x3f9/0x1610 fs/jfs/jfs_imap.c:639
txCommit+0x869/0x5200 fs/jfs/jfs_txnmgr.c:1256
jfs_mkdir+0x8d5/0xad0 fs/jfs/namei.c:290
vfs_mkdir+0x387/0x570 fs/namei.c:4073
do_mkdirat+0x1df/0x5b0 fs/namei.c:4098
__do_sys_mkdirat fs/namei.c:4113 [inline]
__se_sys_mkdirat fs/namei.c:4111 [inline]
__x64_sys_mkdirat+0x85/0x90 fs/namei.c:4111
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+0x8f/0x2a0 mm/page_alloc.c:3396
qlist_free_all+0x35/0x90 mm/kasan/quarantine.c:176
kasan_quarantine_reduce+0x150/0x160 mm/kasan/quarantine.c:283
__kasan_slab_alloc+0x2f/0xd0 mm/kasan/common.c:444
kasan_slab_alloc include/linux/kasan.h:254 [inline]
slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519
slab_alloc_node mm/slub.c:3225 [inline]
slab_alloc mm/slub.c:3233 [inline]
kmem_cache_alloc+0x100/0x290 mm/slub.c:3238
ptlock_alloc+0x1c/0x60 mm/memory.c:5556
ptlock_init include/linux/mm.h:2241 [inline]
pgtable_pte_page_ctor include/linux/mm.h:2268 [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:439
do_anonymous_page mm/memory.c:3806 [inline]
handle_pte_fault mm/memory.c:4648 [inline]
__handle_mm_fault mm/memory.c:4785 [inline]
handle_mm_fault+0x39b6/0x4410 mm/memory.c:4883
do_user_addr_fault+0x489/0xc80 arch/x86/mm/fault.c:1355
handle_page_fault arch/x86/mm/fault.c:1443 [inline]
exc_page_fault+0x60/0x100 arch/x86/mm/fault.c:1496
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606
Modules linked in:
CPU: 0 PID: 277 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+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+0x27e/0xcb0 fs/jfs/jfs_txnmgr.c:933
txLazyCommit fs/jfs/jfs_txnmgr.c:2717 [inline]
jfs_lazycommit+0x581/0xb40 fs/jfs/jfs_txnmgr.c:2767
kthread+0x436/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
page:ffffea00007f19c0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1d pfn:0x1fc67
flags: 0xfff00000002007(locked|referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000002007 dead000000000100 dead000000000122 0000000000000000
raw: 000000000000001d ffff88801e74d3e0 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 4393, ts 73083475280, free_ts 73058616939
prep_new_page mm/page_alloc.c:2426 [inline]
get_page_from_freelist+0x1bbd/0x1ca0 mm/page_alloc.c:4192
__alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501
__page_cache_alloc+0xce/0x440 mm/filemap.c:1022
do_read_cache_page+0x1da/0x1030 mm/filemap.c:3457
read_mapping_page include/linux/pagemap.h:515 [inline]
__get_metapage+0x35d/0x1060 fs/jfs/jfs_metapage.c:621
diWrite+0x3f9/0x1610 fs/jfs/jfs_imap.c:639
txCommit+0x869/0x5200 fs/jfs/jfs_txnmgr.c:1256
jfs_mkdir+0x8d5/0xad0 fs/jfs/namei.c:290
vfs_mkdir+0x387/0x570 fs/namei.c:4073
do_mkdirat+0x1df/0x5b0 fs/namei.c:4098
__do_sys_mkdirat fs/namei.c:4113 [inline]
__se_sys_mkdirat fs/namei.c:4111 [inline]
__x64_sys_mkdirat+0x85/0x90 fs/namei.c:4111
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+0x8f/0x2a0 mm/page_alloc.c:3396
qlist_free_all+0x35/0x90 mm/kasan/quarantine.c:176
kasan_quarantine_reduce+0x150/0x160 mm/kasan/quarantine.c:283
__kasan_slab_alloc+0x2f/0xd0 mm/kasan/common.c:444
kasan_slab_alloc include/linux/kasan.h:254 [inline]
slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519
slab_alloc_node mm/slub.c:3225 [inline]
slab_alloc mm/slub.c:3233 [inline]
kmem_cache_alloc+0x100/0x290 mm/slub.c:3238
ptlock_alloc+0x1c/0x60 mm/memory.c:5556
ptlock_init include/linux/mm.h:2241 [inline]
pgtable_pte_page_ctor include/linux/mm.h:2268 [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:439
do_anonymous_page mm/memory.c:3806 [inline]
handle_pte_fault mm/memory.c:4648 [inline]
__handle_mm_fault mm/memory.c:4785 [inline]
handle_mm_fault+0x39b6/0x4410 mm/memory.c:4883
do_user_addr_fault+0x489/0xc80 arch/x86/mm/fault.c:1355
handle_page_fault arch/x86/mm/fault.c:1443 [inline]
exc_page_fault+0x60/0x100 arch/x86/mm/fault.c:1496
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606
------------[ cut here ]------------
kernel BUG at include/linux/mm.h:1224!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 277 Comm: jfsCommit Tainted: G B syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
RIP: 0010:get_page include/linux/mm.h:1224 [inline]
RIP: 0010:put_metapage+0x278/0x280 fs/jfs/jfs_metapage.c:722
Code: 38 c1 0f 8c 00 ff ff ff 4c 89 ef e8 42 b9 ec fe e9 f3 fe ff ff e8 e8 ad a7 fe 48 8b 3c 24 48 c7 c6 a0 54 62 8a e8 c8 93 da fe <0f> 0b 66 0f 1f 44 00 00 55 41 57 41 56 41 55 41 54 53 48 83 ec 70
RSP: 0018:ffffc90002cefce0 EFLAGS: 00010246
RAX: 45fb64c4281bf100 RBX: ffff88801e74d3e0 RCX: 0000000000000000
RDX: 0000000000000044 RSI: 0000000000000000 RDI: fffff5200059df90
RBP: 000000000000007f R08: ffff8880b9033d7f R09: fffff5200059df4c
R10: dffffc0000000000 R11: ffffed10172067b0 R12: ffff88801e74d408
R13: ffffea00007f19f4 R14: 1ffff11003ce9a81 R15: 1ffff11003ce9a8e
FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f75afab3000 CR3: 000000007e645000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
txUnlock+0x427/0xcb0 fs/jfs/jfs_txnmgr.c:948
txLazyCommit fs/jfs/jfs_txnmgr.c:2717 [inline]
jfs_lazycommit+0x581/0xb40 fs/jfs/jfs_txnmgr.c:2767
kthread+0x436/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Modules linked in:
---[ end trace efee8cb495a0d8d2 ]---
RIP: 0010:get_page include/linux/mm.h:1224 [inline]
RIP: 0010:put_metapage+0x278/0x280 fs/jfs/jfs_metapage.c:722
Code: 38 c1 0f 8c 00 ff ff ff 4c 89 ef e8 42 b9 ec fe e9 f3 fe ff ff e8 e8 ad a7 fe 48 8b 3c 24 48 c7 c6 a0 54 62 8a e8 c8 93 da fe <0f> 0b 66 0f 1f 44 00 00 55 41 57 41 56 41 55 41 54 53 48 83 ec 70
RSP: 0018:ffffc90002cefce0 EFLAGS: 00010246
RAX: 45fb64c4281bf100 RBX: ffff88801e74d3e0 RCX: 0000000000000000
RDX: 0000000000000044 RSI: 0000000000000000 RDI: fffff5200059df90
RBP: 000000000000007f R08: ffff8880b9033d7f R09: fffff5200059df4c
R10: dffffc0000000000 R11: ffffed10172067b0 R12: ffff88801e74d408
R13: ffffea00007f19f4 R14: 1ffff11003ce9a81 R15: 1ffff11003ce9a8e
FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f75afab3000 CR3: 00000000635f4000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400