------------[ cut here ]------------ WARNING: mm/page_table_check.c:191 at page_table_check_pte_flags mm/page_table_check.c:191 [inline], CPU#0: syz.7.850/8525 WARNING: mm/page_table_check.c:191 at __page_table_check_ptes_set+0x24c/0x254 mm/page_table_check.c:207, CPU#0: syz.7.850/8525 Modules linked in: CPU: 0 UID: 0 PID: 8525 Comm: syz.7.850 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 pstate: 83400005 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : page_table_check_pte_flags mm/page_table_check.c:191 [inline] pc : __page_table_check_ptes_set+0x24c/0x254 mm/page_table_check.c:207 lr : page_table_check_pte_flags mm/page_table_check.c:191 [inline] lr : __page_table_check_ptes_set+0x24c/0x254 mm/page_table_check.c:207 sp : ffff8000924a7420 x29: ffff8000924a7430 x28: 1ffff00012494efb x27: fffffdffc38e4b80 x26: ffff8000924a77d8 x25: 04a800012392ef43 x24: 0408000000000000 x23: 0408000000000000 x22: ffff0000d5bf8000 x21: ffff0000d1d67ff0 x20: 0000000000000001 x19: 04a800012392ef43 x18: 0000000000000000 x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000000 x11: 0000000000000000 x10: 0000000000080000 x9 : 0000000000002032 x8 : ffff80009eb67000 x7 : ffff800080af57c0 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800080c10240 x2 : 0408000000000000 x1 : ffff0000f76eba00 x0 : 0000000000000001 Call trace: page_table_check_pte_flags mm/page_table_check.c:191 [inline] (P) __page_table_check_ptes_set+0x24c/0x254 mm/page_table_check.c:207 (P) page_table_check_ptes_set include/linux/page_table_check.h:83 [inline] __set_ptes_anysz+0x4dc/0x51c arch/arm64/include/asm/pgtable.h:681 __set_ptes arch/arm64/include/asm/pgtable.h:714 [inline] set_ptes arch/arm64/include/asm/pgtable.h:1782 [inline] do_swap_page+0x2464/0x4348 mm/memory.c:5128 handle_pte_fault mm/memory.c:6414 [inline] __handle_mm_fault mm/memory.c:6549 [inline] handle_mm_fault+0xd80/0x245c mm/memory.c:6718 faultin_page mm/gup.c:1126 [inline] __get_user_pages+0x678/0x20f0 mm/gup.c:1428 populate_vma_page_range+0x260/0x358 mm/gup.c:1860 __mm_populate+0x200/0x324 mm/gup.c:1963 do_mlock+0x52c/0x630 mm/mlock.c:659 __do_sys_mlock mm/mlock.c:667 [inline] __se_sys_mlock mm/mlock.c:665 [inline] __arm64_sys_mlock+0x60/0x78 mm/mlock.c:665 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:140 el0_svc+0x64/0x260 arch/arm64/kernel/entry-common.c:740 el0t_64_sync_handler+0x48/0x148 arch/arm64/kernel/entry-common.c:759 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:594 irq event stamp: 2002 hardirqs last enabled at (2001): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (2001): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:198 hardirqs last disabled at (2002): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:429 softirqs last enabled at (1976): [] local_bh_enable include/linux/bottom_half.h:33 [inline] softirqs last enabled at (1976): [] put_cpu_fpsimd_context arch/arm64/kernel/fpsimd.c:251 [inline] softirqs last enabled at (1976): [] fpsimd_restore_current_state+0x218/0x710 arch/arm64/kernel/fpsimd.c:1805 softirqs last disabled at (1974): [] local_bh_disable include/linux/bottom_half.h:20 [inline] softirqs last disabled at (1974): [] get_cpu_fpsimd_context arch/arm64/kernel/fpsimd.c:234 [inline] softirqs last disabled at (1974): [] fpsimd_restore_current_state+0x3c/0x710 arch/arm64/kernel/fpsimd.c:1798 ---[ end trace 0000000000000000 ]---