BUG: Bad page state in process syz-executor pfn:57312 page:ffffea00015cc480 refcount:0 mapcount:0 mapping:ffff88805c031278 index:0x2 pfn:0x57312 aops:z_erofs_cache_aops ino:0 flags: 0xfff00000000001(locked|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000001 dead000000000100 dead000000000122 ffff88805c031278 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 10694, tgid 10684 (syz.1.1489), ts 522943270920, free_ts 498401102877 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1cd/0x210 mm/page_alloc.c:1554 prep_new_page mm/page_alloc.c:1561 [inline] get_page_from_freelist+0x195c/0x19f0 mm/page_alloc.c:3191 __alloc_pages+0x1e3/0x460 mm/page_alloc.c:4457 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+0x20c0/0x3680 fs/erofs/zdata.c:1024 z_erofs_readahead+0x862/0xd50 fs/erofs/zdata.c:1886 read_pages+0x177/0x840 mm/readahead.c:160 page_cache_ra_unbounded+0x692/0x770 mm/readahead.c:269 do_page_cache_ra mm/readahead.c:299 [inline] force_page_cache_ra+0x2c1/0x320 mm/readahead.c:330 force_page_cache_readahead mm/internal.h:175 [inline] generic_fadvise+0x44f/0x730 mm/fadvise.c:106 vfs_fadvise mm/fadvise.c:185 [inline] ksys_fadvise64_64 mm/fadvise.c:199 [inline] __do_sys_fadvise64 mm/fadvise.c:214 [inline] __se_sys_fadvise64 mm/fadvise.c:212 [inline] __x64_sys_fadvise64+0x140/0x180 mm/fadvise.c:212 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1154 [inline] free_unref_page_prepare+0x7ce/0x8e0 mm/page_alloc.c:2336 free_unref_page+0x32/0x2e0 mm/page_alloc.c:2429 kasan_depopulate_vmalloc_pte+0x75/0x90 mm/kasan/shadow.c:427 apply_to_pte_range mm/memory.c:2603 [inline] apply_to_pmd_range mm/memory.c:2647 [inline] apply_to_pud_range mm/memory.c:2683 [inline] apply_to_p4d_range mm/memory.c:2719 [inline] __apply_to_page_range+0x84c/0xd50 mm/memory.c:2755 kasan_release_vmalloc+0x97/0xb0 mm/kasan/shadow.c:544 __purge_vmap_area_lazy+0x1640/0x1990 mm/vmalloc.c:1778 drain_vmap_area_work+0x40/0xd0 mm/vmalloc.c:1812 process_one_work kernel/workqueue.c:2634 [inline] process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 Modules linked in: CPU: 1 PID: 5786 Comm: syz-executor Not tainted 6.6.101-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x16c/0x230 lib/dump_stack.c:106 bad_page+0x14b/0x170 mm/page_alloc.c:512 free_page_is_bad mm/page_alloc.c:961 [inline] free_pages_prepare mm/page_alloc.c:1146 [inline] free_unref_page_prepare+0x887/0x8e0 mm/page_alloc.c:2336 free_unref_page+0x32/0x2e0 mm/page_alloc.c:2429 detach_page_private include/linux/pagemap.h:539 [inline] erofs_try_to_free_all_cached_pages+0x295/0x600 fs/erofs/zdata.c:657 erofs_try_to_release_workgroup fs/erofs/utils.c:132 [inline] erofs_shrink_workstation+0x118/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+0x429/0x4c0 fs/namespace.c:1250 task_work_run+0x1ce/0x250 kernel/task_work.c:239 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+0xb1/0x140 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/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f3d8f38ff17 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 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 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffd9d76bf48 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f3d8f411c05 RCX: 00007f3d8f38ff17 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd9d76c000 RBP: 00007ffd9d76c000 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd9d76d090 R13: 00007f3d8f411c05 R14: 000000000007fea7 R15: 00007ffd9d76d0d0