ERROR: (device loop2): dbAdjCtl: the maximum free buddy is not the old root ERROR: (device loop2): remounting filesystem as read-only BUG: Bad page state in process syz.2.14 pfn:30a00 page:ffffea0000c28000 refcount:0 mapcount:0 mapping:0000000000000000 index:0x79b pfn:0x30a00 flags: 0xfff1800000820c(referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff1800000820c ffffea0000c36888 ffffc90004caf960 0000000000000000 raw: 000000000000079b ffff88807d9e8ba0 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 5925, tgid 5922 (syz.2.14), ts 77422491557, free_ts 75544858218 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 xtSplitPage+0x26b/0x2170 fs/jfs/jfs_xtree.c:974 xtSplitUp+0x328/0x1f30 fs/jfs/jfs_xtree.c:771 xtInsert+0x3ef/0xe00 fs/jfs/jfs_xtree.c:593 extAlloc+0x9fa/0xf30 fs/jfs/jfs_extent.c:145 jfs_get_block+0x347/0xab0 fs/jfs/inode.c:248 get_more_blocks fs/direct-io.c:647 [inline] do_direct_IO fs/direct-io.c:935 [inline] __blockdev_direct_IO+0x1679/0x3420 fs/direct-io.c:1248 blockdev_direct_IO include/linux/fs.h:3047 [inline] jfs_direct_IO+0x11b/0x220 fs/jfs/inode.c:331 generic_file_direct_write+0x1d4/0x3e0 mm/filemap.c:3941 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_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 kill_bdev block/bdev.c:76 [inline] blkdev_flush_mapping+0x132/0x290 block/bdev.c:632 blkdev_put_whole block/bdev.c:663 [inline] blkdev_put+0x498/0x760 block/bdev.c:941 blkdev_release+0x84/0x90 block/fops.c:604 __fput+0x234/0x970 fs/file_table.c:384 task_work_run+0x1ce/0x250 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0x90b/0x23c0 kernel/exit.c:883 do_group_exit+0x21b/0x2d0 kernel/exit.c:1024 __do_sys_exit_group kernel/exit.c:1035 [inline] __se_sys_exit_group kernel/exit.c:1033 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1033 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: 0 PID: 5925 Comm: syz.2.14 Not tainted 6.6.95-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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 vfs_cmd_reconfigure fs/fsopen.c:267 [inline] vfs_fsconfig_locked+0x16c/0x320 fs/fsopen.c:296 __do_sys_fsconfig fs/fsopen.c:475 [inline] __se_sys_fsconfig+0x700/0x850 fs/fsopen.c:349 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:0x7f556ff8e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5570d85038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f55701b5fa0 RCX: 00007f556ff8e929 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007f5570010b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f55701b5fa0 R15: 00007fffedde5c98 BUG: Bad page state in process syz.2.14 pfn:30da2 page:ffffea0000c36880 refcount:0 mapcount:0 mapping:0000000000000000 index:0x68b pfn:0x30da2 flags: 0xfff1800000820c(referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff1800000820c ffffea0001fa6548 ffffc90004caf960 0000000000000000 raw: 000000000000068b ffff88807d9e89b0 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 5925, tgid 5922 (syz.2.14), ts 77360304992, free_ts 75551761163 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 xtSplitPage+0x26b/0x2170 fs/jfs/jfs_xtree.c:974 xtSplitUp+0x328/0x1f30 fs/jfs/jfs_xtree.c:771 xtInsert+0x3ef/0xe00 fs/jfs/jfs_xtree.c:593 extAlloc+0x9fa/0xf30 fs/jfs/jfs_extent.c:145 jfs_get_block+0x347/0xab0 fs/jfs/inode.c:248 get_more_blocks fs/direct-io.c:647 [inline] do_direct_IO fs/direct-io.c:935 [inline] __blockdev_direct_IO+0x1679/0x3420 fs/direct-io.c:1248 blockdev_direct_IO include/linux/fs.h:3047 [inline] jfs_direct_IO+0x11b/0x220 fs/jfs/inode.c:331 generic_file_direct_write+0x1d4/0x3e0 mm/filemap.c:3941 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_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 kill_bdev block/bdev.c:76 [inline] blkdev_flush_mapping+0x132/0x290 block/bdev.c:632 blkdev_put_whole block/bdev.c:663 [inline] blkdev_put+0x498/0x760 block/bdev.c:941 blkdev_release+0x84/0x90 block/fops.c:604 __fput+0x234/0x970 fs/file_table.c:384 task_work_run+0x1ce/0x250 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0x90b/0x23c0 kernel/exit.c:883 do_group_exit+0x21b/0x2d0 kernel/exit.c:1024 __do_sys_exit_group kernel/exit.c:1035 [inline] __se_sys_exit_group kernel/exit.c:1033 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1033 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: 0 PID: 5925 Comm: syz.2.14 Tainted: G B 6.6.95-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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 vfs_cmd_reconfigure fs/fsopen.c:267 [inline] vfs_fsconfig_locked+0x16c/0x320 fs/fsopen.c:296 __do_sys_fsconfig fs/fsopen.c:475 [inline] __se_sys_fsconfig+0x700/0x850 fs/fsopen.c:349 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:0x7f556ff8e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5570d85038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f55701b5fa0 RCX: 00007f556ff8e929 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007f5570010b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f55701b5fa0 R15: 00007fffedde5c98 BUG: Bad page state in process syz.2.14 pfn:7e995 page:ffffea0001fa6540 refcount:0 mapcount:0 mapping:0000000000000000 index:0x57b pfn:0x7e995 flags: 0xfff1800000820c(referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff1800000820c ffffea0000bbbb08 ffffc90004caf960 0000000000000000 raw: 000000000000057b ffff88807d9e87c0 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 5925, tgid 5922 (syz.2.14), ts 77313668864, free_ts 76133178487 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 xtSplitPage+0x26b/0x2170 fs/jfs/jfs_xtree.c:974 xtSplitUp+0x328/0x1f30 fs/jfs/jfs_xtree.c:771 xtInsert+0x3ef/0xe00 fs/jfs/jfs_xtree.c:593 extAlloc+0x9fa/0xf30 fs/jfs/jfs_extent.c:145 jfs_get_block+0x347/0xab0 fs/jfs/inode.c:248 get_more_blocks fs/direct-io.c:647 [inline] do_direct_IO fs/direct-io.c:935 [inline] __blockdev_direct_IO+0x1679/0x3420 fs/direct-io.c:1248 blockdev_direct_IO include/linux/fs.h:3047 [inline] jfs_direct_IO+0x11b/0x220 fs/jfs/inode.c:331 generic_file_direct_write+0x1d4/0x3e0 mm/filemap.c:3941 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:2122 [inline] __unfreeze_partials+0x1cf/0x210 mm/slub.c:2662 put_cpu_partial+0x17c/0x250 mm/slub.c:2738 __slab_free+0x31d/0x410 mm/slub.c:3686 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:3485 [inline] __kmem_cache_alloc_node+0x13e/0x260 mm/slub.c:3524 __do_kmalloc_node mm/slab_common.c:1006 [inline] __kmalloc_node+0xa4/0x230 mm/slab_common.c:1014 kmalloc_node include/linux/slab.h:620 [inline] kvmalloc_node+0x70/0x180 mm/util.c:617 kvmalloc include/linux/slab.h:738 [inline] seq_buf_alloc fs/seq_file.c:38 [inline] seq_read_iter+0x1fa/0xd50 fs/seq_file.c:210 call_read_iter include/linux/fs.h:2012 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x431/0x920 fs/read_write.c:470 ksys_read+0x147/0x250 fs/read_write.c:613 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: 5925 Comm: syz.2.14 Tainted: G B 6.6.95-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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 vfs_cmd_reconfigure fs/fsopen.c:267 [inline] vfs_fsconfig_locked+0x16c/0x320 fs/fsopen.c:296 __do_sys_fsconfig fs/fsopen.c:475 [inline] __se_sys_fsconfig+0x700/0x850 fs/fsopen.c:349 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:0x7f556ff8e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5570d85038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f55701b5fa0 RCX: 00007f556ff8e929 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007f5570010b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f55701b5fa0 R15: 00007fffedde5c98 BUG: Bad page state in process syz.2.14 pfn:2eeec page:ffffea0000bbbb00 refcount:0 mapcount:0 mapping:0000000000000000 index:0x46b pfn:0x2eeec flags: 0xfff1800000820c(referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff1800000820c ffffea0000c37188 ffffc90004caf960 0000000000000000 raw: 000000000000046b ffff88807d9e85d0 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 5925, tgid 5922 (syz.2.14), ts 77249381928, free_ts 74199431957 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 xtSplitPage+0x26b/0x2170 fs/jfs/jfs_xtree.c:974 xtSplitUp+0x328/0x1f30 fs/jfs/jfs_xtree.c:771 xtInsert+0x3ef/0xe00 fs/jfs/jfs_xtree.c:593 extAlloc+0x9fa/0xf30 fs/jfs/jfs_extent.c:145 jfs_get_block+0x347/0xab0 fs/jfs/inode.c:248 get_more_blocks fs/direct-io.c:647 [inline] do_direct_IO fs/direct-io.c:935 [inline] __blockdev_direct_IO+0x1679/0x3420 fs/direct-io.c:1248 blockdev_direct_IO include/linux/fs.h:3047 [inline] jfs_direct_IO+0x11b/0x220 fs/jfs/inode.c:331 generic_file_direct_write+0x1d4/0x3e0 mm/filemap.c:3941 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:3722 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:3485 [inline] kmem_cache_alloc_node+0x150/0x330 mm/slub.c:3530 __alloc_skb+0x108/0x2c0 net/core/skbuff.c:640 alloc_skb include/linux/skbuff.h:1284 [inline] mld_newpack+0x143/0xbf0 net/ipv6/mcast.c:1744 add_grhead+0x5a/0x2a0 net/ipv6/mcast.c:1855 add_grec+0x13ad/0x1660 net/ipv6/mcast.c:1993 mld_send_initial_cr+0xed/0x240 net/ipv6/mcast.c:2238 mld_dad_work+0x40/0x270 net/ipv6/mcast.c:2264 process_one_work kernel/workqueue.c:2634 [inline] process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 Modules linked in: CPU: 1 PID: 5925 Comm: syz.2.14 Tainted: G B 6.6.95-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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 vfs_cmd_reconfigure fs/fsopen.c:267 [inline] vfs_fsconfig_locked+0x16c/0x320 fs/fsopen.c:296 __do_sys_fsconfig fs/fsopen.c:475 [inline] __se_sys_fsconfig+0x700/0x850 fs/fsopen.c:349 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:0x7f556ff8e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5570d85038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f55701b5fa0 RCX: 00007f556ff8e929 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007f5570010b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f55701b5fa0 R15: 00007fffedde5c98 BUG: Bad page state in process syz.2.14 pfn:30dc6 page:ffffea0000c37180 refcount:0 mapcount:0 mapping:0000000000000000 index:0x35b pfn:0x30dc6 flags: 0xfff1800000820c(referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff1800000820c ffffea000173bfc8 ffffc90004caf960 0000000000000000 raw: 000000000000035b ffff88807d9e83e0 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 5925, tgid 5922 (syz.2.14), ts 77173741325, free_ts 75503198441 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 xtSplitPage+0x26b/0x2170 fs/jfs/jfs_xtree.c:974 xtSplitUp+0x328/0x1f30 fs/jfs/jfs_xtree.c:771 xtInsert+0x3ef/0xe00 fs/jfs/jfs_xtree.c:593 extAlloc+0x9fa/0xf30 fs/jfs/jfs_extent.c:145 jfs_get_block+0x347/0xab0 fs/jfs/inode.c:248 get_more_blocks fs/direct-io.c:647 [inline] do_direct_IO fs/direct-io.c:935 [inline] __blockdev_direct_IO+0x1679/0x3420 fs/direct-io.c:1248 blockdev_direct_IO include/linux/fs.h:3047 [inline] jfs_direct_IO+0x11b/0x220 fs/jfs/inode.c:331 generic_file_direct_write+0x1d4/0x3e0 mm/filemap.c:3941 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_list+0xbe/0x860 mm/page_alloc.c:2475 release_pages+0x1fa0/0x2220 mm/swap.c:1022 tlb_batch_pages_flush mm/mmu_gather.c:98 [inline] tlb_flush_mmu_free mm/mmu_gather.c:293 [inline] tlb_flush_mmu+0x368/0x4f0 mm/mmu_gather.c:300 tlb_finish_mmu+0xc3/0x1d0 mm/mmu_gather.c:392 exit_mmap+0x3f0/0xb50 mm/mmap.c:3311 __mmput+0x118/0x3c0 kernel/fork.c:1355 exit_mm+0x1da/0x2c0 kernel/exit.c:569 do_exit+0x88e/0x23c0 kernel/exit.c:870 do_group_exit+0x21b/0x2d0 kernel/exit.c:1024 __do_sys_exit_group kernel/exit.c:1035 [inline] __se_sys_exit_group kernel/exit.c:1033 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1033 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: 0 PID: 5925 Comm: syz.2.14 Tainted: G B 6.6.95-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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 vfs_cmd_reconfigure fs/fsopen.c:267 [inline] vfs_fsconfig_locked+0x16c/0x320 fs/fsopen.c:296 __do_sys_fsconfig fs/fsopen.c:475 [inline] __se_sys_fsconfig+0x700/0x850 fs/fsopen.c:349 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:0x7f556ff8e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5570d85038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f55701b5fa0 RCX: 00007f556ff8e929 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007f5570010b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f55701b5fa0 R15: 00007fffedde5c98 BUG: Bad page state in process syz.2.14 pfn:5ceff page:ffffea000173bfc0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x24b pfn:0x5ceff flags: 0xfff1800000820c(referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff1800000820c ffffea000086ef08 ffffc90004caf960 0000000000000000 raw: 000000000000024b ffff88807d9e81f0 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 5925, tgid 5922 (syz.2.14), ts 77120806407, free_ts 75526184912 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 xtSplitPage+0x26b/0x2170 fs/jfs/jfs_xtree.c:974 xtSplitUp+0x328/0x1f30 fs/jfs/jfs_xtree.c:771 xtInsert+0x3ef/0xe00 fs/jfs/jfs_xtree.c:593 extAlloc+0x9fa/0xf30 fs/jfs/jfs_extent.c:145 jfs_get_block+0x347/0xab0 fs/jfs/inode.c:248 get_more_blocks fs/direct-io.c:647 [inline] do_direct_IO fs/direct-io.c:935 [inline] __blockdev_direct_IO+0x1679/0x3420 fs/direct-io.c:1248 blockdev_direct_IO include/linux/fs.h:3047 [inline] jfs_direct_IO+0x11b/0x220 fs/jfs/inode.c:331 generic_file_direct_write+0x1d4/0x3e0 mm/filemap.c:3941 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_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 kill_bdev block/bdev.c:76 [inline] blkdev_flush_mapping+0x132/0x290 block/bdev.c:632 blkdev_put_whole block/bdev.c:663 [inline] blkdev_put+0x498/0x760 block/bdev.c:941 blkdev_release+0x84/0x90 block/fops.c:604 __fput+0x234/0x970 fs/file_table.c:384 task_work_run+0x1ce/0x250 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0x90b/0x23c0 kernel/exit.c:883 do_group_exit+0x21b/0x2d0 kernel/exit.c:1024 __do_sys_exit_group kernel/exit.c:1035 [inline] __se_sys_exit_group kernel/exit.c:1033 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1033 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: 5925 Comm: syz.2.14 Tainted: G B 6.6.95-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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 vfs_cmd_reconfigure fs/fsopen.c:267 [inline] vfs_fsconfig_locked+0x16c/0x320 fs/fsopen.c:296 __do_sys_fsconfig fs/fsopen.c:475 [inline] __se_sys_fsconfig+0x700/0x850 fs/fsopen.c:349 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:0x7f556ff8e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5570d85038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f55701b5fa0 RCX: 00007f556ff8e929 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007f5570010b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f55701b5fa0 R15: 00007fffedde5c98 BUG: Bad page state in process syz.2.14 pfn:21bbc page:ffffea000086ef00 refcount:0 mapcount:0 mapping:0000000000000000 index:0x13b pfn:0x21bbc flags: 0xfff1800000820c(referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff1800000820c ffffea000061a208 ffffc90004caf960 0000000000000000 raw: 000000000000013b ffff88807d9e8000 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 5925, tgid 5922 (syz.2.14), ts 77084201559, free_ts 75953112722 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 xtSplitPage+0x26b/0x2170 fs/jfs/jfs_xtree.c:974 xtSplitUp+0x328/0x1f30 fs/jfs/jfs_xtree.c:771 xtInsert+0x3ef/0xe00 fs/jfs/jfs_xtree.c:593 extAlloc+0x9fa/0xf30 fs/jfs/jfs_extent.c:145 jfs_get_block+0x347/0xab0 fs/jfs/inode.c:248 get_more_blocks fs/direct-io.c:647 [inline] do_direct_IO fs/direct-io.c:935 [inline] __blockdev_direct_IO+0x1679/0x3420 fs/direct-io.c:1248 blockdev_direct_IO include/linux/fs.h:3047 [inline] jfs_direct_IO+0x11b/0x220 fs/jfs/inode.c:331 generic_file_direct_write+0x1d4/0x3e0 mm/filemap.c:3941 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:2122 [inline] __unfreeze_partials+0x1cf/0x210 mm/slub.c:2662 put_cpu_partial+0x17c/0x250 mm/slub.c:2738 __slab_free+0x31d/0x410 mm/slub.c:3686 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:3485 [inline] slab_alloc mm/slub.c:3493 [inline] __kmem_cache_alloc_lru mm/slub.c:3500 [inline] kmem_cache_alloc+0x11e/0x2e0 mm/slub.c:3509 vm_area_alloc+0x24/0x1d0 kernel/fork.c:486 __mmap_region mm/mmap.c:2766 [inline] mmap_region+0xbe6/0x1f80 mm/mmap.c:2937 do_mmap+0x8d1/0xfd0 mm/mmap.c:1381 vm_mmap_pgoff+0x1c0/0x400 mm/util.c:556 ksys_mmap_pgoff+0x520/0x700 mm/mmap.c:1427 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: 1 PID: 5925 Comm: syz.2.14 Tainted: G B 6.6.95-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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 vfs_cmd_reconfigure fs/fsopen.c:267 [inline] vfs_fsconfig_locked+0x16c/0x320 fs/fsopen.c:296 __do_sys_fsconfig fs/fsopen.c:475 [inline] __se_sys_fsconfig+0x700/0x850 fs/fsopen.c:349 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:0x7f556ff8e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5570d85038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f55701b5fa0 RCX: 00007f556ff8e929 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007f5570010b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f55701b5fa0 R15: 00007fffedde5c98 BUG: Bad page state in process syz.2.14 pfn:18688 page:ffffea000061a200 refcount:0 mapcount:0 mapping:0000000000000000 index:0x34 pfn:0x18688 flags: 0xfff1800000820c(referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff1800000820c ffffea0001e79708 ffffc90004caf960 0000000000000000 raw: 0000000000000034 ffff888077139d90 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 5925, tgid 5922 (syz.2.14), ts 77039568866, free_ts 76240692114 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 xtSplitRoot+0x104/0x1030 fs/jfs/jfs_xtree.c:1227 xtSplitUp+0x347/0x1f30 fs/jfs/jfs_xtree.c:770 xtInsert+0x3ef/0xe00 fs/jfs/jfs_xtree.c:593 extAlloc+0x9fa/0xf30 fs/jfs/jfs_extent.c:145 jfs_get_block+0x347/0xab0 fs/jfs/inode.c:248 get_more_blocks fs/direct-io.c:647 [inline] do_direct_IO fs/direct-io.c:935 [inline] __blockdev_direct_IO+0x1679/0x3420 fs/direct-io.c:1248 blockdev_direct_IO include/linux/fs.h:3047 [inline] jfs_direct_IO+0x11b/0x220 fs/jfs/inode.c:331 generic_file_direct_write+0x1d4/0x3e0 mm/filemap.c:3941 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:2122 [inline] __unfreeze_partials+0x1cf/0x210 mm/slub.c:2662 put_cpu_partial+0x17c/0x250 mm/slub.c:2738 __slab_free+0x31d/0x410 mm/slub.c:3686 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:3485 [inline] __kmem_cache_alloc_node+0x13e/0x260 mm/slub.c:3524 __do_kmalloc_node mm/slab_common.c:1006 [inline] __kmalloc+0xa4/0x240 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+0x20f/0x4b0 security/tomoyo/file.c:822 security_inode_getattr+0xd3/0x120 security/security.c:2153 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+0x101/0x1f0 fs/stat.c:470 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: 1 PID: 5925 Comm: syz.2.14 Tainted: G B 6.6.95-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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 vfs_cmd_reconfigure fs/fsopen.c:267 [inline] vfs_fsconfig_locked+0x16c/0x320 fs/fsopen.c:296 __do_sys_fsconfig fs/fsopen.c:475 [inline] __se_sys_fsconfig+0x700/0x850 fs/fsopen.c:349 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:0x7f556ff8e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5570d85038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f55701b5fa0 RCX: 00007f556ff8e929 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007f5570010b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f55701b5fa0 R15: 00007fffedde5c98 BUG: Bad page state in process syz.2.14 pfn:79e5c page:ffffea0001e79700 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1c pfn:0x79e5c flags: 0xfff0800000820c(referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff0800000820c ffffea0001dee5c8 ffffc90004caf960 0000000000000000 raw: 000000000000001c ffff888059a07000 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 5925, tgid 5922 (syz.2.14), ts 76936873436, free_ts 76671625975 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 do_read_cache_folio+0x36c/0x7e0 mm/filemap.c:3753 do_read_cache_page+0x32/0x250 mm/filemap.c:3855 read_mapping_page include/linux/pagemap.h:892 [inline] __get_metapage+0x31a/0xfa0 fs/jfs/jfs_metapage.c:620 diRead+0x6d3/0xb90 fs/jfs/jfs_imap.c:367 jfs_iget+0x8d/0x3c0 fs/jfs/inode.c:35 jfs_fill_super+0x70c/0xac0 fs/jfs/super.c:580 mount_bdev+0x22b/0x2d0 fs/super.c:1643 legacy_get_tree+0xea/0x180 fs/fs_context.c:662 vfs_get_tree+0x8c/0x280 fs/super.c:1764 do_new_mount+0x24b/0xa40 fs/namespace.c:3366 do_mount fs/namespace.c:3706 [inline] __do_sys_mount fs/namespace.c:3915 [inline] __se_sys_mount+0x2da/0x3c0 fs/namespace.c:3892 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:3722 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:3485 [inline] slab_alloc mm/slub.c:3493 [inline] __kmem_cache_alloc_lru mm/slub.c:3500 [inline] kmem_cache_alloc+0x11e/0x2e0 mm/slub.c:3509 kmem_cache_zalloc include/linux/slab.h:711 [inline] jbd2_alloc_handle include/linux/jbd2.h:1602 [inline] new_handle fs/jbd2/transaction.c:461 [inline] jbd2__journal_start+0x140/0x5b0 fs/jbd2/transaction.c:488 __ext4_journal_start_sb+0x203/0x570 fs/ext4/ext4_jbd2.c:112 __ext4_journal_start fs/ext4/ext4_jbd2.h:326 [inline] ext4_dirty_inode+0x93/0x110 fs/ext4/inode.c:6103 __mark_inode_dirty+0x2b4/0xc80 fs/fs-writeback.c:2455 generic_update_time fs/inode.c:1981 [inline] inode_update_time fs/inode.c:1994 [inline] __file_update_time fs/inode.c:2180 [inline] file_update_time+0x197/0x1b0 fs/inode.c:2210 ext4_page_mkwrite+0x1f3/0x1210 fs/ext4/inode.c:6224 do_page_mkwrite+0x153/0x3e0 mm/memory.c:2950 do_shared_fault mm/memory.c:4695 [inline] do_fault mm/memory.c:4757 [inline] do_pte_missing mm/memory.c:3688 [inline] handle_pte_fault mm/memory.c:5025 [inline] __handle_mm_fault mm/memory.c:5166 [inline] handle_mm_fault+0x19b8/0x4920 mm/memory.c:5331 Modules linked in: CPU: 0 PID: 5925 Comm: syz.2.14 Tainted: G B 6.6.95-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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 vfs_cmd_reconfigure fs/fsopen.c:267 [inline] vfs_fsconfig_locked+0x16c/0x320 fs/fsopen.c:296 __do_sys_fsconfig fs/fsopen.c:475 [inline] __se_sys_fsconfig+0x700/0x850 fs/fsopen.c:349 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:0x7f556ff8e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5570d85038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f55701b5fa0 RCX: 00007f556ff8e929 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007f5570010b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f55701b5fa0 R15: 00007fffedde5c98