free_index: error reading directory table
ERROR: (device loop4): xtSearch: XT_GETPAGE: xtree page corrupt
xtLookup: xtSearch returned -5
free_index: error reading directory table
BUG: Bad page state in process syz.4.517 pfn:516b8
page:ffffea000145ae00 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2f pfn:0x516b8
flags: 0xfff00000002006(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000002006 ffffea000145adc8 ffffc900039079a0 0000000000000000
raw: 000000000000002f ffff8880365706c8 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 6720, tgid 6719 (syz.4.517), ts 340073933992, free_ts 338699594516
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
__filemap_get_folio+0x6ba/0xde0 mm/filemap.c:1993
pagecache_get_page+0x26/0x260 mm/folio-compat.c:110
find_or_create_page include/linux/pagemap.h:648 [inline]
grab_cache_page include/linux/pagemap.h:780 [inline]
__get_metapage+0x2a7/0xfb0 fs/jfs/jfs_metapage.c:613
diNewExt+0x9ff/0x2e20 fs/jfs/jfs_imap.c:2275
diAllocExt fs/jfs/jfs_imap.c:1952 [inline]
diAllocAG+0xe27/0x1c30 fs/jfs/jfs_imap.c:1669
diAlloc+0x1c8/0x1930 fs/jfs/jfs_imap.c:1590
ialloc+0x88/0x930 fs/jfs/jfs_inode.c:56
jfs_mkdir+0x1e1/0xb00 fs/jfs/namei.c:225
vfs_mkdir+0x386/0x570 fs/namei.c:4114
do_mkdirat+0x1d8/0x440 fs/namei.c:4139
__do_sys_mkdirat fs/namei.c:4154 [inline]
__se_sys_mkdirat fs/namei.c:4152 [inline]
__x64_sys_mkdirat+0x85/0x90 fs/namei.c:4152
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+0x2e/0x3f0 mm/page_alloc.c:3509
free_slab mm/slub.c:2036 [inline]
discard_slab mm/slub.c:2042 [inline]
__unfreeze_partials+0x188/0x1e0 mm/slub.c:2591
put_cpu_partial+0x17c/0x250 mm/slub.c:2667
qlink_free mm/kasan/quarantine.c:168 [inline]
qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:187
kasan_quarantine_reduce+0x144/0x160 mm/kasan/quarantine.c:294
__kasan_slab_alloc+0x1e/0x80 mm/kasan/common.c:306
kasan_slab_alloc include/linux/kasan.h:201 [inline]
slab_post_alloc_hook+0x4b/0x490 mm/slab.h:737
slab_alloc_node mm/slub.c:3359 [inline]
slab_alloc mm/slub.c:3367 [inline]
__kmem_cache_alloc_lru mm/slub.c:3374 [inline]
kmem_cache_alloc+0x18b/0x2f0 mm/slub.c:3383
vm_area_alloc+0x20/0xe0 kernel/fork.c:460
__mmap_region mm/mmap.c:2753 [inline]
mmap_region+0xcbc/0x1c50 mm/mmap.c:2916
do_mmap+0x9ce/0x10d0 mm/mmap.c:1436
vm_mmap_pgoff+0x1c1/0x2d0 mm/util.c:520
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
Modules linked in:
CPU: 1 PID: 6720 Comm: syz.4.517 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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_remount+0x348/0x5c0 fs/jfs/super.c:451
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:0x7f9715b9f34a
Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9713df5e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f9713df5ee0 RCX: 00007f9715b9f34a
RDX: 0000200000000f40 RSI: 0000200000000f00 RDI: 0000000000000000
RBP: 0000200000000f40 R08: 00007f9713df5ee0 R09: 000000000184a438
R10: 000000000184a438 R11: 0000000000000246 R12: 0000200000000f00
R13: 00007f9713df5ea0 R14: 0000000000000000 R15: 0000200000000280
BUG: Bad page state in process syz.4.517 pfn:516b7
page:ffffea000145adc0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e pfn:0x516b7
flags: 0xfff00000002006(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000002006 ffffea000145ad88 ffffc900039079a0 0000000000000000
raw: 000000000000002e ffff8880365704d8 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 6720, tgid 6719 (syz.4.517), ts 340073893796, free_ts 338699606725
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
__filemap_get_folio+0x6ba/0xde0 mm/filemap.c:1993
pagecache_get_page+0x26/0x260 mm/folio-compat.c:110
find_or_create_page include/linux/pagemap.h:648 [inline]
grab_cache_page include/linux/pagemap.h:780 [inline]
__get_metapage+0x2a7/0xfb0 fs/jfs/jfs_metapage.c:613
diNewExt+0x9ff/0x2e20 fs/jfs/jfs_imap.c:2275
diAllocExt fs/jfs/jfs_imap.c:1952 [inline]
diAllocAG+0xe27/0x1c30 fs/jfs/jfs_imap.c:1669
diAlloc+0x1c8/0x1930 fs/jfs/jfs_imap.c:1590
ialloc+0x88/0x930 fs/jfs/jfs_inode.c:56
jfs_mkdir+0x1e1/0xb00 fs/jfs/namei.c:225
vfs_mkdir+0x386/0x570 fs/namei.c:4114
do_mkdirat+0x1d8/0x440 fs/namei.c:4139
__do_sys_mkdirat fs/namei.c:4154 [inline]
__se_sys_mkdirat fs/namei.c:4152 [inline]
__x64_sys_mkdirat+0x85/0x90 fs/namei.c:4152
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+0x2e/0x3f0 mm/page_alloc.c:3509
free_slab mm/slub.c:2036 [inline]
discard_slab mm/slub.c:2042 [inline]
__unfreeze_partials+0x188/0x1e0 mm/slub.c:2591
put_cpu_partial+0x17c/0x250 mm/slub.c:2667
qlink_free mm/kasan/quarantine.c:168 [inline]
qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:187
kasan_quarantine_reduce+0x144/0x160 mm/kasan/quarantine.c:294
__kasan_slab_alloc+0x1e/0x80 mm/kasan/common.c:306
kasan_slab_alloc include/linux/kasan.h:201 [inline]
slab_post_alloc_hook+0x4b/0x490 mm/slab.h:737
slab_alloc_node mm/slub.c:3359 [inline]
slab_alloc mm/slub.c:3367 [inline]
__kmem_cache_alloc_lru mm/slub.c:3374 [inline]
kmem_cache_alloc+0x18b/0x2f0 mm/slub.c:3383
vm_area_alloc+0x20/0xe0 kernel/fork.c:460
__mmap_region mm/mmap.c:2753 [inline]
mmap_region+0xcbc/0x1c50 mm/mmap.c:2916
do_mmap+0x9ce/0x10d0 mm/mmap.c:1436
vm_mmap_pgoff+0x1c1/0x2d0 mm/util.c:520
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
Modules linked in:
CPU: 1 PID: 6720 Comm: syz.4.517 Tainted: G B syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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_remount+0x348/0x5c0 fs/jfs/super.c:451
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:0x7f9715b9f34a
Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9713df5e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f9713df5ee0 RCX: 00007f9715b9f34a
RDX: 0000200000000f40 RSI: 0000200000000f00 RDI: 0000000000000000
RBP: 0000200000000f40 R08: 00007f9713df5ee0 R09: 000000000184a438
R10: 000000000184a438 R11: 0000000000000246 R12: 0000200000000f00
R13: 00007f9713df5ea0 R14: 0000000000000000 R15: 0000200000000280
BUG: Bad page state in process syz.4.517 pfn:516b6
page:ffffea000145ad80 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2d pfn:0x516b6
flags: 0xfff00000002006(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000002006 ffffea0001ca9108 ffffc900039079a0 0000000000000000
raw: 000000000000002d ffff8880365702e8 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 6720, tgid 6719 (syz.4.517), ts 340073853856, free_ts 338782044615
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
__filemap_get_folio+0x6ba/0xde0 mm/filemap.c:1993
pagecache_get_page+0x26/0x260 mm/folio-compat.c:110
find_or_create_page include/linux/pagemap.h:648 [inline]
grab_cache_page include/linux/pagemap.h:780 [inline]
__get_metapage+0x2a7/0xfb0 fs/jfs/jfs_metapage.c:613
diNewExt+0x9ff/0x2e20 fs/jfs/jfs_imap.c:2275
diAllocExt fs/jfs/jfs_imap.c:1952 [inline]
diAllocAG+0xe27/0x1c30 fs/jfs/jfs_imap.c:1669
diAlloc+0x1c8/0x1930 fs/jfs/jfs_imap.c:1590
ialloc+0x88/0x930 fs/jfs/jfs_inode.c:56
jfs_mkdir+0x1e1/0xb00 fs/jfs/namei.c:225
vfs_mkdir+0x386/0x570 fs/namei.c:4114
do_mkdirat+0x1d8/0x440 fs/namei.c:4139
__do_sys_mkdirat fs/namei.c:4154 [inline]
__se_sys_mkdirat fs/namei.c:4152 [inline]
__x64_sys_mkdirat+0x85/0x90 fs/namei.c:4152
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
tlb_batch_pages_flush mm/mmu_gather.c:60 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:255 [inline]
tlb_flush_mmu+0x105/0x220 mm/mmu_gather.c:262
tlb_finish_mmu+0xf0/0x220 mm/mmu_gather.c:394
unmap_region+0x29c/0x300 mm/mmap.c:2343
do_mas_align_munmap+0xcda/0x12d0 mm/mmap.c:2592
do_mas_munmap+0x240/0x2b0 mm/mmap.c:2650
__vm_munmap+0x1aa/0x2d0 mm/mmap.c:2936
__do_sys_munmap mm/mmap.c:2961 [inline]
__se_sys_munmap mm/mmap.c:2958 [inline]
__x64_sys_munmap+0x5c/0x70 mm/mmap.c:2958
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
Modules linked in:
CPU: 0 PID: 6720 Comm: syz.4.517 Tainted: G B syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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_remount+0x348/0x5c0 fs/jfs/super.c:451
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:0x7f9715b9f34a
Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9713df5e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f9713df5ee0 RCX: 00007f9715b9f34a
RDX: 0000200000000f40 RSI: 0000200000000f00 RDI: 0000000000000000
RBP: 0000200000000f40 R08: 00007f9713df5ee0 R09: 000000000184a438
R10: 000000000184a438 R11: 0000000000000246 R12: 0000200000000f00
R13: 00007f9713df5ea0 R14: 0000000000000000 R15: 0000200000000280