BUG: Bad page state in process jfsCommit pfn:73c3f
page:ffffea0001cf0fc0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2d9 pfn:0x73c3f
flags: 0xfff00000002007(locked|referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000002007 dead000000000100 dead000000000122 0000000000000000
raw: 00000000000002d9 ffff8880259394d8 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 4302, ts 72873064662, free_ts 72727205564
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
xtSplitRoot+0xd4/0xdd0 fs/jfs/jfs_xtree.c:1238
xtSplitUp+0x35e/0x1c30 fs/jfs/jfs_xtree.c:781
xtInsert+0x3e3/0xc30 fs/jfs/jfs_xtree.c:604
extAlloc+0xa58/0xf70 fs/jfs/jfs_extent.c:148
jfs_get_block+0x34e/0xad0 fs/jfs/inode.c:264
nobh_write_begin+0x3d5/0xe80 fs/buffer.c:2650
jfs_write_begin+0x3d/0x80 fs/jfs/inode.c:328
generic_perform_write+0x2b6/0x550 mm/filemap.c:3785
__generic_file_write_iter+0x261/0x4e0 mm/filemap.c:3912
generic_file_write_iter+0xa6/0x1b0 mm/filemap.c:3944
__kernel_write+0x522/0x980 fs/read_write.c:539
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
free_slab mm/slub.c:2020 [inline]
discard_slab mm/slub.c:2026 [inline]
__unfreeze_partials+0x188/0x1e0 mm/slub.c:2512
put_cpu_partial+0x12d/0x190 mm/slub.c:2592
qlist_free_all+0x35/0x90 mm/kasan/quarantine.c:176
kasan_quarantine_reduce+0x150/0x160 mm/kasan/quarantine.c:283
__kasan_slab_alloc+0x2f/0xc0 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]
__kmalloc+0x189/0x340 mm/slub.c:4408
kmalloc_array include/linux/slab.h:647 [inline]
kcalloc include/linux/slab.h:676 [inline]
iter_file_splice_write+0x1a0/0xcf0 fs/splice.c:628
do_splice_from fs/splice.c:767 [inline]
direct_splice_actor+0xe1/0x130 fs/splice.c:956
splice_direct_to_actor+0x4e8/0xc00 fs/splice.c:902
do_splice_direct+0x1d4/0x2f0 fs/splice.c:1008
do_sendfile+0x524/0xe30 fs/read_write.c:1249
__do_sys_sendfile64 fs/read_write.c:1317 [inline]
__se_sys_sendfile64+0x141/0x1a0 fs/read_write.c:1303
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
Modules linked in:
CPU: 0 PID: 275 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:ffffea0001cf0fc0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2d9 pfn:0x73c3f
flags: 0xfff00000002007(locked|referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000002007 dead000000000100 dead000000000122 0000000000000000
raw: 00000000000002d9 ffff8880259394d8 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 4302, ts 72873064662, free_ts 72727205564
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
xtSplitRoot+0xd4/0xdd0 fs/jfs/jfs_xtree.c:1238
xtSplitUp+0x35e/0x1c30 fs/jfs/jfs_xtree.c:781
xtInsert+0x3e3/0xc30 fs/jfs/jfs_xtree.c:604
extAlloc+0xa58/0xf70 fs/jfs/jfs_extent.c:148
jfs_get_block+0x34e/0xad0 fs/jfs/inode.c:264
nobh_write_begin+0x3d5/0xe80 fs/buffer.c:2650
jfs_write_begin+0x3d/0x80 fs/jfs/inode.c:328
generic_perform_write+0x2b6/0x550 mm/filemap.c:3785
__generic_file_write_iter+0x261/0x4e0 mm/filemap.c:3912
generic_file_write_iter+0xa6/0x1b0 mm/filemap.c:3944
__kernel_write+0x522/0x980 fs/read_write.c:539
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
free_slab mm/slub.c:2020 [inline]
discard_slab mm/slub.c:2026 [inline]
__unfreeze_partials+0x188/0x1e0 mm/slub.c:2512
put_cpu_partial+0x12d/0x190 mm/slub.c:2592
qlist_free_all+0x35/0x90 mm/kasan/quarantine.c:176
kasan_quarantine_reduce+0x150/0x160 mm/kasan/quarantine.c:283
__kasan_slab_alloc+0x2f/0xc0 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]
__kmalloc+0x189/0x340 mm/slub.c:4408
kmalloc_array include/linux/slab.h:647 [inline]
kcalloc include/linux/slab.h:676 [inline]
iter_file_splice_write+0x1a0/0xcf0 fs/splice.c:628
do_splice_from fs/splice.c:767 [inline]
direct_splice_actor+0xe1/0x130 fs/splice.c:956
splice_direct_to_actor+0x4e8/0xc00 fs/splice.c:902
do_splice_direct+0x1d4/0x2f0 fs/splice.c:1008
do_sendfile+0x524/0xe30 fs/read_write.c:1249
__do_sys_sendfile64 fs/read_write.c:1317 [inline]
__se_sys_sendfile64+0x141/0x1a0 fs/read_write.c:1303
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
------------[ cut here ]------------
kernel BUG at include/linux/mm.h:1224!
invalid opcode: 0000 [#2] PREEMPT SMP KASAN
CPU: 0 PID: 275 Comm: jfsCommit Tainted: G B D 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:ffffc9000257fcf0 EFLAGS: 00010246
RAX: 8eac0fe6a39f1c00 RBX: ffff8880259394d8 RCX: 0000000000000000
RDX: 0000000000000044 RSI: 0000000000000000 RDI: fffff520004aff90
RBP: 000000000000007f R08: ffffc9000257f407 R09: fffff520004aff4c
R10: dffffc0000000000 R11: fffff520004afe81 R12: ffff888025939500
R13: ffffea0001cf0ff4 R14: 1ffff11004b272a0 R15: 1ffff11004b272ad
FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d4fa857168 CR3: 0000000017995000 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 21bed8fcfb6ed954 ]---
RIP: 0010:jfs_evict_inode+0x420/0x430 fs/jfs/inode.c:175
Code: f3 fe e9 e8 fd ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 23 fe ff ff 4c 89 f7 e8 4a 04 f3 fe e9 16 fe ff ff e8 20 e4 ad fe <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 57 41 56 41 54
RSP: 0018:ffffc90002f2fa48 EFLAGS: 00010293
RAX: ffffffff82cb0e80 RBX: ffff88805fc7e9f0 RCX: ffff88807c435940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88805fc7e9f0
RBP: 0000000000000001 R08: ffff88805fc7ec23 R09: 1ffff1100bf8fd84
R10: dffffc0000000000 R11: ffffed100bf8fd85 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff88805fc7e678 R15: ffff88805fc7ea18
FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d4fa857168 CR3: 0000000026074000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400