------------[ cut here ]------------ WARNING: CPU: 0 PID: 12445 at mm/page_table_check.c:207 page_table_check_pte_flags mm/page_table_check.c:207 [inline] WARNING: CPU: 0 PID: 12445 at mm/page_table_check.c:207 __page_table_check_ptes_set+0x16b/0x410 mm/page_table_check.c:220 Modules linked in: CPU: 0 UID: 0 PID: 12445 Comm: syz.1.1752 Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:page_table_check_pte_flags mm/page_table_check.c:207 [inline] RIP: 0010:__page_table_check_ptes_set+0x16b/0x410 mm/page_table_check.c:220 Code: 90 ff 48 89 d8 48 83 e0 9f 74 0e 4d 85 ed 75 09 45 85 e4 0f 85 01 02 00 00 e8 21 8f 90 ff 4c 8b 2c 24 eb 09 e8 16 8f 90 ff 90 <0f> 0b 90 31 ff 44 89 fe e8 48 93 90 ff 45 89 fc 45 85 ff 0f 84 ef RSP: 0018:ffffc9000cf47720 EFLAGS: 00010283 RAX: ffffffff820ee47a RBX: 0000000000000400 RCX: 0000000000080000 RDX: ffffc9000e9de000 RSI: 0000000000003403 RDI: 0000000000003404 RBP: ffffc9000cf477d0 R08: ffffffff820ee3de R09: 1ffffd40001cf4b0 R10: dffffc0000000000 R11: fffff940001cf4b1 R12: 0000000039e96c67 R13: 8000000039e96c67 R14: 1ffff920019e8ee8 R15: 0000000000000001 FS: 00007f8577fbb6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8577fbaf98 CR3: 000000005ef68000 CR4: 00000000003526f0 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:288 [inline] __ptep_modify_prot_commit include/linux/pgtable.h:1291 [inline] ptep_modify_prot_commit include/linux/pgtable.h:1324 [inline] change_pte_range mm/mprotect.c:195 [inline] change_pmd_range mm/mprotect.c:417 [inline] change_pud_range mm/mprotect.c:480 [inline] change_p4d_range mm/mprotect.c:506 [inline] change_protection_range mm/mprotect.c:534 [inline] change_protection+0x2ac2/0x3710 mm/mprotect.c:568 mprotect_fixup+0x7c5/0xaa0 mm/mprotect.c:684 do_mprotect_pkey+0x8d7/0xd70 mm/mprotect.c:840 __do_sys_mprotect mm/mprotect.c:861 [inline] __se_sys_mprotect mm/mprotect.c:858 [inline] __x64_sys_mprotect+0x80/0x90 mm/mprotect.c:858 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8577185d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8577fbb038 EFLAGS: 00000246 ORIG_RAX: 000000000000000a RAX: ffffffffffffffda RBX: 00007f8577376160 RCX: 00007f8577185d29 RDX: 0000000000000002 RSI: 0000000000800000 RDI: 0000000020000000 RBP: 00007f8577201b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f8577376160 R15: 00007fffc1018a98