head: 05ffc0000039081c fffffc0003d77c08 ffff0000d2567040 ffff0000c15bc441 head: 0000000400000200 0000000000000000 000000e1ffffffff ffff0000d6e64000 page dumped because: VM_BUG_ON_PAGE(1 && PageTail(page)) ------------[ cut here ]------------ kernel BUG at include/linux/page-flags.h:431! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 5521 Comm: syz.2.46 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 62400005 (nZCv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : TestClearPageMlocked include/linux/page-flags.h:431 [inline] pc : clear_page_mlock+0x4dc/0x5bc mm/mlock.c:64 lr : TestClearPageMlocked include/linux/page-flags.h:431 [inline] lr : clear_page_mlock+0x4dc/0x5bc mm/mlock.c:64 sp : ffff8000204e72e0 x29: ffff8000204e72e0 x28: ffff8000204e7670 x27: 1fffff80007b2909 x26: 1ffff0000409cece x25: 1fffff80007b2909 x24: dfff800000000000 x23: fffffc0003d90001 x22: 0000000000000001 x21: fffffc0003d90001 x20: fffffc0003d94848 x19: fffffc0003d94840 x18: 0000000000000002 x17: 0000000000000000 x16: ffff8000083020fc x15: 00000000ffffffff x14: 0000000000ff0100 x13: 0000000000000001 x12: 0000000000ff0100 x11: 0000000000000001 x10: 0000000000000000 x9 : 13c92541eb12fb00 x8 : 13c92541eb12fb00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000204e68f8 x4 : ffff80001424f400 x3 : ffff80000830220c x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000038 Call trace: TestClearPageMlocked include/linux/page-flags.h:431 [inline] clear_page_mlock+0x4dc/0x5bc mm/mlock.c:64 page_remove_rmap+0xbe4/0xfd0 mm/rmap.c:1375 wp_page_copy+0x8c4/0x11ec mm/memory.c:3148 do_wp_page+0x6c0/0x994 mm/memory.c:-1 handle_pte_fault mm/memory.c:4668 [inline] __handle_mm_fault mm/memory.c:4785 [inline] handle_mm_fault+0x1770/0x2950 mm/memory.c:4883 faultin_page mm/gup.c:976 [inline] __get_user_pages+0x61c/0x9a4 mm/gup.c:1197 __get_user_pages_locked mm/gup.c:1382 [inline] __get_user_pages_remote+0x18c/0x688 mm/gup.c:2007 pin_user_pages_remote+0x70/0x9c mm/gup.c:3104 process_vm_rw_single_vec mm/process_vm_access.c:105 [inline] process_vm_rw_core mm/process_vm_access.c:215 [inline] process_vm_rw+0x4e4/0x9c4 mm/process_vm_access.c:283 __do_sys_process_vm_writev mm/process_vm_access.c:303 [inline] __se_sys_process_vm_writev mm/process_vm_access.c:298 [inline] __arm64_sys_process_vm_writev+0xdc/0xf8 mm/process_vm_access.c:298 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: 90046221 911b0021 aa1303e0 97ff5586 (d4210000) ---[ end trace 4bb65db913b8acbb ]---