------------[ cut here ]------------ WARNING: CPU: 1 PID: 5751 at mm/page_table_check.c:207 page_table_check_pte_flags mm/page_table_check.c:207 [inline] WARNING: CPU: 1 PID: 5751 at mm/page_table_check.c:207 __page_table_check_ptes_set+0x2fa/0x3e0 mm/page_table_check.c:220 Modules linked in: CPU: 1 UID: 0 PID: 5751 Comm: syz.2.73 Not tainted 6.11.0-rc3-syzkaller-00256-g296c871d2904 #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:207 [inline] RIP: 0010:__page_table_check_ptes_set+0x2fa/0x3e0 mm/page_table_check.c:220 Code: e9 91 fe ff ff e8 e6 44 97 ff 48 8b 2c 24 31 ff 83 e5 02 48 89 ee e8 45 47 97 ff 48 85 ed 0f 84 85 00 00 00 e8 c7 44 97 ff 90 <0f> 0b 90 e9 e9 fd ff ff e8 b9 44 97 ff eb 69 cc cc cc e8 af 44 97 RSP: 0018:ffffc9000ec5fa28 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88802aeb4000 RCX: ffffffff81f3d68b RDX: ffff88801f930000 RSI: ffffffff81f3d699 RDI: 0000000000000007 RBP: 0000000000000002 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000001 R13: ffff888027dba600 R14: 0000000000000001 R15: 1ffff92001d8bf47 FS: 0000000000000000(0000) GS:ffff88802c100000(0063) knlGS:0000000058407440 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f72ac190 CR3: 0000000029346000 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.constprop.0+0x193/0x1d0 include/linux/pgtable.h:267 do_swap_page+0x1214/0x3dc0 mm/memory.c:4357 handle_pte_fault mm/memory.c:5525 [inline] __handle_mm_fault+0x146b/0x5360 mm/memory.c:5665 handle_mm_fault+0x44e/0x7b0 mm/memory.c:5833 do_user_addr_fault+0x7a3/0x13f0 arch/x86/mm/fault.c:1389 handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0023:0xf72a1311 Code: 00 00 74 02 a4 49 50 89 c8 c1 e9 02 83 e0 03 f3 a5 89 c1 f3 a4 58 89 c7 89 d6 8b 44 24 04 c3 d1 e9 73 01 a4 d1 e9 73 02 66 a5 a5 eb e8 66 90 66 90 66 90 66 90 66 90 90 8b 44 24 0c 39 44 24 RSP: 002b:00000000ffdb4a5c EFLAGS: 00010202 RAX: 0000000000000000 RBX: 00000000f7440ff4 RCX: 0000000000000002 RDX: 0000000000000008 RSI: 00000000f6d603ae RDI: 00000000200002c0 RBP: 00000000ffdb4cd8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 74 02 je 0x6 4: a4 movsb %ds:(%rsi),%es:(%rdi) 5: 49 50 rex.WB push %r8 7: 89 c8 mov %ecx,%eax 9: c1 e9 02 shr $0x2,%ecx c: 83 e0 03 and $0x3,%eax f: f3 a5 rep movsl %ds:(%rsi),%es:(%rdi) 11: 89 c1 mov %eax,%ecx 13: f3 a4 rep movsb %ds:(%rsi),%es:(%rdi) 15: 58 pop %rax 16: 89 c7 mov %eax,%edi 18: 89 d6 mov %edx,%esi 1a: 8b 44 24 04 mov 0x4(%rsp),%eax 1e: c3 ret 1f: d1 e9 shr %ecx 21: 73 01 jae 0x24 23: a4 movsb %ds:(%rsi),%es:(%rdi) 24: d1 e9 shr %ecx 26: 73 02 jae 0x2a 28: 66 a5 movsw %ds:(%rsi),%es:(%rdi) * 2a: f3 a5 rep movsl %ds:(%rsi),%es:(%rdi) <-- trapping instruction 2c: eb e8 jmp 0x16 2e: 66 90 xchg %ax,%ax 30: 66 90 xchg %ax,%ax 32: 66 90 xchg %ax,%ax 34: 66 90 xchg %ax,%ax 36: 66 90 xchg %ax,%ax 38: 90 nop 39: 8b 44 24 0c mov 0xc(%rsp),%eax 3d: 39 .byte 0x39 3e: 44 rex.R 3f: 24 .byte 0x24