ERROR: (device loop2): remounting filesystem as read-only
ERROR: (device loop2): txCommit:
BUG: Bad page state in process syz.2.27 pfn:59688
page:ffffea000165a200 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2f pfn:0x59688
flags: 0xfff00000002006(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000002006 ffffea0001e1c9c8 ffffc9000452f980 0000000000000000
raw: 000000000000002f ffff8880597c3e88 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 0x100c40(GFP_NOFS|__GFP_HARDWALL), pid 4477, ts 77559411656, free_ts 77300371990
prep_new_page mm/page_alloc.c:2426 [inline]
get_page_from_freelist+0x1b77/0x1c60 mm/page_alloc.c:4192
__alloc_pages+0x1e1/0x470 mm/page_alloc.c:5474
__page_cache_alloc+0xd2/0x3f0 mm/filemap.c:1022
pagecache_get_page+0x986/0xef0 mm/filemap.c:1940
find_or_create_page include/linux/pagemap.h:420 [inline]
grab_cache_page include/linux/pagemap.h:502 [inline]
__get_metapage+0x282/0x1060 fs/jfs/jfs_metapage.c:614
diNewExt+0x9eb/0x2cb0 fs/jfs/jfs_imap.c:2275
diAllocExt fs/jfs/jfs_imap.c:1952 [inline]
diAllocAG+0xde9/0x1c20 fs/jfs/jfs_imap.c:1669
diAlloc+0x1c9/0x1910 fs/jfs/jfs_imap.c:1590
ialloc+0x89/0x940 fs/jfs/jfs_inode.c:56
jfs_mkdir+0x190/0xa70 fs/jfs/namei.c:225
vfs_mkdir+0x387/0x570 fs/namei.c:4065
do_mkdirat+0x1d7/0x5a0 fs/namei.c:4090
__do_sys_mkdirat fs/namei.c:4105 [inline]
__se_sys_mkdirat fs/namei.c:4103 [inline]
__x64_sys_mkdirat+0x85/0x90 fs/namei.c:4103
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1340 [inline]
free_pcp_prepare mm/page_alloc.c:1391 [inline]
free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317
free_unref_page_list+0x122/0x7e0 mm/page_alloc.c:3433
release_pages+0x184b/0x1bb0 mm/swap.c:963
__pagevec_release+0x6d/0xe0 mm/swap.c:983
pagevec_release include/linux/pagevec.h:81 [inline]
truncate_inode_pages_range+0x2f3/0xef0 mm/truncate.c:329
f2fs_evict_inode+0x18b/0x1510 fs/f2fs/inode.c:756
evict+0x485/0x870 fs/inode.c:647
dispose_list fs/inode.c:680 [inline]
evict_inodes+0x604/0x690 fs/inode.c:734
generic_shutdown_super+0x93/0x300 fs/super.c:454
kill_block_super+0x7c/0xe0 fs/super.c:1427
kill_f2fs_super+0x2ed/0x3a0 fs/f2fs/super.c:4565
deactivate_locked_super+0x93/0xf0 fs/super.c:335
cleanup_mnt+0x418/0x4d0 fs/namespace.c:1139
task_work_run+0x125/0x1a0 kernel/task_work.c:188
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214
Modules linked in:
CPU: 0 PID: 4477 Comm: syz.2.27 Not tainted 5.15.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
bad_page+0x14b/0x170 mm/page_alloc.c:652
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+0x383/0x6c0 mm/page_alloc.c:3317
free_unref_page_list+0x122/0x7e0 mm/page_alloc.c:3433
release_pages+0x184b/0x1bb0 mm/swap.c:963
__pagevec_release+0x6d/0xe0 mm/swap.c:983
pagevec_release include/linux/pagevec.h:81 [inline]
truncate_inode_pages_range+0x2f3/0xef0 mm/truncate.c:329
jfs_remount+0x337/0x5a0 fs/jfs/super.c:456
reconfigure_super+0x219/0x880 fs/super.c:938
do_remount fs/namespace.c:2670 [inline]
path_mount+0xd3e/0x1020 fs/namespace.c:3336
do_mount fs/namespace.c:3357 [inline]
__do_sys_mount fs/namespace.c:3565 [inline]
__se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3542
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fe32e2dd38a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe32c542e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fe32c542ef0 RCX: 00007fe32e2dd38a
RDX: 0000200000000f40 RSI: 0000200000000f00 RDI: 0000000000000000
RBP: 0000200000000f40 R08: 00007fe32c542ef0 R09: 0000000001a4a438
R10: 0000000001a4a438 R11: 0000000000000246 R12: 0000200000000f00
R13: 00007fe32c542eb0 R14: 0000000000000000 R15: 0000200000000f80
BUG: Bad page state in process syz.2.27 pfn:78727
page:ffffea0001e1c9c0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e pfn:0x78727
flags: 0xfff00000002006(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000002006 ffffea0001e1c988 ffffc9000452f980 0000000000000000
raw: 000000000000002e ffff8880597c3d90 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 0x100c40(GFP_NOFS|__GFP_HARDWALL), pid 4477, ts 77559367010, free_ts 77300379787
prep_new_page mm/page_alloc.c:2426 [inline]
get_page_from_freelist+0x1b77/0x1c60 mm/page_alloc.c:4192
__alloc_pages+0x1e1/0x470 mm/page_alloc.c:5474
__page_cache_alloc+0xd2/0x3f0 mm/filemap.c:1022
pagecache_get_page+0x986/0xef0 mm/filemap.c:1940
find_or_create_page include/linux/pagemap.h:420 [inline]
grab_cache_page include/linux/pagemap.h:502 [inline]
__get_metapage+0x282/0x1060 fs/jfs/jfs_metapage.c:614
diNewExt+0x9eb/0x2cb0 fs/jfs/jfs_imap.c:2275
diAllocExt fs/jfs/jfs_imap.c:1952 [inline]
diAllocAG+0xde9/0x1c20 fs/jfs/jfs_imap.c:1669
diAlloc+0x1c9/0x1910 fs/jfs/jfs_imap.c:1590
ialloc+0x89/0x940 fs/jfs/jfs_inode.c:56
jfs_mkdir+0x190/0xa70 fs/jfs/namei.c:225
vfs_mkdir+0x387/0x570 fs/namei.c:4065
do_mkdirat+0x1d7/0x5a0 fs/namei.c:4090
__do_sys_mkdirat fs/namei.c:4105 [inline]
__se_sys_mkdirat fs/namei.c:4103 [inline]
__x64_sys_mkdirat+0x85/0x90 fs/namei.c:4103
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1340 [inline]
free_pcp_prepare mm/page_alloc.c:1391 [inline]
free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317
free_unref_page_list+0x122/0x7e0 mm/page_alloc.c:3433
release_pages+0x184b/0x1bb0 mm/swap.c:963
__pagevec_release+0x6d/0xe0 mm/swap.c:983
pagevec_release include/linux/pagevec.h:81 [inline]
truncate_inode_pages_range+0x2f3/0xef0 mm/truncate.c:329
f2fs_evict_inode+0x18b/0x1510 fs/f2fs/inode.c:756
evict+0x485/0x870 fs/inode.c:647
dispose_list fs/inode.c:680 [inline]
evict_inodes+0x604/0x690 fs/inode.c:734
generic_shutdown_super+0x93/0x300 fs/super.c:454
kill_block_super+0x7c/0xe0 fs/super.c:1427
kill_f2fs_super+0x2ed/0x3a0 fs/f2fs/super.c:4565
deactivate_locked_super+0x93/0xf0 fs/super.c:335
cleanup_mnt+0x418/0x4d0 fs/namespace.c:1139
task_work_run+0x125/0x1a0 kernel/task_work.c:188
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214
Modules linked in:
CPU: 0 PID: 4477 Comm: syz.2.27 Tainted: G B 5.15.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
bad_page+0x14b/0x170 mm/page_alloc.c:652
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+0x383/0x6c0 mm/page_alloc.c:3317
free_unref_page_list+0x122/0x7e0 mm/page_alloc.c:3433
release_pages+0x184b/0x1bb0 mm/swap.c:963
__pagevec_release+0x6d/0xe0 mm/swap.c:983
pagevec_release include/linux/pagevec.h:81 [inline]
truncate_inode_pages_range+0x2f3/0xef0 mm/truncate.c:329
jfs_remount+0x337/0x5a0 fs/jfs/super.c:456
reconfigure_super+0x219/0x880 fs/super.c:938
do_remount fs/namespace.c:2670 [inline]
path_mount+0xd3e/0x1020 fs/namespace.c:3336
do_mount fs/namespace.c:3357 [inline]
__do_sys_mount fs/namespace.c:3565 [inline]
__se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3542
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fe32e2dd38a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe32c542e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fe32c542ef0 RCX: 00007fe32e2dd38a
RDX: 0000200000000f40 RSI: 0000200000000f00 RDI: 0000000000000000
RBP: 0000200000000f40 R08: 00007fe32c542ef0 R09: 0000000001a4a438
R10: 0000000001a4a438 R11: 0000000000000246 R12: 0000200000000f00
R13: 00007fe32c542eb0 R14: 0000000000000000 R15: 0000200000000f80
BUG: Bad page state in process syz.2.27 pfn:78726
page:ffffea0001e1c980 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2d pfn:0x78726
flags: 0xfff00000002006(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000002006 ffffea00008b8088 ffffc9000452f980 0000000000000000
raw: 000000000000002d ffff8880597c3c98 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 0x100c40(GFP_NOFS|__GFP_HARDWALL), pid 4477, ts 77559319110, free_ts 77300387256
prep_new_page mm/page_alloc.c:2426 [inline]
get_page_from_freelist+0x1b77/0x1c60 mm/page_alloc.c:4192
__alloc_pages+0x1e1/0x470 mm/page_alloc.c:5474
__page_cache_alloc+0xd2/0x3f0 mm/filemap.c:1022
pagecache_get_page+0x986/0xef0 mm/filemap.c:1940
find_or_create_page include/linux/pagemap.h:420 [inline]
grab_cache_page include/linux/pagemap.h:502 [inline]
__get_metapage+0x282/0x1060 fs/jfs/jfs_metapage.c:614
diNewExt+0x9eb/0x2cb0 fs/jfs/jfs_imap.c:2275
diAllocExt fs/jfs/jfs_imap.c:1952 [inline]
diAllocAG+0xde9/0x1c20 fs/jfs/jfs_imap.c:1669
diAlloc+0x1c9/0x1910 fs/jfs/jfs_imap.c:1590
ialloc+0x89/0x940 fs/jfs/jfs_inode.c:56
jfs_mkdir+0x190/0xa70 fs/jfs/namei.c:225
vfs_mkdir+0x387/0x570 fs/namei.c:4065
do_mkdirat+0x1d7/0x5a0 fs/namei.c:4090
__do_sys_mkdirat fs/namei.c:4105 [inline]
__se_sys_mkdirat fs/namei.c:4103 [inline]
__x64_sys_mkdirat+0x85/0x90 fs/namei.c:4103
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1340 [inline]
free_pcp_prepare mm/page_alloc.c:1391 [inline]
free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317
free_unref_page_list+0x122/0x7e0 mm/page_alloc.c:3433
release_pages+0x184b/0x1bb0 mm/swap.c:963
__pagevec_release+0x6d/0xe0 mm/swap.c:983
pagevec_release include/linux/pagevec.h:81 [inline]
truncate_inode_pages_range+0x2f3/0xef0 mm/truncate.c:329
f2fs_evict_inode+0x18b/0x1510 fs/f2fs/inode.c:756
evict+0x485/0x870 fs/inode.c:647
dispose_list fs/inode.c:680 [inline]
evict_inodes+0x604/0x690 fs/inode.c:734
generic_shutdown_super+0x93/0x300 fs/super.c:454
kill_block_super+0x7c/0xe0 fs/super.c:1427
kill_f2fs_super+0x2ed/0x3a0 fs/f2fs/super.c:4565
deactivate_locked_super+0x93/0xf0 fs/super.c:335
cleanup_mnt+0x418/0x4d0 fs/namespace.c:1139
task_work_run+0x125/0x1a0 kernel/task_work.c:188
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214
Modules linked in:
CPU: 0 PID: 4477 Comm: syz.2.27 Tainted: G B 5.15.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
bad_page+0x14b/0x170 mm/page_alloc.c:652
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+0x383/0x6c0 mm/page_alloc.c:3317
free_unref_page_list+0x122/0x7e0 mm/page_alloc.c:3433
release_pages+0x184b/0x1bb0 mm/swap.c:963
__pagevec_release+0x6d/0xe0 mm/swap.c:983
pagevec_release include/linux/pagevec.h:81 [inline]
truncate_inode_pages_range+0x2f3/0xef0 mm/truncate.c:329
jfs_remount+0x337/0x5a0 fs/jfs/super.c:456
reconfigure_super+0x219/0x880 fs/super.c:938
do_remount fs/namespace.c:2670 [inline]
path_mount+0xd3e/0x1020 fs/namespace.c:3336
do_mount fs/namespace.c:3357 [inline]
__do_sys_mount fs/namespace.c:3565 [inline]
__se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3542
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fe32e2dd38a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe32c542e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fe32c542ef0 RCX: 00007fe32e2dd38a
RDX: 0000200000000f40 RSI: 0000200000000f00 RDI: 0000000000000000
RBP: 0000200000000f40 R08: 00007fe32c542ef0 R09: 0000000001a4a438
R10: 0000000001a4a438 R11: 0000000000000246 R12: 0000200000000f00
R13: 00007fe32c542eb0 R14: 0000000000000000 R15: 0000200000000f80