swap_cluster_readahead+0x4a9/0x6e0 mm/swap_state.c:703 swapin_readahead+0x12e/0xd20 mm/swap_state.c:882 do_swap_page+0x61a/0x59f0 mm/memory.c:4319 handle_pte_fault mm/memory.c:5758 [inline] __handle_mm_fault+0x1023/0x2a10 mm/memory.c:5898 ------------[ cut here ]------------ kernel BUG at mm/z3fold.c:1293! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 2 UID: 0 PID: 43 Comm: kcompactd0 Not tainted 6.12.0-rc5-syzkaller-00005-ge42b1a9a2557 #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+0xc37/0x12d0 mm/z3fold.c:1293 Code: 78 93 ff 48 c7 c6 20 62 7d 8b 48 89 ef e8 91 42 d9 ff 90 0f 0b e8 e9 77 93 ff 48 c7 c6 80 62 7d 8b 48 89 ef e8 7a 42 d9 ff 90 <0f> 0b e8 d2 77 93 ff 48 8d bb a0 00 00 00 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc900009b7458 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88801bbe4880 RSI: ffffffff81fa0466 RDI: ffff88801bbe4cc4 RBP: ffffea0000f1e900 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff905f508f R11: 0000000000000000 R12: ffffea0001992840 R13: ffffea0000f1e928 R14: 0000000000000001 R15: ffffea0000f1e918 FS: 0000000000000000(0000) GS:ffff88806a800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fb1fffc CR3: 000000000df7c000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: move_to_new_folio+0x449/0x700 mm/migrate.c:1077 migrate_folio_move mm/migrate.c:1366 [inline] migrate_pages_batch+0x206a/0x31b0 mm/migrate.c:1897 migrate_pages_sync+0x4f1/0x910 mm/migrate.c:1990 migrate_pages+0x19ee/0x21f0 mm/migrate.c:2072 compact_zone+0x1f68/0x4280 mm/compaction.c:2641 kcompactd_do_work+0x2da/0xa20 mm/compaction.c:3087 kcompactd+0x8d7/0xde0 mm/compaction.c:3186 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:z3fold_page_migrate+0xc37/0x12d0 mm/z3fold.c:1293 Code: 78 93 ff 48 c7 c6 20 62 7d 8b 48 89 ef e8 91 42 d9 ff 90 0f 0b e8 e9 77 93 ff 48 c7 c6 80 62 7d 8b 48 89 ef e8 7a 42 d9 ff 90 <0f> 0b e8 d2 77 93 ff 48 8d bb a0 00 00 00 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc900009b7458 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88801bbe4880 RSI: ffffffff81fa0466 RDI: ffff88801bbe4cc4 RBP: ffffea0000f1e900 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff905f508f R11: 0000000000000000 R12: ffffea0001992840 R13: ffffea0000f1e928 R14: 0000000000000001 R15: ffffea0000f1e918 FS: 0000000000000000(0000) GS:ffff88806a800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fb1fffc CR3: 000000000df7c000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400