BUG: Bad page state in process syz-executor.4 pfn:130b38 page:0000000057c1a442 refcount:0 mapcount:0 mapping:0000000000000000 index:0x4 pfn:0x130b38 flags: 0x5ffe30000002046(referenced|uptodate|workingset|private|node=0|zone=2|lastcpupid=0xfff) raw: 05ffe30000002046 fffffc0003c22d08 ffff80001e397480 0000000000000000 raw: 0000000000000004 ffff0000ef61a9b0 00000000ffffffff 0000000000000000 page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set Modules linked in: CPU: 0 PID: 4251 Comm: syz-executor.4 Not tainted 6.1.87-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 bad_page+0x1a4/0x1c4 mm/page_alloc.c:699 free_page_is_bad_report mm/page_alloc.c:1277 [inline] free_page_is_bad mm/page_alloc.c:1287 [inline] free_pages_prepare mm/page_alloc.c:1433 [inline] free_pcp_prepare mm/page_alloc.c:1490 [inline] free_unref_page_prepare+0x348/0x1070 mm/page_alloc.c:3358 free_unref_page_list+0xec/0x9c0 mm/page_alloc.c:3499 release_pages+0x1254/0x14dc mm/swap.c:1055 __pagevec_release+0x94/0x10c mm/swap.c:1075 pagevec_release include/linux/pagevec.h:71 [inline] folio_batch_release include/linux/pagevec.h:135 [inline] truncate_inode_pages_range+0x388/0xf10 mm/truncate.c:372 truncate_inode_pages+0x2c/0x3c mm/truncate.c:451 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/0x328 fs/super.c:501 kill_block_super+0x70/0xdc fs/super.c:1459 deactivate_locked_super+0xac/0x124 fs/super.c:332 deactivate_super+0xf0/0x110 fs/super.c:363 cleanup_mnt+0x394/0x41c fs/namespace.c:1186 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193 task_work_run+0x240/0x2f0 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x2148/0x3474 arch/arm64/kernel/signal.c:1132 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 BUG: Bad page state in process syz-executor.4 pfn:1308b4 page:00000000c10451ef refcount:0 mapcount:0 mapping:0000000000000000 index:0x3 pfn:0x1308b4 flags: 0x5ffe30000002046(referenced|uptodate|workingset|private|node=0|zone=2|lastcpupid=0xfff) raw: 05ffe30000002046 fffffc0003bccbc8 ffff80001e397480 0000000000000000 raw: 0000000000000003 ffff0000ef61aaa8 00000000ffffffff 0000000000000000 page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set Modules linked in: CPU: 0 PID: 4251 Comm: syz-executor.4 Tainted: G B 6.1.87-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 bad_page+0x1a4/0x1c4 mm/page_alloc.c:699 free_page_is_bad_report mm/page_alloc.c:1277 [inline] free_page_is_bad mm/page_alloc.c:1287 [inline] free_pages_prepare mm/page_alloc.c:1433 [inline] free_pcp_prepare mm/page_alloc.c:1490 [inline] free_unref_page_prepare+0x348/0x1070 mm/page_alloc.c:3358 free_unref_page_list+0xec/0x9c0 mm/page_alloc.c:3499 release_pages+0x1254/0x14dc mm/swap.c:1055 __pagevec_release+0x94/0x10c mm/swap.c:1075 pagevec_release include/linux/pagevec.h:71 [inline] folio_batch_release include/linux/pagevec.h:135 [inline] truncate_inode_pages_range+0x388/0xf10 mm/truncate.c:372 truncate_inode_pages+0x2c/0x3c mm/truncate.c:451 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/0x328 fs/super.c:501 kill_block_super+0x70/0xdc fs/super.c:1459 deactivate_locked_super+0xac/0x124 fs/super.c:332 deactivate_super+0xf0/0x110 fs/super.c:363 cleanup_mnt+0x394/0x41c fs/namespace.c:1186 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193 task_work_run+0x240/0x2f0 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x2148/0x3474 arch/arm64/kernel/signal.c:1132 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 XFS (loop4): Unmounting Filesystem XFS (loop4): Unmounting Filesystem XFS (loop4): Unmounting Filesystem XFS (loop4): Unmounting Filesystem