------------[ cut here ]------------ WARNING: CPU: 0 PID: 9707 at mm/page_table_check.c:207 page_table_check_pte_flags mm/page_table_check.c:207 [inline] WARNING: CPU: 0 PID: 9707 at mm/page_table_check.c:207 __page_table_check_ptes_set+0x2fa/0x3e0 mm/page_table_check.c:220 Modules linked in: CPU: 0 UID: 0 PID: 9707 Comm: syz.3.956 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:207 [inline] RIP: 0010:__page_table_check_ptes_set+0x2fa/0x3e0 mm/page_table_check.c:220 Code: e9 91 fe ff ff e8 46 48 97 ff 48 8b 2c 24 31 ff 83 e5 02 48 89 ee e8 65 43 97 ff 48 85 ed 0f 84 85 00 00 00 e8 27 48 97 ff 90 <0f> 0b 90 e9 e9 fd ff ff e8 19 48 97 ff eb 69 cc cc cc e8 0f 48 97 RSP: 0018:ffffc9000eb97a28 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888000833000 RCX: ffffffff81f3c98b RDX: ffff88801a2ca440 RSI: ffffffff81f3c999 RDI: 0000000000000007 RBP: 0000000000000002 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000001 R13: ffff88801d169c80 R14: 0000000000000001 R15: 1ffff92001d72f47 FS: 0000000000000000(0000) GS:ffff88802c000000(0063) knlGS:0000000057748440 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000200004c0 CR3: 000000005d176000 CR4: 0000000000350ef0 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:0xf70e079f Code: d8 09 c8 74 1d 89 c8 83 f0 01 09 d8 0f 85 c3 01 00 00 8b 44 24 28 31 f6 89 74 24 2c 0f c8 89 44 24 28 8b 44 24 50 8b 4c 24 28 <89> 08 e9 04 fb ff ff 0f b6 4c 24 18 8b 5c 24 30 89 cf c1 ef 05 83 RSP: 002b:00000000fff4bf40 EFLAGS: 00010246 RAX: 00000000200004c0 RBX: 0000000000000000 RCX: 0000000000000004 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000fff4c268 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: d8 09 fmuls (%rcx) 2: c8 74 1d 89 enter $0x1d74,$0x89 6: c8 83 f0 01 enter $0xf083,$0x1 a: 09 d8 or %ebx,%eax c: 0f 85 c3 01 00 00 jne 0x1d5 12: 8b 44 24 28 mov 0x28(%rsp),%eax 16: 31 f6 xor %esi,%esi 18: 89 74 24 2c mov %esi,0x2c(%rsp) 1c: 0f c8 bswap %eax 1e: 89 44 24 28 mov %eax,0x28(%rsp) 22: 8b 44 24 50 mov 0x50(%rsp),%eax 26: 8b 4c 24 28 mov 0x28(%rsp),%ecx * 2a: 89 08 mov %ecx,(%rax) <-- trapping instruction 2c: e9 04 fb ff ff jmp 0xfffffb35 31: 0f b6 4c 24 18 movzbl 0x18(%rsp),%ecx 36: 8b 5c 24 30 mov 0x30(%rsp),%ebx 3a: 89 cf mov %ecx,%edi 3c: c1 ef 05 shr $0x5,%edi 3f: 83 .byte 0x83