BUG: Bad page state in process syz-executor pfn:2abfc page:ffffea0000aaff00 refcount:0 mapcount:0 mapping:0000000000000000 index:0x4 pfn:0x2abfc flags: 0xfff1800000820c(referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff1800000820c ffffea0000b44a48 ffffc90004537940 0000000000000000 raw: 0000000000000004 ffff88801efbb0f8 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 7515, tgid 7513 (syz.2.623), ts 167011878146, free_ts 166994236236 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1c1/0x200 mm/page_alloc.c:1582 prep_new_page mm/page_alloc.c:1589 [inline] get_page_from_freelist+0x2181/0x22a0 mm/page_alloc.c:3221 __alloc_pages+0x1f0/0x460 mm/page_alloc.c:4501 folio_alloc+0x1e/0x30 mm/mempolicy.c:2289 filemap_alloc_folio+0xdf/0x490 mm/filemap.c:1004 do_read_cache_folio+0x381/0x7f0 mm/filemap.c:3773 do_read_cache_page+0x32/0x260 mm/filemap.c:3875 read_mapping_page include/linux/pagemap.h:892 [inline] __get_metapage+0x31d/0xfa0 fs/jfs/jfs_metapage.c:620 dbAllocCtl+0xd2/0x980 fs/jfs/jfs_dmap.c:1813 dbAllocAG+0xc46/0x1000 fs/jfs/jfs_dmap.c:1472 dbDiscardAG+0x2c5/0x8e0 fs/jfs/jfs_dmap.c:1608 jfs_ioc_trim+0x42c/0x670 fs/jfs/jfs_discard.c:106 jfs_ioctl+0x292/0x3b0 fs/jfs/ioctl.c:131 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0xfd/0x170 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 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:1182 [inline] free_unref_page_prepare+0x7d7/0x8f0 mm/page_alloc.c:2366 free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2505 release_pages+0x208a/0x2300 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+0xf4/0x220 mm/mmu_gather.c:425 unmap_region+0x311/0x370 mm/mmap.c:2349 do_vmi_align_munmap+0x1057/0x16a0 mm/mmap.c:2592 do_vmi_munmap+0x252/0x2d0 mm/mmap.c:2660 __vm_munmap+0x19e/0x3c0 mm/mmap.c:2961 __do_sys_munmap mm/mmap.c:2978 [inline] __se_sys_munmap mm/mmap.c:2975 [inline] __x64_sys_munmap+0x60/0x70 mm/mmap.c:2975 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Modules linked in: CPU: 1 PID: 5781 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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+0x884/0x8f0 mm/page_alloc.c:2366 free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2505 release_pages+0x208a/0x2300 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+0x381/0xea0 mm/truncate.c:396 dbUnmount+0x109/0x180 fs/jfs/jfs_dmap.c:264 jfs_umount+0x235/0x3a0 fs/jfs/jfs_umount.c:87 jfs_put_super+0x8c/0x190 fs/jfs/super.c:194 generic_shutdown_super+0x134/0x2b0 fs/super.c:693 kill_block_super+0x44/0x90 fs/super.c:1668 deactivate_locked_super+0x97/0x100 fs/super.c:481 cleanup_mnt+0x3d7/0x460 fs/namespace.c:1259 task_work_run+0x1d4/0x260 kernel/task_work.c:245 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:180 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213 __syscall_exit_to_user_mode_work kernel/entry/common.c:294 [inline] syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:305 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fdea779f397 Code: a2 c7 05 5c 43 25 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffdb7dec9e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fdea783448b RCX: 00007fdea779f397 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffdb7decaa0 RBP: 00007ffdb7decaa0 R08: 00007ffdb7dedaa0 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdb7dedb30 R13: 00007fdea783448b R14: 0000000000028cec R15: 00007ffdb7dedb70 BUG: Bad page state in process syz-executor pfn:2d129 page:ffffea0000b44a40 refcount:0 mapcount:0 mapping:0000000000000000 index:0x3 pfn:0x2d129 flags: 0xfff1800000820c(referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff1800000820c ffffea0000aea6c8 ffffc90004537940 0000000000000000 raw: 0000000000000003 ffff88807d9ec1f0 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 7515, tgid 7513 (syz.2.623), ts 166986726757, free_ts 166963444203 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1c1/0x200 mm/page_alloc.c:1582 prep_new_page mm/page_alloc.c:1589 [inline] get_page_from_freelist+0x2181/0x22a0 mm/page_alloc.c:3221 __alloc_pages+0x1f0/0x460 mm/page_alloc.c:4501 folio_alloc+0x1e/0x30 mm/mempolicy.c:2289 filemap_alloc_folio+0xdf/0x490 mm/filemap.c:1004 do_read_cache_folio+0x381/0x7f0 mm/filemap.c:3773 do_read_cache_page+0x32/0x260 mm/filemap.c:3875 read_mapping_page include/linux/pagemap.h:892 [inline] __get_metapage+0x31d/0xfa0 fs/jfs/jfs_metapage.c:620 dbAllocAG+0x3fa/0x1000 fs/jfs/jfs_dmap.c:1369 dbDiscardAG+0x2c5/0x8e0 fs/jfs/jfs_dmap.c:1608 jfs_ioc_trim+0x42c/0x670 fs/jfs/jfs_discard.c:106 jfs_ioctl+0x292/0x3b0 fs/jfs/ioctl.c:131 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0xfd/0x170 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 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:1182 [inline] free_unref_page_prepare+0x7d7/0x8f0 mm/page_alloc.c:2366 free_unref_page+0x32/0x2e0 mm/page_alloc.c:2459 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+0x6a/0x4d0 mm/slab.h:770 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_lru+0x175/0x2b0 mm/slub.c:3526 alloc_inode_sb include/linux/fs.h:2976 [inline] shmem_alloc_inode+0x28/0x40 mm/shmem.c:4419 alloc_inode fs/inode.c:261 [inline] new_inode_pseudo+0x63/0x1d0 fs/inode.c:1049 new_inode+0x22/0x1d0 fs/inode.c:1075 __shmem_get_inode mm/shmem.c:2467 [inline] shmem_get_inode+0x34d/0xcd0 mm/shmem.c:2539 shmem_mknod+0x5f/0x1c0 mm/shmem.c:3232 shmem_mkdir+0x33/0x60 mm/shmem.c:3297 Modules linked in: CPU: 0 PID: 5781 Comm: syz-executor Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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+0x884/0x8f0 mm/page_alloc.c:2366 free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2505 release_pages+0x208a/0x2300 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+0x381/0xea0 mm/truncate.c:396 dbUnmount+0x109/0x180 fs/jfs/jfs_dmap.c:264 jfs_umount+0x235/0x3a0 fs/jfs/jfs_umount.c:87 jfs_put_super+0x8c/0x190 fs/jfs/super.c:194 generic_shutdown_super+0x134/0x2b0 fs/super.c:693 kill_block_super+0x44/0x90 fs/super.c:1668 deactivate_locked_super+0x97/0x100 fs/super.c:481 cleanup_mnt+0x3d7/0x460 fs/namespace.c:1259 task_work_run+0x1d4/0x260 kernel/task_work.c:245 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:180 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213 __syscall_exit_to_user_mode_work kernel/entry/common.c:294 [inline] syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:305 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fdea779f397 Code: a2 c7 05 5c 43 25 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffdb7dec9e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fdea783448b RCX: 00007fdea779f397 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffdb7decaa0 RBP: 00007ffdb7decaa0 R08: 00007ffdb7dedaa0 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdb7dedb30 R13: 00007fdea783448b R14: 0000000000028cec R15: 00007ffdb7dedb70