page: refcount:2 mapcount:0 mapping:0000000000000000 index:0x13 pfn:0x11788 flags: 0xfff00000020001(locked|reclaim|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000020001 ffffc900004ff2d0 ffffc900004ff2d0 ffffffff8c183462 raw: 0000000000000013 0000000000000000 00000002ffffffff 0000000000000000 page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12800(GFP_NOWAIT|__GFP_NORETRY), pid 78, tgid 78 (kswapd0), ts 75770373902, free_ts 75681974136 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1493 prep_new_page mm/page_alloc.c:1501 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3439 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4695 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2263 z3fold_alloc mm/z3fold.c:1036 [inline] z3fold_zpool_malloc+0x3d1/0xe70 mm/z3fold.c:1388 zswap_compress+0x4ec/0x7c0 mm/zswap.c:936 zswap_store+0xcd3/0x1620 mm/zswap.c:1459 swap_writepage+0x79/0x1a0 mm/page_io.c:198 pageout mm/vmscan.c:680 [inline] shrink_folio_list+0x35fe/0x8c90 mm/vmscan.c:1360 evict_folios+0x54c7/0x7b60 mm/vmscan.c:4580 try_to_shrink_lruvec+0x9ab/0xbb0 mm/vmscan.c:4775 shrink_one+0x3b9/0x850 mm/vmscan.c:4813 shrink_many mm/vmscan.c:4876 [inline] lru_gen_shrink_node mm/vmscan.c:4954 [inline] shrink_node+0x3799/0x3de0 mm/vmscan.c:5934 kswapd_shrink_node mm/vmscan.c:6762 [inline] balance_pgdat mm/vmscan.c:6954 [inline] kswapd+0x1cbc/0x3720 mm/vmscan.c:7223 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 page last free pid 78 tgid 78 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1094 [inline] free_unref_folios+0x103a/0x1b00 mm/page_alloc.c:2660 shrink_folio_list+0x2df3/0x8c90 mm/vmscan.c:1463 evict_folios+0x54c7/0x7b60 mm/vmscan.c:4580 try_to_shrink_lruvec+0x9ab/0xbb0 mm/vmscan.c:4775 shrink_one+0x3b9/0x850 mm/vmscan.c:4813 shrink_many mm/vmscan.c:4876 [inline] lru_gen_shrink_node mm/vmscan.c:4954 [inline] shrink_node+0x3799/0x3de0 mm/vmscan.c:5934 kswapd_shrink_node mm/vmscan.c:6762 [inline] balance_pgdat mm/vmscan.c:6954 [inline] kswapd+0x1cbc/0x3720 mm/vmscan.c:7223 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 ------------[ cut here ]------------ kernel BUG at mm/z3fold.c:1293! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 29 Comm: kcompactd0 Not tainted 6.11.0-rc5-syzkaller-00207-gfb24560f31f9 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:z3fold_page_migrate+0xafd/0xf50 mm/z3fold.c:1293 Code: ff 4c 89 f7 48 c7 c6 00 36 18 8c e8 4d 19 d7 ff 90 0f 0b e8 95 b7 8c ff 48 8b 7c 24 08 48 c7 c6 60 36 18 8c e8 34 19 d7 ff 90 <0f> 0b f3 0f 1e fa 48 89 ee 48 81 e6 ff 0f 00 00 31 ff e8 4c bc 8c RSP: 0018:ffffc900004fed98 EFLAGS: 00010246 RAX: 34f100f22beb7d00 RBX: 0000000000000000 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8c0ad560 RDI: 0000000000000001 RBP: ffffea00008c8540 R08: ffffffff90186def R09: 1ffffffff2030dbd R10: dffffc0000000000 R11: fffffbfff2030dbe R12: dffffc0000000000 R13: ffffffff8c183468 R14: ffffea000045e200 R15: 1ffffd400008bc40 FS: 0000000000000000(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0a4dd7f760 CR3: 000000003f884000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: move_to_new_folio+0x99e/0x12e0 mm/migrate.c:999 migrate_folio_move mm/migrate.c:1288 [inline] migrate_pages_batch+0x2527/0x3560 mm/migrate.c:1818 migrate_pages_sync mm/migrate.c:1911 [inline] migrate_pages+0x262b/0x3460 mm/migrate.c:1993 compact_zone+0x3404/0x4af0 mm/compaction.c:2671 compact_node+0x2de/0x460 mm/compaction.c:2935 kcompactd+0x788/0x1530 mm/compaction.c:3233 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: