On Thu, Aug 20, 2020 at 06:00:14PM +0200, Oleg Nesterov wrote: > On 08/19, Sumit Semwal wrote: > > > > --- a/include/linux/mm.h > > +++ b/include/linux/mm.h > > @@ -2484,7 +2484,7 @@ static inline int vma_adjust(struct vm_area_struct *vma, unsigned long start, > > extern struct vm_area_struct *vma_merge(struct mm_struct *, > > struct vm_area_struct *prev, unsigned long addr, unsigned long end, > > unsigned long vm_flags, struct anon_vma *, struct file *, pgoff_t, > > - struct mempolicy *, struct vm_userfaultfd_ctx); > > + struct mempolicy *, struct vm_userfaultfd_ctx, const char __user *); > > It seems that you forgot to update the callers in fs/userfaultfd.c ? (I recommend including "make allmodconfig && make" in your test workflow.) -- Kees Cook