------------[ cut here ]------------ WARNING: CPU: 2 PID: 43 at mm/page_table_check.c:209 page_table_check_pte_flags mm/page_table_check.c:209 [inline] WARNING: CPU: 2 PID: 43 at mm/page_table_check.c:209 __page_table_check_ptes_set+0x28d/0x3e0 mm/page_table_check.c:220 Modules linked in: CPU: 2 UID: 0 PID: 43 Comm: kcompactd0 Not tainted 6.11.0-rc1-syzkaller-00042-g6b5faec9f564 #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:page_table_check_pte_flags mm/page_table_check.c:209 [inline] RIP: 0010:__page_table_check_ptes_set+0x28d/0x3e0 mm/page_table_check.c:220 Code: ff 48 83 fd 1d 74 1d e8 b1 48 97 ff 83 ed 1a bf 01 00 00 00 89 ee e8 a2 43 97 ff 83 fd 01 0f 87 64 fe ff ff e8 94 48 97 ff 90 <0f> 0b 90 e9 56 fe ff ff e8 86 48 97 ff 48 8b 1c 24 31 ff bd 01 00 RSP: 0018:ffffc9000069f1a8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88805063b000 RCX: ffffffff81f3c91e RDX: ffff888019122440 RSI: ffffffff81f3c92c RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: ffff888026b80000 R14: 0000000000000004 R15: 1ffff920000d3e37 FS: 0000000000000000(0000) GS:ffff88802c200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffffffffa CR3: 000000000db7c000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: page_table_check_ptes_set include/linux/page_table_check.h:74 [inline] set_ptes include/linux/pgtable.h:267 [inline] try_to_migrate_one+0x1c4e/0x35d0 mm/rmap.c:2287 rmap_walk_anon+0x2c8/0x700 mm/rmap.c:2625 rmap_walk mm/rmap.c:2703 [inline] rmap_walk mm/rmap.c:2698 [inline] try_to_migrate+0x2ba/0x300 mm/rmap.c:2353 migrate_folio_unmap mm/migrate.c:1248 [inline] migrate_pages_batch+0xa16/0x2fe0 mm/migrate.c:1712 migrate_pages_sync mm/migrate.c:1878 [inline] migrate_pages+0x1b66/0x27a0 mm/migrate.c:1987 compact_zone+0x1f68/0x4280 mm/compaction.c:2671 compact_node+0x1a2/0x2d0 mm/compaction.c:2935 kcompactd+0x76e/0xde0 mm/compaction.c:3233 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