BUG: Bad page state in process kworker/u4:1 pfn:1e656 page:ffffea0000799580 refcount:0 mapcount:0 mapping:0000000000000000 index:0x34 pfn:0x1e656 flags: 0xfff18000002047(locked|referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff18000002047 dead000000000100 dead000000000122 0000000000000000 raw: 0000000000000034 ffff888075ef45d0 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 4515, tgid 4513 (syz.0.45), ts 98823977909, free_ts 98822779589 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2559 prep_new_page mm/page_alloc.c:2566 [inline] get_page_from_freelist+0x1a1e/0x1ab0 mm/page_alloc.c:4357 __alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5657 folio_alloc+0x1c/0x60 mm/mempolicy.c:2292 filemap_alloc_folio+0xdb/0x480 mm/filemap.c:999 __filemap_get_folio+0x6ab/0xdb0 mm/filemap.c:1993 pagecache_get_page+0x26/0x250 mm/folio-compat.c:110 find_or_create_page include/linux/pagemap.h:648 [inline] grab_cache_page include/linux/pagemap.h:780 [inline] __get_metapage+0x2a4/0xfa0 fs/jfs/jfs_metapage.c:613 xtSplitRoot+0xd9/0xdd0 fs/jfs/jfs_xtree.c:1227 xtSplitUp+0x2d6/0x1c60 fs/jfs/jfs_xtree.c:770 xtInsert+0x403/0xc50 fs/jfs/jfs_xtree.c:593 extAlloc+0xa1f/0xf80 fs/jfs/jfs_extent.c:145 jfs_get_block+0x355/0xad0 fs/jfs/inode.c:254 get_more_blocks fs/direct-io.c:659 [inline] do_direct_IO fs/direct-io.c:947 [inline] __blockdev_direct_IO+0x1749/0x3570 fs/direct-io.c:1260 blockdev_direct_IO include/linux/fs.h:3344 [inline] jfs_direct_IO+0x119/0x220 fs/jfs/inode.c:342 generic_file_direct_write+0x10f/0x330 mm/filemap.c:3787 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1486 [inline] free_pcp_prepare mm/page_alloc.c:1536 [inline] free_unref_page_prepare+0x8b4/0x9a0 mm/page_alloc.c:3413 free_unref_page+0x2e/0x3f0 mm/page_alloc.c:3508 free_slab mm/slub.c:2036 [inline] discard_slab mm/slub.c:2042 [inline] __unfreeze_partials+0x1a5/0x200 mm/slub.c:2591 put_cpu_partial+0x17c/0x250 mm/slub.c:2667 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x144/0x160 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x1e/0x80 mm/kasan/common.c:306 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x4b/0x480 mm/slab.h:737 slab_alloc_node mm/slub.c:3359 [inline] slab_alloc mm/slub.c:3367 [inline] __kmem_cache_alloc_lru mm/slub.c:3374 [inline] kmem_cache_alloc+0x123/0x2f0 mm/slub.c:3383 getname_flags+0xb7/0x500 fs/namei.c:139 user_path_at_empty+0x28/0x60 fs/namei.c:2912 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3418 [inline] __do_sys_mount fs/namespace.c:3629 [inline] __se_sys_mount+0x2a4/0x3d0 fs/namespace.c:3606 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Modules linked in: CPU: 1 PID: 11 Comm: kworker/u4:1 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 Workqueue: writeback wb_workfn (flush-7:0) Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 bad_page+0x14b/0x170 mm/page_alloc.c:726 free_page_is_bad mm/page_alloc.c:1318 [inline] free_pages_prepare mm/page_alloc.c:1479 [inline] free_pcp_prepare mm/page_alloc.c:1536 [inline] free_unref_page_prepare+0x42a/0x9a0 mm/page_alloc.c:3413 free_unref_page+0x2e/0x3f0 mm/page_alloc.c:3508 txUnlock+0x27e/0xcb0 fs/jfs/jfs_txnmgr.c:933 txCommit+0x4d48/0x5200 fs/jfs/jfs_txnmgr.c:1336 jfs_commit_inode+0x2ec/0x520 fs/jfs/inode.c:114 jfs_write_inode+0x141/0x220 fs/jfs/inode.c:138 write_inode fs/fs-writeback.c:1470 [inline] __writeback_single_inode+0x75b/0x1160 fs/fs-writeback.c:1687 writeback_sb_inodes+0xb30/0x1850 fs/fs-writeback.c:1913 wb_writeback+0x482/0xd50 fs/fs-writeback.c:2087 wb_do_writeback fs/fs-writeback.c:2230 [inline] wb_workfn+0x423/0xee0 fs/fs-writeback.c:2270 process_one_work+0x8a2/0x1160 kernel/workqueue.c:2292 worker_thread+0xaa2/0x1270 kernel/workqueue.c:2439 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 page:ffffea0000799580 refcount:0 mapcount:0 mapping:0000000000000000 index:0x34 pfn:0x1e656 flags: 0xfff18000002047(locked|referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff18000002047 dead000000000100 dead000000000122 0000000000000000 raw: 0000000000000034 ffff888075ef45d0 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 4515, tgid 4513 (syz.0.45), ts 98823977909, free_ts 98822779589 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2559 prep_new_page mm/page_alloc.c:2566 [inline] get_page_from_freelist+0x1a1e/0x1ab0 mm/page_alloc.c:4357 __alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5657 folio_alloc+0x1c/0x60 mm/mempolicy.c:2292 filemap_alloc_folio+0xdb/0x480 mm/filemap.c:999 __filemap_get_folio+0x6ab/0xdb0 mm/filemap.c:1993 pagecache_get_page+0x26/0x250 mm/folio-compat.c:110 find_or_create_page include/linux/pagemap.h:648 [inline] grab_cache_page include/linux/pagemap.h:780 [inline] __get_metapage+0x2a4/0xfa0 fs/jfs/jfs_metapage.c:613 xtSplitRoot+0xd9/0xdd0 fs/jfs/jfs_xtree.c:1227 xtSplitUp+0x2d6/0x1c60 fs/jfs/jfs_xtree.c:770 xtInsert+0x403/0xc50 fs/jfs/jfs_xtree.c:593 extAlloc+0xa1f/0xf80 fs/jfs/jfs_extent.c:145 jfs_get_block+0x355/0xad0 fs/jfs/inode.c:254 get_more_blocks fs/direct-io.c:659 [inline] do_direct_IO fs/direct-io.c:947 [inline] __blockdev_direct_IO+0x1749/0x3570 fs/direct-io.c:1260 blockdev_direct_IO include/linux/fs.h:3344 [inline] jfs_direct_IO+0x119/0x220 fs/jfs/inode.c:342 generic_file_direct_write+0x10f/0x330 mm/filemap.c:3787 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1486 [inline] free_pcp_prepare mm/page_alloc.c:1536 [inline] free_unref_page_prepare+0x8b4/0x9a0 mm/page_alloc.c:3413 free_unref_page+0x2e/0x3f0 mm/page_alloc.c:3508 free_slab mm/slub.c:2036 [inline] discard_slab mm/slub.c:2042 [inline] __unfreeze_partials+0x1a5/0x200 mm/slub.c:2591 put_cpu_partial+0x17c/0x250 mm/slub.c:2667 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x144/0x160 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x1e/0x80 mm/kasan/common.c:306 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x4b/0x480 mm/slab.h:737 slab_alloc_node mm/slub.c:3359 [inline] slab_alloc mm/slub.c:3367 [inline] __kmem_cache_alloc_lru mm/slub.c:3374 [inline] kmem_cache_alloc+0x123/0x2f0 mm/slub.c:3383 getname_flags+0xb7/0x500 fs/namei.c:139 user_path_at_empty+0x28/0x60 fs/namei.c:2912 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3418 [inline] __do_sys_mount fs/namespace.c:3629 [inline] __se_sys_mount+0x2a4/0x3d0 fs/namespace.c:3606 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 ------------[ cut here ]------------ kernel BUG at include/linux/mm.h:1146! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 11 Comm: kworker/u4:1 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 Workqueue: writeback wb_workfn (flush-7:0) RIP: 0010:folio_get include/linux/mm.h:1146 [inline] RIP: 0010:get_page include/linux/mm.h:1152 [inline] RIP: 0010:put_metapage+0x24f/0x340 fs/jfs/jfs_metapage.c:721 Code: 38 c1 0f 8c 32 ff ff ff 4c 89 ef e8 0b b9 e0 fe e9 25 ff ff ff e8 11 ce 8f fe 48 8b 3c 24 48 c7 c6 40 32 c6 8a e8 d1 e3 ca fe <0f> 0b 4c 8b 2c 24 4c 89 ee 48 81 e6 ff 0f 00 00 31 ff e8 ca d1 8f RSP: 0018:ffffc90000107160 EFLAGS: 00010246 RAX: 6531b6d0a7487f00 RBX: ffff888075ef45d0 RCX: 6531b6d0a7487f00 RDX: 0000000000000000 RSI: ffffffff8adf0f40 RDI: ffffffff8adf0f00 RBP: 000000000000007f R08: ffffffff8e1fd76f R09: 1ffffffff1c3faed R10: dffffc0000000000 R11: fffffbfff1c3faee R12: ffff888075ef45f8 R13: ffffea00007995b4 R14: 1ffff1100ebde8bf R15: 1ffff1100ebde8cc FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9fec65f368 CR3: 000000000c88e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: txUnlock+0x427/0xcb0 fs/jfs/jfs_txnmgr.c:948 txCommit+0x4d48/0x5200 fs/jfs/jfs_txnmgr.c:1336 jfs_commit_inode+0x2ec/0x520 fs/jfs/inode.c:114 jfs_write_inode+0x141/0x220 fs/jfs/inode.c:138 write_inode fs/fs-writeback.c:1470 [inline] __writeback_single_inode+0x75b/0x1160 fs/fs-writeback.c:1687 writeback_sb_inodes+0xb30/0x1850 fs/fs-writeback.c:1913 wb_writeback+0x482/0xd50 fs/fs-writeback.c:2087 wb_do_writeback fs/fs-writeback.c:2230 [inline] wb_workfn+0x423/0xee0 fs/fs-writeback.c:2270 process_one_work+0x8a2/0x1160 kernel/workqueue.c:2292 worker_thread+0xaa2/0x1270 kernel/workqueue.c:2439 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_get include/linux/mm.h:1146 [inline] RIP: 0010:get_page include/linux/mm.h:1152 [inline] RIP: 0010:put_metapage+0x24f/0x340 fs/jfs/jfs_metapage.c:721 Code: 38 c1 0f 8c 32 ff ff ff 4c 89 ef e8 0b b9 e0 fe e9 25 ff ff ff e8 11 ce 8f fe 48 8b 3c 24 48 c7 c6 40 32 c6 8a e8 d1 e3 ca fe <0f> 0b 4c 8b 2c 24 4c 89 ee 48 81 e6 ff 0f 00 00 31 ff e8 ca d1 8f RSP: 0018:ffffc90000107160 EFLAGS: 00010246 RAX: 6531b6d0a7487f00 RBX: ffff888075ef45d0 RCX: 6531b6d0a7487f00 RDX: 0000000000000000 RSI: ffffffff8adf0f40 RDI: ffffffff8adf0f00 RBP: 000000000000007f R08: ffffffff8e1fd76f R09: 1ffffffff1c3faed R10: dffffc0000000000 R11: fffffbfff1c3faee R12: ffff888075ef45f8 R13: ffffea00007995b4 R14: 1ffff1100ebde8bf R15: 1ffff1100ebde8cc FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9fec65f368 CR3: 000000007e62b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400