ERROR: (device loop7): xtSearch: XT_GETPAGE: xtree page corrupt
xtLookup: xtSearch returned -5
free_index: error reading directory table
BUG: Bad page state in process syz.7.5946 pfn:5c066
page:ffffea0001701980 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2f pfn:0x5c066
flags: 0xfff0000000800c(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff0000000800c ffffea0001a49108 ffffc90004b5f940 0000000000000000
raw: 000000000000002f ffff88805d33ac98 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 27667, tgid 27665 (syz.7.5946), ts 1713463876350, free_ts 1711816260019
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x1c1/0x200 mm/page_alloc.c:1581
prep_new_page mm/page_alloc.c:1588 [inline]
get_page_from_freelist+0x1951/0x19e0 mm/page_alloc.c:3220
__alloc_pages+0x1f0/0x460 mm/page_alloc.c:4500
folio_alloc+0x1e/0x30 mm/mempolicy.c:2289
filemap_alloc_folio+0xdf/0x490 mm/filemap.c:1004
__filemap_get_folio+0x3ea/0xbb0 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+0xa82/0x3120 fs/jfs/jfs_imap.c:2275
diAllocExt fs/jfs/jfs_imap.c:1952 [inline]
diAllocAG+0xea5/0x1da0 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+0x1df/0xac0 fs/jfs/namei.c:225
vfs_mkdir+0x296/0x440 fs/namei.c:4121
do_mkdirat+0x1dc/0x450 fs/namei.c:4144
__do_sys_mkdirat fs/namei.c:4159 [inline]
__se_sys_mkdirat fs/namei.c:4157 [inline]
__x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4157
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1181 [inline]
free_unref_page_prepare+0x7b2/0x8c0 mm/page_alloc.c:2365
free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2504
release_pages+0x1f7a/0x2200 mm/swap.c:1022
tlb_batch_pages_flush mm/mmu_gather.c:99 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:294 [inline]
tlb_flush_mmu+0x379/0x510 mm/mmu_gather.c:301
tlb_finish_mmu+0xf9/0x220 mm/mmu_gather.c:425
exit_mmap+0x428/0xb90 mm/mmap.c:3315
__mmput+0x118/0x3c0 kernel/fork.c:1356
exit_mm+0x1f2/0x2c0 kernel/exit.c:569
do_exit+0x8dd/0x2460 kernel/exit.c:870
do_group_exit+0x21b/0x2d0 kernel/exit.c:1024
get_signal+0x12fc/0x13f0 kernel/signal.c:2902
arch_do_signal_or_restart+0xc2/0x800 arch/x86/kernel/signal.c:310
exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
do_syscall_64+0x61/0xa0 arch/x86/entry/common.c:82
Modules linked in:
CPU: 1 PID: 27667 Comm: syz.7.5946 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
Call Trace:
dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106
bad_page+0x14b/0x170 mm/page_alloc.c:539
free_page_is_bad mm/page_alloc.c:988 [inline]
free_pages_prepare mm/page_alloc.c:1173 [inline]
free_unref_page_prepare+0x85f/0x8c0 mm/page_alloc.c:2365
free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2504
release_pages+0x1f7a/0x2200 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+0x3b9/0xfb0 mm/truncate.c:396
jfs_remount+0x341/0x5b0 fs/jfs/super.c:451
reconfigure_super+0x21e/0x8a0 fs/super.c:1151
do_remount fs/namespace.c:2927 [inline]
path_mount+0xd2f/0xff0 fs/namespace.c:3705
do_mount fs/namespace.c:3726 [inline]
__do_sys_mount fs/namespace.c:3935 [inline]
__se_sys_mount+0x2e7/0x3d0 fs/namespace.c:3912
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f4eeff9da8a
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:00007f4ef0da0e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f4ef0da0ee0 RCX: 00007f4eeff9da8a
RDX: 0000200000000180 RSI: 0000200000000100 RDI: 0000000000000000
RBP: 0000200000000180 R08: 00007f4ef0da0ee0 R09: 00000000000820f8
R10: 00000000000820f8 R11: 0000000000000246 R12: 0000200000000100
R13: 00007f4ef0da0ea0 R14: 0000000000000000 R15: 00002000000001c0
BUG: Bad page state in process syz.7.5946 pfn:69244
page:ffffea0001a49100 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e pfn:0x69244
flags: 0xfff0000000800c(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff0000000800c ffffea000126a988 ffffc90004b5f940 0000000000000000
raw: 000000000000002e ffff88805d33aba0 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 27667, tgid 27665 (syz.7.5946), ts 1713463815390, free_ts 1712720623767
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x1c1/0x200 mm/page_alloc.c:1581
prep_new_page mm/page_alloc.c:1588 [inline]
get_page_from_freelist+0x1951/0x19e0 mm/page_alloc.c:3220
__alloc_pages+0x1f0/0x460 mm/page_alloc.c:4500
folio_alloc+0x1e/0x30 mm/mempolicy.c:2289
filemap_alloc_folio+0xdf/0x490 mm/filemap.c:1004
__filemap_get_folio+0x3ea/0xbb0 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+0xa82/0x3120 fs/jfs/jfs_imap.c:2275
diAllocExt fs/jfs/jfs_imap.c:1952 [inline]
diAllocAG+0xea5/0x1da0 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+0x1df/0xac0 fs/jfs/namei.c:225
vfs_mkdir+0x296/0x440 fs/namei.c:4121
do_mkdirat+0x1dc/0x450 fs/namei.c:4144
__do_sys_mkdirat fs/namei.c:4159 [inline]
__se_sys_mkdirat fs/namei.c:4157 [inline]
__x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4157
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1181 [inline]
free_unref_page_prepare+0x7b2/0x8c0 mm/page_alloc.c:2365
free_unref_page+0x32/0x2e0 mm/page_alloc.c:2458
__slab_free+0x35a/0x400 mm/slub.c:3736
qlink_free mm/kasan/quarantine.c:166 [inline]
qlist_free_all+0x75/0xd0 mm/kasan/quarantine.c:185
kasan_quarantine_reduce+0x143/0x160 mm/kasan/quarantine.c:292
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:306
kasan_slab_alloc include/linux/kasan.h:188 [inline]
slab_post_alloc_hook+0x6e/0x4b0 mm/slab.h:767
slab_alloc_node mm/slub.c:3495 [inline]
__kmem_cache_alloc_node+0x13a/0x250 mm/slub.c:3534
__do_kmalloc_node mm/slab_common.c:1006 [inline]
__kmalloc+0xa4/0x230 mm/slab_common.c:1020
kmalloc include/linux/slab.h:604 [inline]
tomoyo_realpath_from_path+0xe3/0x5d0 security/tomoyo/realpath.c:251
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_path_perm+0x282/0x560 security/tomoyo/file.c:822
security_inode_getattr+0xd3/0x120 security/security.c:2154
vfs_getattr fs/stat.c:173 [inline]
vfs_fstat fs/stat.c:198 [inline]
__do_sys_newfstat fs/stat.c:473 [inline]
__se_sys_newfstat fs/stat.c:470 [inline]
__x64_sys_newfstat+0x12c/0x250 fs/stat.c:470
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
Modules linked in:
CPU: 1 PID: 27667 Comm: syz.7.5946 Tainted: G B syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
Call Trace:
dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106
bad_page+0x14b/0x170 mm/page_alloc.c:539
free_page_is_bad mm/page_alloc.c:988 [inline]
free_pages_prepare mm/page_alloc.c:1173 [inline]
free_unref_page_prepare+0x85f/0x8c0 mm/page_alloc.c:2365
free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2504
release_pages+0x1f7a/0x2200 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+0x3b9/0xfb0 mm/truncate.c:396
jfs_remount+0x341/0x5b0 fs/jfs/super.c:451
reconfigure_super+0x21e/0x8a0 fs/super.c:1151
do_remount fs/namespace.c:2927 [inline]
path_mount+0xd2f/0xff0 fs/namespace.c:3705
do_mount fs/namespace.c:3726 [inline]
__do_sys_mount fs/namespace.c:3935 [inline]
__se_sys_mount+0x2e7/0x3d0 fs/namespace.c:3912
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f4eeff9da8a
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:00007f4ef0da0e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f4ef0da0ee0 RCX: 00007f4eeff9da8a
RDX: 0000200000000180 RSI: 0000200000000100 RDI: 0000000000000000
RBP: 0000200000000180 R08: 00007f4ef0da0ee0 R09: 00000000000820f8
R10: 00000000000820f8 R11: 0000000000000246 R12: 0000200000000100
R13: 00007f4ef0da0ea0 R14: 0000000000000000 R15: 00002000000001c0
BUG: Bad page state in process syz.7.5946 pfn:49aa6
page:ffffea000126a980 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2d pfn:0x49aa6
flags: 0xfff0000000800c(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff0000000800c ffffea000169c648 ffffc90004b5f940 0000000000000000
raw: 000000000000002d ffff88805d33aaa8 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 27667, tgid 27665 (syz.7.5946), ts 1713463757017, free_ts 1712720712271
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x1c1/0x200 mm/page_alloc.c:1581
prep_new_page mm/page_alloc.c:1588 [inline]
get_page_from_freelist+0x1951/0x19e0 mm/page_alloc.c:3220
__alloc_pages+0x1f0/0x460 mm/page_alloc.c:4500
folio_alloc+0x1e/0x30 mm/mempolicy.c:2289
filemap_alloc_folio+0xdf/0x490 mm/filemap.c:1004
__filemap_get_folio+0x3ea/0xbb0 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+0xa82/0x3120 fs/jfs/jfs_imap.c:2275
diAllocExt fs/jfs/jfs_imap.c:1952 [inline]
diAllocAG+0xea5/0x1da0 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+0x1df/0xac0 fs/jfs/namei.c:225
vfs_mkdir+0x296/0x440 fs/namei.c:4121
do_mkdirat+0x1dc/0x450 fs/namei.c:4144
__do_sys_mkdirat fs/namei.c:4159 [inline]
__se_sys_mkdirat fs/namei.c:4157 [inline]
__x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4157
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1181 [inline]
free_unref_page_prepare+0x7b2/0x8c0 mm/page_alloc.c:2365
free_unref_page+0x32/0x2e0 mm/page_alloc.c:2458
discard_slab mm/slub.c:2127 [inline]
__unfreeze_partials+0x1cf/0x210 mm/slub.c:2667
put_cpu_partial+0x17c/0x250 mm/slub.c:2743
__slab_free+0x319/0x400 mm/slub.c:3700
qlink_free mm/kasan/quarantine.c:166 [inline]
qlist_free_all+0x75/0xd0 mm/kasan/quarantine.c:185
kasan_quarantine_reduce+0x143/0x160 mm/kasan/quarantine.c:292
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:306
kasan_slab_alloc include/linux/kasan.h:188 [inline]
slab_post_alloc_hook+0x6e/0x4b0 mm/slab.h:767
slab_alloc_node mm/slub.c:3495 [inline]
__kmem_cache_alloc_node+0x13a/0x250 mm/slub.c:3534
__do_kmalloc_node mm/slab_common.c:1006 [inline]
__kmalloc+0xa4/0x230 mm/slab_common.c:1020
kmalloc include/linux/slab.h:604 [inline]
tomoyo_realpath_from_path+0xe3/0x5d0 security/tomoyo/realpath.c:251
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_path_perm+0x282/0x560 security/tomoyo/file.c:822
security_inode_getattr+0xd3/0x120 security/security.c:2154
vfs_getattr fs/stat.c:173 [inline]
vfs_fstat fs/stat.c:198 [inline]
__do_sys_newfstat fs/stat.c:473 [inline]
__se_sys_newfstat fs/stat.c:470 [inline]
__x64_sys_newfstat+0x12c/0x250 fs/stat.c:470
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76
Modules linked in:
CPU: 1 PID: 27667 Comm: syz.7.5946 Tainted: G B syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
Call Trace:
dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106
bad_page+0x14b/0x170 mm/page_alloc.c:539
free_page_is_bad mm/page_alloc.c:988 [inline]
free_pages_prepare mm/page_alloc.c:1173 [inline]
free_unref_page_prepare+0x85f/0x8c0 mm/page_alloc.c:2365
free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2504
release_pages+0x1f7a/0x2200 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+0x3b9/0xfb0 mm/truncate.c:396
jfs_remount+0x341/0x5b0 fs/jfs/super.c:451
reconfigure_super+0x21e/0x8a0 fs/super.c:1151
do_remount fs/namespace.c:2927 [inline]
path_mount+0xd2f/0xff0 fs/namespace.c:3705
do_mount fs/namespace.c:3726 [inline]
__do_sys_mount fs/namespace.c:3935 [inline]
__se_sys_mount+0x2e7/0x3d0 fs/namespace.c:3912
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f4eeff9da8a
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:00007f4ef0da0e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f4ef0da0ee0 RCX: 00007f4eeff9da8a
RDX: 0000200000000180 RSI: 0000200000000100 RDI: 0000000000000000
RBP: 0000200000000180 R08: 00007f4ef0da0ee0 R09: 00000000000820f8
R10: 00000000000820f8 R11: 0000000000000246 R12: 0000200000000100
R13: 00007f4ef0da0ea0 R14: 0000000000000000 R15: 00002000000001c0