Re: [PATCH v2 1/3] userfaultfd: verify VMA state across UFFDIO_COPY retry

From: Mike Rapoport

Date: Mon Jun 08 2026 - 15:02:05 EST


On Mon, Jun 08, 2026 at 09:39:18AM -0700, Andrew Morton wrote:
> On Mon, 8 Jun 2026 14:03:11 +0100 Lorenzo Stoakes <ljs@xxxxxxxxxx> wrote:
>
> > > > > Fixes: 292411fda25b ("mm/userfaultfd: detect VMA type change after copy retry in mfill_copy_folio_retry()")
> > > > > Fixes: 6ab703034f14 ("userfaultfd: mfill_atomic(): remove retry logic")
> > > >
> > > > Did we want a Cc: Stable?
> > >
> > > Andrew adds it when applying.
> >
> > Hmm, I didn't think this always happened by default? :)
>
> Nope, adding cc:stable is manual, case-by-case and the -stable
> maintainers have been asked not to automatically backport MM patches
> which contain Fixes:.
>
> So this one snuck into mainline without the cc:stable tag.
>
> Thanks for noticing. Greg, Sasha: can we please add mainline's
> 85668fda932a ("userfaultfd: verify VMA state across UFFDIO_COPY retry")
> to the backporting pile?

There is no need to backport, both commits that 85668fda932a fixes are in
7.1.

--
Sincerely yours,
Mike.