ERROR: (device loop1): txCommit:
BUG: Bad page state in process syz.1.373 pfn:77faf
page:ffffea0001dfebc0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2f pfn:0x77faf
flags: 0xfff0000000800c(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff0000000800c ffffea00017aa6c8 ffffc90004b5f940 0000000000000000
raw: 000000000000002f ffff88805f8c6e88 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 0x140c40(GFP_NOFS|__GFP_COMP|__GFP_HARDWALL), pid 7688, tgid 7687 (syz.1.373), ts 242418082410, free_ts 237831016056
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
folio_alloc+0x1e/0x30 mm/mempolicy.c:2291
filemap_alloc_folio+0xdf/0x470 mm/filemap.c:1004
__filemap_get_folio+0x3ee/0xbc0 mm/filemap.c:1962
pagecache_get_page+0x2a/0x250 mm/folio-compat.c:99
find_or_create_page include/linux/pagemap.h:755 [inline]
grab_cache_page include/linux/pagemap.h:877 [inline]
__get_metapage+0x2a8/0xfa0 fs/jfs/jfs_metapage.c:613
diNewExt+0xa81/0x3120 fs/jfs/jfs_imap.c:2275
diAllocExt fs/jfs/jfs_imap.c:1952 [inline]
diAllocAG+0xe7a/0x1de0 fs/jfs/jfs_imap.c:1669
diAlloc+0x1d5/0x1660 fs/jfs/jfs_imap.c:1590
ialloc+0x8c/0x950 fs/jfs/jfs_inode.c:56
jfs_mkdir+0x191/0xa30 fs/jfs/namei.c:225
vfs_mkdir+0x296/0x440 fs/namei.c:4113
do_mkdirat+0x1d4/0x440 fs/namei.c:4136
__do_sys_mkdirat fs/namei.c:4151 [inline]
__se_sys_mkdirat fs/namei.c:4149 [inline]
__x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4149
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
xfs_buf_free_pages+0x15b/0x340 fs/xfs/xfs_buf.c:287
xfs_buf_free+0x100/0x2a0 fs/xfs/xfs_buf.c:316
xfs_buf_rele+0x1240/0x16d0 fs/xfs/xfs_buf.c:-1
xfs_buftarg_drain+0x4a3/0x620 fs/xfs/xfs_buf.c:1860
xfs_log_unmount+0x134/0x1c0 fs/xfs/xfs_log.c:1107
xfs_unmountfs+0x1c2/0x270 fs/xfs/xfs_mount.c:1100
xfs_fs_put_super+0x65/0x140 fs/xfs/xfs_super.c:1142
generic_shutdown_super+0x134/0x2b0 fs/super.c:693
kill_block_super+0x44/0x90 fs/super.c:1660
xfs_kill_sb+0x15/0x50 fs/xfs/xfs_super.c:2032
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
Modules linked in:
CPU: 0 PID: 7688 Comm: syz.1.373 Not tainted 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_list+0xbe/0x860 mm/page_alloc.c:2475
release_pages+0x1fa0/0x2220 mm/swap.c:1022
__folio_batch_release+0x71/0xe0 mm/swap.c:1042
folio_batch_release include/linux/pagevec.h:83 [inline]
truncate_inode_pages_range+0x358/0xf00 mm/truncate.c:371
jfs_remount+0x33b/0x5b0 fs/jfs/super.c:451
reconfigure_super+0x21e/0x880 fs/super.c:1151
do_remount fs/namespace.c:2918 [inline]
path_mount+0xd19/0xfe0 fs/namespace.c:3696
do_mount fs/namespace.c:3717 [inline]
__do_sys_mount fs/namespace.c:3926 [inline]
__se_sys_mount+0x2da/0x3c0 fs/namespace.c:3903
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
RIP: 0033:0x7f45e559038a
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:00007f45e63abe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f45e63abef0 RCX: 00007f45e559038a
RDX: 0000200000000f40 RSI: 0000200000000f00 RDI: 0000000000000000
RBP: 0000200000000f40 R08: 00007f45e63abef0 R09: 0000000001a4a438
R10: 0000000001a4a438 R11: 0000000000000246 R12: 0000200000000f00
R13: 00007f45e63abeb0 R14: 0000000000000000 R15: 0000200000000f80
BUG: Bad page state in process syz.1.373 pfn:5ea9b
page:ffffea00017aa6c0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e pfn:0x5ea9b
flags: 0xfff0000000800c(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff0000000800c ffffea0001eccb48 ffffc90004b5f940 0000000000000000
raw: 000000000000002e ffff88805f8c6d90 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 0x140c40(GFP_NOFS|__GFP_COMP|__GFP_HARDWALL), pid 7688, tgid 7687 (syz.1.373), ts 242418022635, free_ts 237831031968
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
folio_alloc+0x1e/0x30 mm/mempolicy.c:2291
filemap_alloc_folio+0xdf/0x470 mm/filemap.c:1004
__filemap_get_folio+0x3ee/0xbc0 mm/filemap.c:1962
pagecache_get_page+0x2a/0x250 mm/folio-compat.c:99
find_or_create_page include/linux/pagemap.h:755 [inline]
grab_cache_page include/linux/pagemap.h:877 [inline]
__get_metapage+0x2a8/0xfa0 fs/jfs/jfs_metapage.c:613
diNewExt+0xa81/0x3120 fs/jfs/jfs_imap.c:2275
diAllocExt fs/jfs/jfs_imap.c:1952 [inline]
diAllocAG+0xe7a/0x1de0 fs/jfs/jfs_imap.c:1669
diAlloc+0x1d5/0x1660 fs/jfs/jfs_imap.c:1590
ialloc+0x8c/0x950 fs/jfs/jfs_inode.c:56
jfs_mkdir+0x191/0xa30 fs/jfs/namei.c:225
vfs_mkdir+0x296/0x440 fs/namei.c:4113
do_mkdirat+0x1d4/0x440 fs/namei.c:4136
__do_sys_mkdirat fs/namei.c:4151 [inline]
__se_sys_mkdirat fs/namei.c:4149 [inline]
__x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4149
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
xfs_buf_free_pages+0x15b/0x340 fs/xfs/xfs_buf.c:287
xfs_buf_free+0x100/0x2a0 fs/xfs/xfs_buf.c:316
xfs_buf_rele+0x1240/0x16d0 fs/xfs/xfs_buf.c:-1
xfs_buftarg_drain+0x4a3/0x620 fs/xfs/xfs_buf.c:1860
xfs_log_unmount+0x134/0x1c0 fs/xfs/xfs_log.c:1107
xfs_unmountfs+0x1c2/0x270 fs/xfs/xfs_mount.c:1100
xfs_fs_put_super+0x65/0x140 fs/xfs/xfs_super.c:1142
generic_shutdown_super+0x134/0x2b0 fs/super.c:693
kill_block_super+0x44/0x90 fs/super.c:1660
xfs_kill_sb+0x15/0x50 fs/xfs/xfs_super.c:2032
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
Modules linked in:
CPU: 1 PID: 7688 Comm: syz.1.373 Tainted: G B 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_list+0xbe/0x860 mm/page_alloc.c:2475
release_pages+0x1fa0/0x2220 mm/swap.c:1022
__folio_batch_release+0x71/0xe0 mm/swap.c:1042
folio_batch_release include/linux/pagevec.h:83 [inline]
truncate_inode_pages_range+0x358/0xf00 mm/truncate.c:371
jfs_remount+0x33b/0x5b0 fs/jfs/super.c:451
reconfigure_super+0x21e/0x880 fs/super.c:1151
do_remount fs/namespace.c:2918 [inline]
path_mount+0xd19/0xfe0 fs/namespace.c:3696
do_mount fs/namespace.c:3717 [inline]
__do_sys_mount fs/namespace.c:3926 [inline]
__se_sys_mount+0x2da/0x3c0 fs/namespace.c:3903
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
RIP: 0033:0x7f45e559038a
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:00007f45e63abe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f45e63abef0 RCX: 00007f45e559038a
RDX: 0000200000000f40 RSI: 0000200000000f00 RDI: 0000000000000000
RBP: 0000200000000f40 R08: 00007f45e63abef0 R09: 0000000001a4a438
R10: 0000000001a4a438 R11: 0000000000000246 R12: 0000200000000f00
R13: 00007f45e63abeb0 R14: 0000000000000000 R15: 0000200000000f80
BUG: Bad page state in process syz.1.373 pfn:7b32d
page:ffffea0001eccb40 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2d pfn:0x7b32d
flags: 0xfff0000000800c(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff0000000800c ffffea0001d3e4c8 ffffc90004b5f940 0000000000000000
raw: 000000000000002d ffff88805f8c6c98 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 0x140c40(GFP_NOFS|__GFP_COMP|__GFP_HARDWALL), pid 7688, tgid 7687 (syz.1.373), ts 242417958074, free_ts 237831048754
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
folio_alloc+0x1e/0x30 mm/mempolicy.c:2291
filemap_alloc_folio+0xdf/0x470 mm/filemap.c:1004
__filemap_get_folio+0x3ee/0xbc0 mm/filemap.c:1962
pagecache_get_page+0x2a/0x250 mm/folio-compat.c:99
find_or_create_page include/linux/pagemap.h:755 [inline]
grab_cache_page include/linux/pagemap.h:877 [inline]
__get_metapage+0x2a8/0xfa0 fs/jfs/jfs_metapage.c:613
diNewExt+0xa81/0x3120 fs/jfs/jfs_imap.c:2275
diAllocExt fs/jfs/jfs_imap.c:1952 [inline]
diAllocAG+0xe7a/0x1de0 fs/jfs/jfs_imap.c:1669
diAlloc+0x1d5/0x1660 fs/jfs/jfs_imap.c:1590
ialloc+0x8c/0x950 fs/jfs/jfs_inode.c:56
jfs_mkdir+0x191/0xa30 fs/jfs/namei.c:225
vfs_mkdir+0x296/0x440 fs/namei.c:4113
do_mkdirat+0x1d4/0x440 fs/namei.c:4136
__do_sys_mkdirat fs/namei.c:4151 [inline]
__se_sys_mkdirat fs/namei.c:4149 [inline]
__x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4149
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
xfs_buf_free_pages+0x15b/0x340 fs/xfs/xfs_buf.c:287
xfs_buf_free+0x100/0x2a0 fs/xfs/xfs_buf.c:316
xfs_buf_rele+0x1240/0x16d0 fs/xfs/xfs_buf.c:-1
xfs_buftarg_drain+0x4a3/0x620 fs/xfs/xfs_buf.c:1860
xfs_log_unmount+0x134/0x1c0 fs/xfs/xfs_log.c:1107
xfs_unmountfs+0x1c2/0x270 fs/xfs/xfs_mount.c:1100
xfs_fs_put_super+0x65/0x140 fs/xfs/xfs_super.c:1142
generic_shutdown_super+0x134/0x2b0 fs/super.c:693
kill_block_super+0x44/0x90 fs/super.c:1660
xfs_kill_sb+0x15/0x50 fs/xfs/xfs_super.c:2032
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
Modules linked in:
CPU: 1 PID: 7688 Comm: syz.1.373 Tainted: G B 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_list+0xbe/0x860 mm/page_alloc.c:2475
release_pages+0x1fa0/0x2220 mm/swap.c:1022
__folio_batch_release+0x71/0xe0 mm/swap.c:1042
folio_batch_release include/linux/pagevec.h:83 [inline]
truncate_inode_pages_range+0x358/0xf00 mm/truncate.c:371
jfs_remount+0x33b/0x5b0 fs/jfs/super.c:451
reconfigure_super+0x21e/0x880 fs/super.c:1151
do_remount fs/namespace.c:2918 [inline]
path_mount+0xd19/0xfe0 fs/namespace.c:3696
do_mount fs/namespace.c:3717 [inline]
__do_sys_mount fs/namespace.c:3926 [inline]
__se_sys_mount+0x2da/0x3c0 fs/namespace.c:3903
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
RIP: 0033:0x7f45e559038a
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:00007f45e63abe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f45e63abef0 RCX: 00007f45e559038a
RDX: 0000200000000f40 RSI: 0000200000000f00 RDI: 0000000000000000
RBP: 0000200000000f40 R08: 00007f45e63abef0 R09: 0000000001a4a438
R10: 0000000001a4a438 R11: 0000000000000246 R12: 0000200000000f00
R13: 00007f45e63abeb0 R14: 0000000000000000 R15: 0000200000000f80