head: 05ffc0000029080d ffff80001f797c80 ffff80001f797c80 ffff0000ec5e4551 head: 0000000400000200 0000000000000000 00000088ffffffff ffff0000c9ef0000 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: 1 PID: 5075 Comm: syz.1.21 Not tainted 5.15.184-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 60400005 (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 : ffff80001f7c72e0 x29: ffff80001f7c72e0 x28: ffff80001f7c7670 x27: 1fffff800078dbd9 x26: 1ffff00003ef8ece x25: 1fffff800078dbd9 x24: dfff800000000000 x23: fffffc0003c68001 x22: 0000000000000001 x21: fffffc0003c68001 x20: fffffc0003c6dec8 x19: fffffc0003c6dec0 x18: 0000000000000002 x17: 0000000000000000 x16: ffff8000083007ec x15: 00000000ffffffff x14: 0000000000ff0100 x13: 0000000000000001 x12: 0000000000ff0100 x11: 0000000000000001 x10: 0000000000000000 x9 : 732c736a15371400 x8 : 732c736a15371400 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001f7c68f8 x4 : ffff80001422f280 x3 : ffff8000083008fc 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: d00460a1 912b0021 aa1303e0 97ff5595 (d4210000) ---[ end trace 1c359a1df6d517ec ]---