ERROR: (device loop4): remounting filesystem as read-only
ERROR: (device loop4): txCommit:
BUG: Bad page state in process syz.4.145 pfn:5b0dd
page:ffffea00016c3740 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2f pfn:0x5b0dd
flags: 0xfff0000000800c(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff0000000800c ffffea00009a5708 ffffc90004b9f940 0000000000000000
raw: 000000000000002f ffff88803168eba0 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 6558, tgid 6557 (syz.4.145), ts 157875899312, free_ts 157520983900
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
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+0x31d/0x410 mm/slub.c:3700
qlink_free mm/kasan/quarantine.c:166 [inline]
qlist_free_all+0x75/0xe0 mm/kasan/quarantine.c:185
kasan_quarantine_reduce+0x143/0x160 mm/kasan/quarantine.c:292
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:305
kasan_slab_alloc include/linux/kasan.h:188 [inline]
slab_post_alloc_hook+0x6e/0x4d0 mm/slab.h:767
slab_alloc_node mm/slub.c:3495 [inline]
slab_alloc mm/slub.c:3503 [inline]
__kmem_cache_alloc_lru mm/slub.c:3510 [inline]
kmem_cache_alloc+0x11e/0x2e0 mm/slub.c:3519
getname_flags+0xbb/0x500 fs/namei.c:140
do_sys_openat2+0xcb/0x1c0 fs/open.c:1413
do_sys_open fs/open.c:1434 [inline]
__do_sys_openat fs/open.c:1450 [inline]
__se_sys_openat fs/open.c:1445 [inline]
__x64_sys_openat+0x139/0x160 fs/open.c:1445
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
Modules linked in:
CPU: 1 PID: 6558 Comm: syz.4.145 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/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:0x7faa17f9066a
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:00007faa18ea1e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007faa18ea1ef0 RCX: 00007faa17f9066a
RDX: 0000200000000f40 RSI: 0000200000000f00 RDI: 0000000000000000
RBP: 0000200000000f40 R08: 00007faa18ea1ef0 R09: 0000000001a4a438
R10: 0000000001a4a438 R11: 0000000000000246 R12: 0000200000000f00
R13: 00007faa18ea1eb0 R14: 0000000000000000 R15: 0000200000000f80
BUG: Bad page state in process syz.4.145 pfn:2695c
page:ffffea00009a5700 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e pfn:0x2695c
flags: 0xfff0000000800c(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff0000000800c ffffea00017b97c8 ffffc90004b9f940 0000000000000000
raw: 000000000000002e ffff88803168eaa8 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 6558, tgid 6557 (syz.4.145), ts 157875569339, free_ts 157521093907
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
__slab_free+0x35e/0x410 mm/slub.c:3736
qlink_free mm/kasan/quarantine.c:166 [inline]
qlist_free_all+0x75/0xe0 mm/kasan/quarantine.c:185
kasan_quarantine_reduce+0x143/0x160 mm/kasan/quarantine.c:292
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:305
kasan_slab_alloc include/linux/kasan.h:188 [inline]
slab_post_alloc_hook+0x6e/0x4d0 mm/slab.h:767
slab_alloc_node mm/slub.c:3495 [inline]
slab_alloc mm/slub.c:3503 [inline]
__kmem_cache_alloc_lru mm/slub.c:3510 [inline]
kmem_cache_alloc+0x11e/0x2e0 mm/slub.c:3519
getname_flags+0xbb/0x500 fs/namei.c:140
do_sys_openat2+0xcb/0x1c0 fs/open.c:1413
do_sys_open fs/open.c:1434 [inline]
__do_sys_openat fs/open.c:1450 [inline]
__se_sys_openat fs/open.c:1445 [inline]
__x64_sys_openat+0x139/0x160 fs/open.c:1445
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
Modules linked in:
CPU: 1 PID: 6558 Comm: syz.4.145 Tainted: G B syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/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:0x7faa17f9066a
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:00007faa18ea1e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007faa18ea1ef0 RCX: 00007faa17f9066a
RDX: 0000200000000f40 RSI: 0000200000000f00 RDI: 0000000000000000
RBP: 0000200000000f40 R08: 00007faa18ea1ef0 R09: 0000000001a4a438
R10: 0000000001a4a438 R11: 0000000000000246 R12: 0000200000000f00
R13: 00007faa18ea1eb0 R14: 0000000000000000 R15: 0000200000000f80
BUG: Bad page state in process syz.4.145 pfn:5ee5f
page:ffffea00017b97c0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2d pfn:0x5ee5f
flags: 0xfff0000000800c(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff0000000800c ffffea000191cac8 ffffc90004b9f940 0000000000000000
raw: 000000000000002d ffff88803168e9b0 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 6558, tgid 6557 (syz.4.145), ts 157875511316, free_ts 157624830167
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
__slab_free+0x35e/0x410 mm/slub.c:3736
qlink_free mm/kasan/quarantine.c:166 [inline]
qlist_free_all+0x75/0xe0 mm/kasan/quarantine.c:185
kasan_quarantine_reduce+0x143/0x160 mm/kasan/quarantine.c:292
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:305
kasan_slab_alloc include/linux/kasan.h:188 [inline]
slab_post_alloc_hook+0x6e/0x4d0 mm/slab.h:767
slab_alloc_node mm/slub.c:3495 [inline]
__kmem_cache_alloc_node+0x13e/0x260 mm/slub.c:3534
__do_kmalloc_node mm/slab_common.c:1006 [inline]
__kmalloc+0xa4/0x240 mm/slab_common.c:1020
kmalloc include/linux/slab.h:604 [inline]
kzalloc include/linux/slab.h:721 [inline]
tomoyo_encode2 security/tomoyo/realpath.c:45 [inline]
tomoyo_encode+0x28b/0x540 security/tomoyo/realpath.c:80
tomoyo_path_perm+0x2b1/0x4b0 security/tomoyo/file.c:831
tomoyo_path_symlink+0xa4/0xe0 security/tomoyo/tomoyo.c:211
security_path_symlink+0xe0/0x130 security/security.c:1786
do_symlinkat+0x108/0x3f0 fs/namei.c:4497
__do_sys_symlink fs/namei.c:4520 [inline]
__se_sys_symlink fs/namei.c:4518 [inline]
__x64_sys_symlink+0x7e/0x90 fs/namei.c:4518
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
Modules linked in:
CPU: 0 PID: 6558 Comm: syz.4.145 Tainted: G B syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/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:0x7faa17f9066a
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:00007faa18ea1e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007faa18ea1ef0 RCX: 00007faa17f9066a
RDX: 0000200000000f40 RSI: 0000200000000f00 RDI: 0000000000000000
RBP: 0000200000000f40 R08: 00007faa18ea1ef0 R09: 0000000001a4a438
R10: 0000000001a4a438 R11: 0000000000000246 R12: 0000200000000f00
R13: 00007faa18ea1eb0 R14: 0000000000000000 R15: 0000200000000f80