BUG: Bad page state in process jfsCommit pfn:2a0ee
page:ffffea0000a83b80 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2c pfn:0x2a0ee
flags: 0xfff00000002007(locked|referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000002007 dead000000000100 dead000000000122 0000000000000000
raw: 000000000000002c ffff88801e83fba0 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 4402, ts 80613087009, free_ts 80579829811
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:5487
__page_cache_alloc+0xce/0x440 mm/filemap.c:1022
pagecache_get_page+0x9b6/0xf10 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+0x1e5/0x1510 fs/jfs/jfs_dtree.c:1910
dtSplitUp fs/jfs/jfs_dtree.c:993 [inline]
dtInsert+0xe67/0x5830 fs/jfs/jfs_dtree.c:871
jfs_mknod+0x6b6/0x9d0 fs/jfs/namei.c:1408
vfs_mknod+0x424/0x4c0 fs/namei.c:3952
do_mknodat+0x453/0x630 fs/namei.c:-1
__do_sys_mknodat fs/namei.c:4030 [inline]
__se_sys_mknodat fs/namei.c:4027 [inline]
__x64_sys_mknodat+0xa5/0xc0 fs/namei.c:4027
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
__vunmap+0x8b9/0xa50 mm/vmalloc.c:2628
hid_open_report+0xa58/0xed0 drivers/hid/hid-core.c:1300
hid_device_probe+0x297/0x360 drivers/hid/hid-core.c:2325
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x284/0xc80 drivers/base/dd.c:595
__driver_probe_device+0x18c/0x330 drivers/base/dd.c:755
driver_probe_device+0x4f/0x420 drivers/base/dd.c:785
__device_attach_driver+0x2b0/0x500 drivers/base/dd.c:907
bus_for_each_drv+0x184/0x210 drivers/base/bus.c:429
__device_attach+0x2a8/0x480 drivers/base/dd.c:979
bus_probe_device+0xbc/0x1e0 drivers/base/bus.c:489
device_add+0xa00/0xfb0 drivers/base/core.c:3412
hid_add_device+0x389/0x530 drivers/hid/hid-core.c:2475
usbhid_probe+0xb92/0xf40 drivers/hid/usbhid/hid-core.c:1427
usb_probe_interface+0x5c5/0xb20 drivers/usb/core/driver.c:396
Modules linked in:
CPU: 0 PID: 278 Comm: jfsCommit Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
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:ffffea0000a83b80 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2c pfn:0x2a0ee
flags: 0xfff00000002007(locked|referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000002007 dead000000000100 dead000000000122 0000000000000000
raw: 000000000000002c ffff88801e83fba0 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 4402, ts 80613087009, free_ts 80579829811
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:5487
__page_cache_alloc+0xce/0x440 mm/filemap.c:1022
pagecache_get_page+0x9b6/0xf10 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+0x1e5/0x1510 fs/jfs/jfs_dtree.c:1910
dtSplitUp fs/jfs/jfs_dtree.c:993 [inline]
dtInsert+0xe67/0x5830 fs/jfs/jfs_dtree.c:871
jfs_mknod+0x6b6/0x9d0 fs/jfs/namei.c:1408
vfs_mknod+0x424/0x4c0 fs/namei.c:3952
do_mknodat+0x453/0x630 fs/namei.c:-1
__do_sys_mknodat fs/namei.c:4030 [inline]
__se_sys_mknodat fs/namei.c:4027 [inline]
__x64_sys_mknodat+0xa5/0xc0 fs/namei.c:4027
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
__vunmap+0x8b9/0xa50 mm/vmalloc.c:2628
hid_open_report+0xa58/0xed0 drivers/hid/hid-core.c:1300
hid_device_probe+0x297/0x360 drivers/hid/hid-core.c:2325
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x284/0xc80 drivers/base/dd.c:595
__driver_probe_device+0x18c/0x330 drivers/base/dd.c:755
driver_probe_device+0x4f/0x420 drivers/base/dd.c:785
__device_attach_driver+0x2b0/0x500 drivers/base/dd.c:907
bus_for_each_drv+0x184/0x210 drivers/base/bus.c:429
__device_attach+0x2a8/0x480 drivers/base/dd.c:979
bus_probe_device+0xbc/0x1e0 drivers/base/bus.c:489
device_add+0xa00/0xfb0 drivers/base/core.c:3412
hid_add_device+0x389/0x530 drivers/hid/hid-core.c:2475
usbhid_probe+0xb92/0xf40 drivers/hid/usbhid/hid-core.c:1427
usb_probe_interface+0x5c5/0xb20 drivers/usb/core/driver.c:396
------------[ cut here ]------------
kernel BUG at include/linux/mm.h:1224!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 278 Comm: jfsCommit Tainted: G B syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
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 12 bf ec fe e9 f3 fe ff ff e8 f8 ba a7 fe 48 8b 3c 24 48 c7 c6 e0 52 62 8a e8 58 a1 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:ffffc90002b9fce0 EFLAGS: 00010246
RAX: 2aa38cc2452c8700 RBX: ffff88801e83fba0 RCX: 0000000000000000
RDX: 0000000000000044 RSI: 0000000000000000 RDI: fffff52000573f90
RBP: 000000000000007f R08: ffff8880b902795b R09: fffff52000573f4c
R10: dffffc0000000000 R11: ffffed1017204f2c R12: ffff88801e83fbc8
R13: ffffea0000a83bb4 R14: 1ffff11003d07f79 R15: 1ffff11003d07f86
FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f92ceb54d0 CR3: 0000000074cd6000 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 d0a09407326bc78b ]---
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 12 bf ec fe e9 f3 fe ff ff e8 f8 ba a7 fe 48 8b 3c 24 48 c7 c6 e0 52 62 8a e8 58 a1 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:ffffc90002b9fce0 EFLAGS: 00010246
RAX: 2aa38cc2452c8700 RBX: ffff88801e83fba0 RCX: 0000000000000000
RDX: 0000000000000044 RSI: 0000000000000000 RDI: fffff52000573f90
RBP: 000000000000007f R08: ffff8880b902795b R09: fffff52000573f4c
R10: dffffc0000000000 R11: ffffed1017204f2c R12: ffff88801e83fbc8
R13: ffffea0000a83bb4 R14: 1ffff11003d07f79 R15: 1ffff11003d07f86
FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f92d00efa0 CR3: 000000001fda6000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400