BUG: Bad page state in process syz-executor pfn:12ee08 page:00000000edbe4f75 refcount:0 mapcount:0 mapping:0000000000000000 index:0x4 pfn:0x12ee08 flags: 0x5ffc00000002006(referenced|uptodate|private|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000002006 fffffc0003bb8248 ffff80001fa37500 0000000000000000 raw: 0000000000000004 ffff0000e59db2e8 00000000ffffffff 0000000000000000 page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set Modules linked in: CPU: 1 PID: 4035 Comm: syz-executor Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 bad_page+0x1a4/0x1c4 mm/page_alloc.c:652 check_free_page_bad mm/page_alloc.c:1199 [inline] 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+0x4ec/0xe30 mm/page_alloc.c:3317 free_unref_page_list+0xe4/0x7a8 mm/page_alloc.c:3433 release_pages+0x1770/0x1a88 mm/swap.c:963 __pagevec_release+0x94/0x10c mm/swap.c:983 pagevec_release include/linux/pagevec.h:81 [inline] truncate_inode_pages_range+0x3ac/0xbe0 mm/truncate.c:329 truncate_inode_pages+0x2c/0x3c mm/truncate.c:425 dbUnmount+0xf4/0x168 fs/jfs/jfs_dmap.c:275 jfs_umount+0x1cc/0x338 fs/jfs/jfs_umount.c:89 jfs_put_super+0x90/0x188 fs/jfs/super.c:194 generic_shutdown_super+0x130/0x2f0 fs/super.c:475 kill_block_super+0x70/0xdc fs/super.c:1427 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:609 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 BUG: Bad page state in process syz-executor pfn:12ee09 page:00000000cbfa7b42 refcount:0 mapcount:0 mapping:0000000000000000 index:0x3 pfn:0x12ee09 flags: 0x5ffc00000002006(referenced|uptodate|private|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000002006 fffffc00035b7288 ffff80001fa37500 0000000000000000 raw: 0000000000000003 ffff0000e59db1f0 00000000ffffffff 0000000000000000 page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set Modules linked in: CPU: 1 PID: 4035 Comm: syz-executor Tainted: G B 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 bad_page+0x1a4/0x1c4 mm/page_alloc.c:652 check_free_page_bad mm/page_alloc.c:1199 [inline] 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+0x4ec/0xe30 mm/page_alloc.c:3317 free_unref_page_list+0xe4/0x7a8 mm/page_alloc.c:3433 release_pages+0x1770/0x1a88 mm/swap.c:963 __pagevec_release+0x94/0x10c mm/swap.c:983 pagevec_release include/linux/pagevec.h:81 [inline] truncate_inode_pages_range+0x3ac/0xbe0 mm/truncate.c:329 truncate_inode_pages+0x2c/0x3c mm/truncate.c:425 dbUnmount+0xf4/0x168 fs/jfs/jfs_dmap.c:275 jfs_umount+0x1cc/0x338 fs/jfs/jfs_umount.c:89 jfs_put_super+0x90/0x188 fs/jfs/super.c:194 generic_shutdown_super+0x130/0x2f0 fs/super.c:475 kill_block_super+0x70/0xdc fs/super.c:1427 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:609 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584