BUG: Bad page state in process ksoftirqd/1  pfn:0998c
page:ffffea0000266300 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x998c
flags: 0x100000000001000(reserved|node=0|zone=1)
raw: 0100000000001000 ffffea0000266308 ffffea0000266308 0000000000000000
raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set
page_owner info is not present (never set?)
Modules linked in:
CPU: 1 PID: 17 Comm: ksoftirqd/1 Not tainted 5.16.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
 bad_page.cold+0x9c/0xbd mm/page_alloc.c:652
 check_free_page_bad mm/page_alloc.c:1197 [inline]
 check_free_page mm/page_alloc.c:1207 [inline]
 free_pages_prepare mm/page_alloc.c:1332 [inline]
 free_pcp_prepare+0x38e/0x760 mm/page_alloc.c:1389
 free_unref_page_prepare mm/page_alloc.c:3309 [inline]
 free_unref_page+0x19/0x580 mm/page_alloc.c:3388
 __put_single_page mm/swap.c:99 [inline]
 __put_page+0x103/0x140 mm/swap.c:130
 folio_put include/linux/mm.h:1237 [inline]
 put_page include/linux/mm.h:1255 [inline]
 __bio_release_pages+0x215/0x3a0 block/bio.c:1044
 bio_release_pages include/linux/bio.h:435 [inline]
 iomap_dio_bio_end_io+0x396/0x5f0 fs/iomap/direct-io.c:173
 bio_endio+0x539/0x6a0 block/bio.c:1489
 req_bio_endio block/blk-mq.c:674 [inline]
 blk_update_request+0x420/0x12e0 block/blk-mq.c:742
 scsi_end_request+0x7a/0x980 drivers/scsi/scsi_lib.c:543
 scsi_io_completion+0x177/0x16a0 drivers/scsi/scsi_lib.c:939
 scsi_complete+0x11f/0x570 drivers/scsi/scsi_lib.c:1441
 blk_complete_reqs+0xad/0xe0 block/blk-mq.c:892
 __do_softirq+0x288/0x9a5 kernel/softirq.c:558
 run_ksoftirqd kernel/softirq.c:921 [inline]
 run_ksoftirqd+0x2d/0x60 kernel/softirq.c:913
 smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164
 kthread+0x40b/0x500 kernel/kthread.c:327
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>