BUG: Bad page state in process syz-executor pfn:5c308
page:ffffea000170c200 refcount:0 mapcount:0 mapping:ffff88805c6187c8 index:0x2 pfn:0x5c308
aops:z_erofs_cache_aops ino:0
flags: 0xfff00000000001(locked|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff00000000001 dead000000000100 dead000000000122 ffff88805c6187c8
raw: 0000000000000002 0000000000000000 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 0x192840(GFP_NOWAIT|__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 8447, tgid 8446 (syz.2.661), ts 373773656874, free_ts 373704881532
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x1c1/0x200 mm/page_alloc.c:1581
prep_new_page mm/page_alloc.c:1588 [inline]
get_page_from_freelist+0x1951/0x19e0 mm/page_alloc.c:3220
__alloc_pages+0x1f0/0x460 mm/page_alloc.c:4486
z_erofs_bind_cache fs/erofs/zdata.c:605 [inline]
z_erofs_pcluster_begin fs/erofs/zdata.c:889 [inline]
z_erofs_do_read_page+0x2181/0x36b0 fs/erofs/zdata.c:1024
z_erofs_pcluster_readmore+0x2cf/0x450 fs/erofs/zdata.c:1833
z_erofs_read_folio+0x237/0x5c0 fs/erofs/zdata.c:1853
filemap_read_folio+0x172/0x760 mm/filemap.c:2420
do_read_cache_folio+0x468/0x7d0 mm/filemap.c:3804
erofs_bread+0x16f/0x630 fs/erofs/data.c:48
erofs_find_target_block fs/erofs/namei.c:103 [inline]
erofs_namei+0x2ae/0xf50 fs/erofs/namei.c:177
erofs_lookup+0x135/0x310 fs/erofs/namei.c:206
lookup_one_qstr_excl+0x112/0x250 fs/namei.c:1617
filename_create+0x23e/0x480 fs/namei.c:3891
do_mknodat+0x18b/0x500 fs/namei.c:4036
__do_sys_mknod fs/namei.c:4082 [inline]
__se_sys_mknod fs/namei.c:4080 [inline]
__x64_sys_mknod+0x8e/0xa0 fs/namei.c:4080
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1181 [inline]
free_unref_page_prepare+0x7b2/0x8c0 mm/page_alloc.c:2365
free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2504
release_pages+0x1f7a/0x2200 mm/swap.c:1022
__folio_batch_release+0x71/0xe0 mm/swap.c:1042
folio_batch_release include/linux/pagevec.h:83 [inline]
mapping_try_invalidate+0x493/0x5a0 mm/truncate.c:560
__ext4_fill_super fs/ext4/super.c:5715 [inline]
ext4_fill_super+0x319e/0x6790 fs/ext4/super.c:5740
get_tree_bdev+0x3f3/0x520 fs/super.c:1591
vfs_get_tree+0x8c/0x280 fs/super.c:1764
do_new_mount+0x24b/0xa40 fs/namespace.c:3386
do_mount fs/namespace.c:3726 [inline]
__do_sys_mount fs/namespace.c:3935 [inline]
__se_sys_mount+0x2e7/0x3d0 fs/namespace.c:3912
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
Modules linked in:
CPU: 0 PID: 5773 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106
bad_page+0x14b/0x170 mm/page_alloc.c:539
free_page_is_bad mm/page_alloc.c:988 [inline]
free_pages_prepare mm/page_alloc.c:1173 [inline]
free_unref_page_prepare+0x85f/0x8c0 mm/page_alloc.c:2365
free_unref_page+0x32/0x2e0 mm/page_alloc.c:2458
detach_page_private include/linux/pagemap.h:539 [inline]
erofs_try_to_free_all_cached_pages+0x295/0x5f0 fs/erofs/zdata.c:657
erofs_try_to_release_workgroup fs/erofs/utils.c:132 [inline]
erofs_shrink_workstation+0x11f/0x290 fs/erofs/utils.c:161
erofs_shrinker_unregister+0x5d/0x170 fs/erofs/utils.c:198
erofs_put_super+0x4e/0x150 fs/erofs/super.c:812
generic_shutdown_super+0x134/0x2b0 fs/super.c:693
kill_block_super+0x44/0x90 fs/super.c:1660
erofs_kill_sb+0x4c/0x140 fs/erofs/super.c:794
deactivate_locked_super+0x97/0x100 fs/super.c:481
cleanup_mnt+0x43b/0x4d0 fs/namespace.c:1259
task_work_run+0x1d4/0x260 kernel/task_work.c:245
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
do_syscall_64+0x61/0xa0 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f7671d9c117
Code: a2 c7 05 7c 94 24 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffcdbe89218 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f7671e0471f RCX: 00007f7671d9c117
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffcdbe892d0
RBP: 00007ffcdbe892d0 R08: 00007ffcdbe8a2d0 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffcdbe8a360
R13: 00007f7671e0471f R14: 000000000005a877 R15: 00007ffcdbe8a3a0
BUG: Bad page state in process syz-executor pfn:77259
page:ffffea0001dc9640 refcount:0 mapcount:0 mapping:ffff88805c6187c8 index:0x3 pfn:0x77259
aops:z_erofs_cache_aops ino:0
flags: 0xfff00000000001(locked|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff00000000001 dead000000000100 dead000000000122 ffff88805c6187c8
raw: 0000000000000003 0000000000000000 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 0x192840(GFP_NOWAIT|__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 8447, tgid 8446 (syz.2.661), ts 373780808033, free_ts 373704866941
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x1c1/0x200 mm/page_alloc.c:1581
prep_new_page mm/page_alloc.c:1588 [inline]
get_page_from_freelist+0x1951/0x19e0 mm/page_alloc.c:3220
__alloc_pages+0x1f0/0x460 mm/page_alloc.c:4486
z_erofs_bind_cache fs/erofs/zdata.c:605 [inline]
z_erofs_pcluster_begin fs/erofs/zdata.c:889 [inline]
z_erofs_do_read_page+0x2181/0x36b0 fs/erofs/zdata.c:1024
z_erofs_pcluster_readmore+0x2cf/0x450 fs/erofs/zdata.c:1833
z_erofs_read_folio+0x237/0x5c0 fs/erofs/zdata.c:1853
filemap_read_folio+0x172/0x760 mm/filemap.c:2420
do_read_cache_folio+0x468/0x7d0 mm/filemap.c:3804
erofs_bread+0x16f/0x630 fs/erofs/data.c:48
erofs_find_target_block fs/erofs/namei.c:103 [inline]
erofs_namei+0x2ae/0xf50 fs/erofs/namei.c:177
erofs_lookup+0x135/0x310 fs/erofs/namei.c:206
lookup_one_qstr_excl+0x112/0x250 fs/namei.c:1617
filename_create+0x23e/0x480 fs/namei.c:3891
do_mknodat+0x18b/0x500 fs/namei.c:4036
__do_sys_mknod fs/namei.c:4082 [inline]
__se_sys_mknod fs/namei.c:4080 [inline]
__x64_sys_mknod+0x8e/0xa0 fs/namei.c:4080
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1181 [inline]
free_unref_page_prepare+0x7b2/0x8c0 mm/page_alloc.c:2365
free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2504
release_pages+0x1f7a/0x2200 mm/swap.c:1022
__folio_batch_release+0x71/0xe0 mm/swap.c:1042
folio_batch_release include/linux/pagevec.h:83 [inline]
mapping_try_invalidate+0x493/0x5a0 mm/truncate.c:560
__ext4_fill_super fs/ext4/super.c:5715 [inline]
ext4_fill_super+0x319e/0x6790 fs/ext4/super.c:5740
get_tree_bdev+0x3f3/0x520 fs/super.c:1591
vfs_get_tree+0x8c/0x280 fs/super.c:1764
do_new_mount+0x24b/0xa40 fs/namespace.c:3386
do_mount fs/namespace.c:3726 [inline]
__do_sys_mount fs/namespace.c:3935 [inline]
__se_sys_mount+0x2e7/0x3d0 fs/namespace.c:3912
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
Modules linked in:
CPU: 0 PID: 5773 Comm: syz-executor Tainted: G B syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106
bad_page+0x14b/0x170 mm/page_alloc.c:539
free_page_is_bad mm/page_alloc.c:988 [inline]
free_pages_prepare mm/page_alloc.c:1173 [inline]
free_unref_page_prepare+0x85f/0x8c0 mm/page_alloc.c:2365
free_unref_page+0x32/0x2e0 mm/page_alloc.c:2458
detach_page_private include/linux/pagemap.h:539 [inline]
erofs_try_to_free_all_cached_pages+0x295/0x5f0 fs/erofs/zdata.c:657
erofs_try_to_release_workgroup fs/erofs/utils.c:132 [inline]
erofs_shrink_workstation+0x11f/0x290 fs/erofs/utils.c:161
erofs_shrinker_unregister+0x5d/0x170 fs/erofs/utils.c:198
erofs_put_super+0x4e/0x150 fs/erofs/super.c:812
generic_shutdown_super+0x134/0x2b0 fs/super.c:693
kill_block_super+0x44/0x90 fs/super.c:1660
erofs_kill_sb+0x4c/0x140 fs/erofs/super.c:794
deactivate_locked_super+0x97/0x100 fs/super.c:481
cleanup_mnt+0x43b/0x4d0 fs/namespace.c:1259
task_work_run+0x1d4/0x260 kernel/task_work.c:245
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
do_syscall_64+0x61/0xa0 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f7671d9c117
Code: a2 c7 05 7c 94 24 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffcdbe89218 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f7671e0471f RCX: 00007f7671d9c117
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffcdbe892d0
RBP: 00007ffcdbe892d0 R08: 00007ffcdbe8a2d0 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffcdbe8a360
R13: 00007f7671e0471f R14: 000000000005a877 R15: 00007ffcdbe8a3a0
BUG: Bad page state in process syz-executor pfn:5f7c2
page:ffffea00017df080 refcount:0 mapcount:0 mapping:ffff88805c6187c8 index:0x4 pfn:0x5f7c2
aops:z_erofs_cache_aops ino:0
flags: 0xfff00000000001(locked|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff00000000001 dead000000000100 dead000000000122 ffff88805c6187c8
raw: 0000000000000004 0000000000000000 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 0x192840(GFP_NOWAIT|__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 8447, tgid 8446 (syz.2.661), ts 373780830744, free_ts 373704851919
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x1c1/0x200 mm/page_alloc.c:1581
prep_new_page mm/page_alloc.c:1588 [inline]
get_page_from_freelist+0x1951/0x19e0 mm/page_alloc.c:3220
__alloc_pages+0x1f0/0x460 mm/page_alloc.c:4486
z_erofs_bind_cache fs/erofs/zdata.c:605 [inline]
z_erofs_pcluster_begin fs/erofs/zdata.c:889 [inline]
z_erofs_do_read_page+0x2181/0x36b0 fs/erofs/zdata.c:1024
z_erofs_pcluster_readmore+0x2cf/0x450 fs/erofs/zdata.c:1833
z_erofs_read_folio+0x237/0x5c0 fs/erofs/zdata.c:1853
filemap_read_folio+0x172/0x760 mm/filemap.c:2420
do_read_cache_folio+0x468/0x7d0 mm/filemap.c:3804
erofs_bread+0x16f/0x630 fs/erofs/data.c:48
erofs_find_target_block fs/erofs/namei.c:103 [inline]
erofs_namei+0x2ae/0xf50 fs/erofs/namei.c:177
erofs_lookup+0x135/0x310 fs/erofs/namei.c:206
lookup_one_qstr_excl+0x112/0x250 fs/namei.c:1617
filename_create+0x23e/0x480 fs/namei.c:3891
do_mknodat+0x18b/0x500 fs/namei.c:4036
__do_sys_mknod fs/namei.c:4082 [inline]
__se_sys_mknod fs/namei.c:4080 [inline]
__x64_sys_mknod+0x8e/0xa0 fs/namei.c:4080
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1181 [inline]
free_unref_page_prepare+0x7b2/0x8c0 mm/page_alloc.c:2365
free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2504
release_pages+0x1f7a/0x2200 mm/swap.c:1022
__folio_batch_release+0x71/0xe0 mm/swap.c:1042
folio_batch_release include/linux/pagevec.h:83 [inline]
mapping_try_invalidate+0x493/0x5a0 mm/truncate.c:560
__ext4_fill_super fs/ext4/super.c:5715 [inline]
ext4_fill_super+0x319e/0x6790 fs/ext4/super.c:5740
get_tree_bdev+0x3f3/0x520 fs/super.c:1591
vfs_get_tree+0x8c/0x280 fs/super.c:1764
do_new_mount+0x24b/0xa40 fs/namespace.c:3386
do_mount fs/namespace.c:3726 [inline]
__do_sys_mount fs/namespace.c:3935 [inline]
__se_sys_mount+0x2e7/0x3d0 fs/namespace.c:3912
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
Modules linked in:
CPU: 0 PID: 5773 Comm: syz-executor Tainted: G B syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106
bad_page+0x14b/0x170 mm/page_alloc.c:539
free_page_is_bad mm/page_alloc.c:988 [inline]
free_pages_prepare mm/page_alloc.c:1173 [inline]
free_unref_page_prepare+0x85f/0x8c0 mm/page_alloc.c:2365
free_unref_page+0x32/0x2e0 mm/page_alloc.c:2458
detach_page_private include/linux/pagemap.h:539 [inline]
erofs_try_to_free_all_cached_pages+0x295/0x5f0 fs/erofs/zdata.c:657
erofs_try_to_release_workgroup fs/erofs/utils.c:132 [inline]
erofs_shrink_workstation+0x11f/0x290 fs/erofs/utils.c:161
erofs_shrinker_unregister+0x5d/0x170 fs/erofs/utils.c:198
erofs_put_super+0x4e/0x150 fs/erofs/super.c:812
generic_shutdown_super+0x134/0x2b0 fs/super.c:693
kill_block_super+0x44/0x90 fs/super.c:1660
erofs_kill_sb+0x4c/0x140 fs/erofs/super.c:794
deactivate_locked_super+0x97/0x100 fs/super.c:481
cleanup_mnt+0x43b/0x4d0 fs/namespace.c:1259
task_work_run+0x1d4/0x260 kernel/task_work.c:245
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
do_syscall_64+0x61/0xa0 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f7671d9c117
Code: a2 c7 05 7c 94 24 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffcdbe89218 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f7671e0471f RCX: 00007f7671d9c117
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffcdbe892d0
RBP: 00007ffcdbe892d0 R08: 00007ffcdbe8a2d0 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffcdbe8a360
R13: 00007f7671e0471f R14: 000000000005a877 R15: 00007ffcdbe8a3a0