------------[ cut here ]------------ WARNING: CPU: 0 PID: 4217 at mm/mmap.c:1027 vma_merge+0x9c8/0xb4c mm/mmap.c:1027 Modules linked in: CPU: 0 PID: 4217 Comm: syz-executor406 Not tainted 6.1.27-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : vma_merge+0x9c8/0xb4c mm/mmap.c:1027 lr : vma_merge+0x9c8/0xb4c mm/mmap.c:1027 sp : ffff80001d987920 x29: ffff80001d987a10 x28: ffff800015590000 x27: ffff80001d987980 x26: ffff0000c98f4000 x25: 0000000020ffd000 x24: ffff0000c98f4000 x23: 0000000020a97000 x22: dfff800000000000 x21: 0000000021000000 x20: ffff0000c98f4510 x19: 1ffff00002ab20af x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000084f8b64 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000406 x12: ffff70000334acc0 x11: ff808000088714b4 x10: 0000000000000000 x9 : ffff8000088714b4 x8 : ffff0000d58f51c0 x7 : ffff80001208b340 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff80001206d32c x2 : 0000000000000001 x1 : 0000000021000000 x0 : 0000000020a97000 Call trace: vma_merge+0x9c8/0xb4c mm/mmap.c:1027 mbind_range+0x340/0x6d4 mm/mempolicy.c:809 do_mbind mm/mempolicy.c:1322 [inline] kernel_mbind mm/mempolicy.c:1479 [inline] __do_sys_mbind mm/mempolicy.c:1554 [inline] __se_sys_mbind mm/mempolicy.c:1550 [inline] __arm64_sys_mbind+0x824/0xaf4 mm/mempolicy.c:1550 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 irq event stamp: 15830 hardirqs last enabled at (15829): [] local_daif_restore arch/arm64/include/asm/daifflags.h:75 [inline] hardirqs last enabled at (15829): [] el0_svc_common+0x9c/0x258 arch/arm64/kernel/syscall.c:107 hardirqs last disabled at (15830): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (15816): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (15816): [] __do_softirq+0xc14/0xea0 kernel/softirq.c:600 softirqs last disabled at (15809): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]---