loop2: detected capacity change from 0 to 32768 jfs_mkdir: dtInsert returned -EIO ERROR: (device loop2): txAbort: ERROR: (device loop2): remounting filesystem as read-only BUG: Bad page state in process syz.2.275 pfn:134603 page:000000005a4f34f8 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2f pfn:0x134603 flags: 0x5ffc00000002006(referenced|uptodate|private|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000002006 fffffc0003cc46c8 ffff8000224776e0 0000000000000000 raw: 000000000000002f ffff0000f6f2a0f8 00000000ffffffff 0000000000000000 page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set Modules linked in: CPU: 0 PID: 5377 Comm: syz.2.275 Not tainted 6.1.127-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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:1281 [inline] free_page_is_bad mm/page_alloc.c:1291 [inline] free_pages_prepare mm/page_alloc.c:1452 [inline] free_pcp_prepare mm/page_alloc.c:1509 [inline] free_unref_page_prepare+0x3a0/0x1330 mm/page_alloc.c:3384 free_unref_page_list+0xec/0x9c0 mm/page_alloc.c:3525 release_pages+0x11c0/0x1418 mm/swap.c:1035 __pagevec_release+0x94/0x10c mm/swap.c:1055 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 jfs_remount+0x2dc/0x594 fs/jfs/super.c:451 legacy_reconfigure+0xfc/0x114 fs/fs_context.c:655 reconfigure_super+0x318/0x7a4 fs/super.c:977 do_remount fs/namespace.c:2712 [inline] path_mount+0xc70/0xe5c fs/namespace.c:3378 do_mount fs/namespace.c:3399 [inline] __do_sys_mount fs/namespace.c:3607 [inline] __se_sys_mount fs/namespace.c:3584 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3584 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 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.2.275 pfn:13311b page:000000008827e2bf refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e pfn:0x13311b flags: 0x5ffc00000002006(referenced|uptodate|private|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000002006 fffffc0003520908 ffff8000224776e0 0000000000000000 raw: 000000000000002e ffff0000f6f2a2e8 00000000ffffffff 0000000000000000 page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set Modules linked in: CPU: 1 PID: 5377 Comm: syz.2.275 Tainted: G B 6.1.127-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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:1281 [inline] free_page_is_bad mm/page_alloc.c:1291 [inline] free_pages_prepare mm/page_alloc.c:1452 [inline] free_pcp_prepare mm/page_alloc.c:1509 [inline] free_unref_page_prepare+0x3a0/0x1330 mm/page_alloc.c:3384 free_unref_page_list+0xec/0x9c0 mm/page_alloc.c:3525 release_pages+0x11c0/0x1418 mm/swap.c:1035 __pagevec_release+0x94/0x10c mm/swap.c:1055 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 jfs_remount+0x2dc/0x594 fs/jfs/super.c:451 legacy_reconfigure+0xfc/0x114 fs/fs_context.c:655 reconfigure_super+0x318/0x7a4 fs/super.c:977 do_remount fs/namespace.c:2712 [inline] path_mount+0xc70/0xe5c fs/namespace.c:3378 do_mount fs/namespace.c:3399 [inline] __do_sys_mount fs/namespace.c:3607 [inline] __se_sys_mount fs/namespace.c:3584 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3584 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 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.2.275 pfn:114824 page:0000000045f33897 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2d pfn:0x114824 flags: 0x5ffc00000002006(referenced|uptodate|private|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000002006 fffffc0003759208 ffff8000224776e0 0000000000000000 raw: 000000000000002d ffff0000f6f2a000 00000000ffffffff 0000000000000000 page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set Modules linked in: CPU: 1 PID: 5377 Comm: syz.2.275 Tainted: G B 6.1.127-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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:1281 [inline] free_page_is_bad mm/page_alloc.c:1291 [inline] free_pages_prepare mm/page_alloc.c:1452 [inline] free_pcp_prepare mm/page_alloc.c:1509 [inline] free_unref_page_prepare+0x3a0/0x1330 mm/page_alloc.c:3384 free_unref_page_list+0xec/0x9c0 mm/page_alloc.c:3525 release_pages+0x11c0/0x1418 mm/swap.c:1035 __pagevec_release+0x94/0x10c mm/swap.c:1055 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 jfs_remount+0x2dc/0x594 fs/jfs/super.c:451 legacy_reconfigure+0xfc/0x114 fs/fs_context.c:655 reconfigure_super+0x318/0x7a4 fs/super.c:977 do_remount fs/namespace.c:2712 [inline] path_mount+0xc70/0xe5c fs/namespace.c:3378 do_mount fs/namespace.c:3399 [inline] __do_sys_mount fs/namespace.c:3607 [inline] __se_sys_mount fs/namespace.c:3584 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3584 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 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.2.275 pfn:11d648 page:000000009c389aac refcount:0 mapcount:0 mapping:0000000000000000 index:0x2c pfn:0x11d648 flags: 0x5ffc00000002006(referenced|uptodate|private|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000002006 fffffc0003d1b9c8 ffff8000224776e0 0000000000000000 raw: 000000000000002c ffff0000f6f2a4d8 00000000ffffffff 0000000000000000 page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set Modules linked in: CPU: 1 PID: 5377 Comm: syz.2.275 Tainted: G B 6.1.127-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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:1281 [inline] free_page_is_bad mm/page_alloc.c:1291 [inline] free_pages_prepare mm/page_alloc.c:1452 [inline] free_pcp_prepare mm/page_alloc.c:1509 [inline] free_unref_page_prepare+0x3a0/0x1330 mm/page_alloc.c:3384 free_unref_page_list+0xec/0x9c0 mm/page_alloc.c:3525 release_pages+0x11c0/0x1418 mm/swap.c:1035 __pagevec_release+0x94/0x10c mm/swap.c:1055 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 jfs_remount+0x2dc/0x594 fs/jfs/super.c:451 legacy_reconfigure+0xfc/0x114 fs/fs_context.c:655 reconfigure_super+0x318/0x7a4 fs/super.c:977 do_remount fs/namespace.c:2712 [inline] path_mount+0xc70/0xe5c fs/namespace.c:3378 do_mount fs/namespace.c:3399 [inline] __do_sys_mount fs/namespace.c:3607 [inline] __se_sys_mount fs/namespace.c:3584 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3584 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585