BUG: Bad page state in process syz.7.359 pfn:5ad94 page:ffffea00016b6500 refcount:0 mapcount:0 mapping:0000000000000000 index:0x4 pfn:0x5ad94 flags: 0xfff00000002006(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002006 ffffea0001cc6888 ffffc90002fff880 0000000000000000 raw: 0000000000000004 ffff8880678742e8 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 0x100c40(GFP_NOFS|__GFP_HARDWALL), pid 7114, ts 202465171553, free_ts 201173280123 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x1b77/0x1c60 mm/page_alloc.c:4192 __alloc_pages+0x1e1/0x470 mm/page_alloc.c:5487 __page_cache_alloc+0xd2/0x3f0 mm/filemap.c:1022 do_read_cache_page+0x1da/0x1030 mm/filemap.c:3457 read_mapping_page include/linux/pagemap.h:515 [inline] __get_metapage+0x35d/0x1060 fs/jfs/jfs_metapage.c:621 dbAllocCtl+0xd4/0x9b0 fs/jfs/jfs_dmap.c:1881 dbAllocAG+0x1e7/0xfe0 fs/jfs/jfs_dmap.c:1421 dbDiscardAG+0x2ca/0x8e0 fs/jfs/jfs_dmap.c:1676 jfs_ioc_trim+0x41e/0x680 fs/jfs/jfs_discard.c:106 jfs_ioctl+0x2a5/0x3a0 fs/jfs/ioctl.c:132 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page+0x94/0x280 mm/page_alloc.c:3396 unpin_user_pages_dirty_lock+0x2d6/0x4a0 mm/gup.c:366 xdp_umem_unpin_pages net/xdp/xdp_umem.c:28 [inline] xdp_umem_release+0xdc/0x220 net/xdp/xdp_umem.c:63 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Modules linked in: CPU: 1 PID: 7141 Comm: syz.7.359 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 bad_page+0x14b/0x170 mm/page_alloc.c:652 check_free_page mm/page_alloc.c:1209 [inline] free_pages_prepare mm/page_alloc.c:1334 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x383/0x6c0 mm/page_alloc.c:3317 free_unref_page_list+0x122/0x7e0 mm/page_alloc.c:3433 release_pages+0x184b/0x1bb0 mm/swap.c:963 __pagevec_release+0x6d/0xe0 mm/swap.c:983 pagevec_release include/linux/pagevec.h:81 [inline] truncate_inode_pages_range+0x2f3/0xef0 mm/truncate.c:329 jfs_mount_rw+0x277/0x5c0 fs/jfs/jfs_mount.c:236 jfs_remount+0x392/0x5a0 fs/jfs/super.c:459 reconfigure_super+0x219/0x880 fs/super.c:938 do_remount fs/namespace.c:2697 [inline] path_mount+0xd3e/0x1020 fs/namespace.c:3356 do_mount fs/namespace.c:3377 [inline] __do_sys_mount fs/namespace.c:3585 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3562 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f01102b0eea 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:00007f010e4f4e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f010e4f4ef0 RCX: 00007f01102b0eea RDX: 0000200000000940 RSI: 0000200000001cc0 RDI: 0000000000000000 RBP: 0000200000000940 R08: 00007f010e4f4ef0 R09: 0000000001a4a438 R10: 0000000001a4a438 R11: 0000000000000246 R12: 0000200000001cc0 R13: 00007f010e4f4eb0 R14: 0000000000000000 R15: 00002000000008c0 BUG: Bad page state in process syz.7.359 pfn:731a2 page:ffffea0001cc6880 refcount:0 mapcount:0 mapping:0000000000000000 index:0x3 pfn:0x731a2 flags: 0xfff00000002006(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002006 ffffea0001d58888 ffffc90002fff880 0000000000000000 raw: 0000000000000003 ffff8880678743e0 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 0x100c40(GFP_NOFS|__GFP_HARDWALL), pid 7114, ts 202501549772, free_ts 202497503614 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x1b77/0x1c60 mm/page_alloc.c:4192 __alloc_pages+0x1e1/0x470 mm/page_alloc.c:5487 __page_cache_alloc+0xd2/0x3f0 mm/filemap.c:1022 do_read_cache_page+0x1da/0x1030 mm/filemap.c:3457 read_mapping_page include/linux/pagemap.h:515 [inline] __get_metapage+0x35d/0x1060 fs/jfs/jfs_metapage.c:621 dbAdjCtl+0x144/0xa20 fs/jfs/jfs_dmap.c:2551 dbAllocDmap fs/jfs/jfs_dmap.c:2112 [inline] dbAllocDmapLev+0x209/0x3c0 fs/jfs/jfs_dmap.c:2056 dbAllocCtl+0x148/0x9b0 fs/jfs/jfs_dmap.c:1893 dbAllocAG+0x1e7/0xfe0 fs/jfs/jfs_dmap.c:1421 dbDiscardAG+0x2ca/0x8e0 fs/jfs/jfs_dmap.c:1676 jfs_ioc_trim+0x41e/0x680 fs/jfs/jfs_discard.c:106 jfs_ioctl+0x2a5/0x3a0 fs/jfs/ioctl.c:132 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page+0x94/0x280 mm/page_alloc.c:3396 __vunmap+0x8ab/0xa40 mm/vmalloc.c:2628 free_work+0x56/0x80 mm/vmalloc.c:95 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Modules linked in: CPU: 1 PID: 7141 Comm: syz.7.359 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 bad_page+0x14b/0x170 mm/page_alloc.c:652 check_free_page mm/page_alloc.c:1209 [inline] free_pages_prepare mm/page_alloc.c:1334 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x383/0x6c0 mm/page_alloc.c:3317 free_unref_page_list+0x122/0x7e0 mm/page_alloc.c:3433 release_pages+0x184b/0x1bb0 mm/swap.c:963 __pagevec_release+0x6d/0xe0 mm/swap.c:983 pagevec_release include/linux/pagevec.h:81 [inline] truncate_inode_pages_range+0x2f3/0xef0 mm/truncate.c:329 jfs_mount_rw+0x277/0x5c0 fs/jfs/jfs_mount.c:236 jfs_remount+0x392/0x5a0 fs/jfs/super.c:459 reconfigure_super+0x219/0x880 fs/super.c:938 do_remount fs/namespace.c:2697 [inline] path_mount+0xd3e/0x1020 fs/namespace.c:3356 do_mount fs/namespace.c:3377 [inline] __do_sys_mount fs/namespace.c:3585 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3562 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f01102b0eea 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:00007f010e4f4e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f010e4f4ef0 RCX: 00007f01102b0eea RDX: 0000200000000940 RSI: 0000200000001cc0 RDI: 0000000000000000 RBP: 0000200000000940 R08: 00007f010e4f4ef0 R09: 0000000001a4a438 R10: 0000000001a4a438 R11: 0000000000000246 R12: 0000200000001cc0 R13: 00007f010e4f4eb0 R14: 0000000000000000 R15: 00002000000008c0 blk_update_request: I/O error, dev loop14, sector 8 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 lbmIODone: I/O error in JFS log *** Log Format Error ! *** lmLogInit: exit(-22) lmLogOpen: exit(-22)