------------[ cut here ]------------ WARNING: CPU: 3 PID: 46 at arch/x86/include/asm/pgtable.h:403 pte_uffd_wp arch/x86/include/asm/pgtable.h:403 [inline] WARNING: CPU: 3 PID: 46 at arch/x86/include/asm/pgtable.h:403 hpage_collapse_scan_pmd+0xd32/0x14c0 mm/khugepaged.c:1316 Modules linked in: CPU: 3 PID: 46 Comm: khugepaged Not tainted 6.9.0-rc7-syzkaller-00012-gdccb07f2914c #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:pte_uffd_wp arch/x86/include/asm/pgtable.h:403 [inline] RIP: 0010:hpage_collapse_scan_pmd+0xd32/0x14c0 mm/khugepaged.c:1316 Code: 90 90 e9 4b f6 ff ff 4c 8b 64 24 48 e8 27 e7 9e ff 31 ff 4c 89 ee e8 2d e2 9e ff 4d 85 ed 0f 84 b5 01 00 00 e8 0f e7 9e ff 90 <0f> 0b 90 41 be 09 00 00 00 0f b6 6c 24 47 48 8b 5c 24 10 e9 fb fa RSP: 0018:ffffc900009e7bb0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88805addf000 RCX: ffffffff81eee5d3 RDX: ffff88801a44c880 RSI: ffffffff81eee5e1 RDI: 0000000000000007 RBP: 0000000104496c67 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000002 R12: 0000000020000000 R13: 0000000000000002 R14: 0000000000000400 R15: ffffffff8d964f20 FS: 0000000000000000(0000) GS:ffff88806b500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff1056d56c6 CR3: 0000000045dee000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: khugepaged_scan_mm_slot mm/khugepaged.c:2424 [inline] khugepaged_do_scan mm/khugepaged.c:2512 [inline] khugepaged+0x11eb/0x17c0 mm/khugepaged.c:2568 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244