diff --git a/mm/mmap.c b/mm/mmap.c index 5c5a917b261e..224a9646a7db 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -647,6 +647,7 @@ static inline int dup_anon_vma(struct vm_area_struct *dst, * anon pages imported. */ if (src->anon_vma && !dst->anon_vma) { + vma_start_write(dst); dst->anon_vma = src->anon_vma; return anon_vma_clone(dst, src); }