BUG: Bad page state in process syz.8.3098 pfn:57caa
page:ffffea00015f2a80 refcount:0 mapcount:0 mapping:0000000000000000 index:0x4 pfn:0x57caa
flags: 0xfff18000002046(referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff18000002046 ffffea0001d856c8 ffffc9000503f8a0 0000000000000000
raw: 0000000000000004 ffff88807ea97d90 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 18879, tgid 18878 (syz.8.3098), ts 1469385647043, free_ts 1469384033282
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2560
prep_new_page mm/page_alloc.c:2567 [inline]
get_page_from_freelist+0x206b/0x2180 mm/page_alloc.c:4358
__alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5658
folio_alloc+0x1c/0x60 mm/mempolicy.c:2292
filemap_alloc_folio+0xdb/0x480 mm/filemap.c:999
do_read_cache_folio+0x1b9/0x790 mm/filemap.c:3623
do_read_cache_page+0x32/0x230 mm/filemap.c:3701
read_mapping_page include/linux/pagemap.h:793 [inline]
__get_metapage+0x319/0xfb0 fs/jfs/jfs_metapage.c:620
dbAllocCtl+0xd2/0x980 fs/jfs/jfs_dmap.c:1813
dbAllocAG+0x1f3/0x1000 fs/jfs/jfs_dmap.c:1353
dbDiscardAG+0x2c1/0x8d0 fs/jfs/jfs_dmap.c:1608
jfs_ioc_trim+0x428/0x670 fs/jfs/jfs_discard.c:106
jfs_ioctl+0x28f/0x3b0 fs/jfs/ioctl.c:131
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1487 [inline]
free_pcp_prepare mm/page_alloc.c:1537 [inline]
free_unref_page_prepare+0x8e5/0x9e0 mm/page_alloc.c:3414
free_unref_page_list+0xbb/0x8e0 mm/page_alloc.c:3555
release_pages+0x20d1/0x2340 mm/swap.c:1035
__pagevec_release+0x6d/0xe0 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+0x35c/0x10b0 mm/truncate.c:397
gfs2_find_jhead+0xcb3/0xd50 fs/gfs2/lops.c:602
check_journal_clean+0x1c2/0x360 fs/gfs2/util.c:76
init_journal+0x1893/0x23a0 fs/gfs2/ops_fstype.c:830
init_inodes+0xdb/0x320 fs/gfs2/ops_fstype.c:889
gfs2_fill_super+0x17bf/0x2020 fs/gfs2/ops_fstype.c:1246
get_tree_bdev+0x3e6/0x610 fs/super.c:1377
gfs2_get_tree+0x4d/0x1e0 fs/gfs2/ops_fstype.c:1327
vfs_get_tree+0x88/0x270 fs/super.c:1584
do_new_mount+0x247/0xa40 fs/namespace.c:3078
do_mount fs/namespace.c:3421 [inline]
__do_sys_mount fs/namespace.c:3629 [inline]
__se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3606
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
Modules linked in:
CPU: 0 PID: 18891 Comm: syz.8.3098 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Call Trace:
dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106
bad_page+0x14b/0x170 mm/page_alloc.c:726
free_page_is_bad mm/page_alloc.c:1318 [inline]
free_pages_prepare mm/page_alloc.c:1479 [inline]
free_pcp_prepare mm/page_alloc.c:1537 [inline]
free_unref_page_prepare+0x447/0x9e0 mm/page_alloc.c:3414
free_unref_page_list+0xbb/0x8e0 mm/page_alloc.c:3555
release_pages+0x20d1/0x2340 mm/swap.c:1035
__pagevec_release+0x6d/0xe0 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+0x35c/0x10b0 mm/truncate.c:397
jfs_mount_rw+0x269/0x5a0 fs/jfs/jfs_mount.c:236
jfs_remount+0x3a5/0x5c0 fs/jfs/super.c:454
reconfigure_super+0x224/0x8d0 fs/super.c:977
do_remount fs/namespace.c:2741 [inline]
path_mount+0xcce/0xfb0 fs/namespace.c:3400
do_mount fs/namespace.c:3421 [inline]
__do_sys_mount fs/namespace.c:3629 [inline]
__se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3606
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe93299e2d9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe9337f6028 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fe932c26090 RCX: 00007fe93299e2d9
RDX: 0000000000000000 RSI: 0000200000000080 RDI: 0000000000000000
RBP: 00007fe932a35888 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000020 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe932c26128 R14: 00007fe932c26090 R15: 00007ffe075d7088
BUG: Bad page state in process syz.8.3098 pfn:7615b
page:ffffea0001d856c0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x3 pfn:0x7615b
flags: 0xfff18000002046(referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff18000002046 ffffea0001856b88 ffffc9000503f8a0 0000000000000000
raw: 0000000000000003 ffff88807ea97e88 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 18879, tgid 18878 (syz.8.3098), ts 1469413711715, free_ts 1469413366261
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2560
prep_new_page mm/page_alloc.c:2567 [inline]
get_page_from_freelist+0x206b/0x2180 mm/page_alloc.c:4358
__alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5658
folio_alloc+0x1c/0x60 mm/mempolicy.c:2292
filemap_alloc_folio+0xdb/0x480 mm/filemap.c:999
do_read_cache_folio+0x1b9/0x790 mm/filemap.c:3623
do_read_cache_page+0x32/0x230 mm/filemap.c:3701
read_mapping_page include/linux/pagemap.h:793 [inline]
__get_metapage+0x319/0xfb0 fs/jfs/jfs_metapage.c:620
dbAdjCtl+0x139/0xa00 fs/jfs/jfs_dmap.c:2483
dbAllocDmap fs/jfs/jfs_dmap.c:2044 [inline]
dbAllocDmapLev+0x1fc/0x3b0 fs/jfs/jfs_dmap.c:1988
dbAllocCtl+0x143/0x980 fs/jfs/jfs_dmap.c:1825
dbAllocAG+0x1f3/0x1000 fs/jfs/jfs_dmap.c:1353
dbDiscardAG+0x2c1/0x8d0 fs/jfs/jfs_dmap.c:1608
jfs_ioc_trim+0x428/0x670 fs/jfs/jfs_discard.c:106
jfs_ioctl+0x28f/0x3b0 fs/jfs/ioctl.c:131
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1487 [inline]
free_pcp_prepare mm/page_alloc.c:1537 [inline]
free_unref_page_prepare+0x8e5/0x9e0 mm/page_alloc.c:3414
free_unref_page_list+0xbb/0x8e0 mm/page_alloc.c:3555
release_pages+0x20d1/0x2340 mm/swap.c:1035
__pagevec_release+0x6d/0xe0 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+0x35c/0x10b0 mm/truncate.c:397
gfs2_find_jhead+0xcb3/0xd50 fs/gfs2/lops.c:602
check_journal_clean+0x1c2/0x360 fs/gfs2/util.c:76
init_journal+0x1893/0x23a0 fs/gfs2/ops_fstype.c:830
init_inodes+0xdb/0x320 fs/gfs2/ops_fstype.c:889
gfs2_fill_super+0x17bf/0x2020 fs/gfs2/ops_fstype.c:1246
get_tree_bdev+0x3e6/0x610 fs/super.c:1377
gfs2_get_tree+0x4d/0x1e0 fs/gfs2/ops_fstype.c:1327
vfs_get_tree+0x88/0x270 fs/super.c:1584
do_new_mount+0x247/0xa40 fs/namespace.c:3078
do_mount fs/namespace.c:3421 [inline]
__do_sys_mount fs/namespace.c:3629 [inline]
__se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3606
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
Modules linked in:
CPU: 0 PID: 18891 Comm: syz.8.3098 Tainted: G B syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Call Trace:
dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106
bad_page+0x14b/0x170 mm/page_alloc.c:726
free_page_is_bad mm/page_alloc.c:1318 [inline]
free_pages_prepare mm/page_alloc.c:1479 [inline]
free_pcp_prepare mm/page_alloc.c:1537 [inline]
free_unref_page_prepare+0x447/0x9e0 mm/page_alloc.c:3414
free_unref_page_list+0xbb/0x8e0 mm/page_alloc.c:3555
release_pages+0x20d1/0x2340 mm/swap.c:1035
__pagevec_release+0x6d/0xe0 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+0x35c/0x10b0 mm/truncate.c:397
jfs_mount_rw+0x269/0x5a0 fs/jfs/jfs_mount.c:236
jfs_remount+0x3a5/0x5c0 fs/jfs/super.c:454
reconfigure_super+0x224/0x8d0 fs/super.c:977
do_remount fs/namespace.c:2741 [inline]
path_mount+0xcce/0xfb0 fs/namespace.c:3400
do_mount fs/namespace.c:3421 [inline]
__do_sys_mount fs/namespace.c:3629 [inline]
__se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3606
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe93299e2d9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe9337f6028 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fe932c26090 RCX: 00007fe93299e2d9
RDX: 0000000000000000 RSI: 0000200000000080 RDI: 0000000000000000
RBP: 00007fe932a35888 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000020 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe932c26128 R14: 00007fe932c26090 R15: 00007ffe075d7088
read_mapping_page failed!
jfs_mount_rw: diMount failed!