Re: Patch "ovl: fix missing upper fs freeze protection on copy up for ioctl" has been added to the 4.19-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 13, 2019 at 10:48 AM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Mon, Jun 10, 2019 at 11:28:46PM +0300, Amir Goldstein wrote:
> > > > This patch is fine for stable, but I have a process question.
> > > > All these patches from overlayfs 5.2-rc1 are also v4.9 stable candidates:
> > > >
> > > > 1. acf3062a7e1c - ovl: relax WARN_ON() for overlapping layers use case
> > > > 2. 98487de318a6 - ovl: check the capability before cred overridden
> > > > 3. d989903058a8 - ovl: do not generate duplicate fsnotify events for "fake" path
> > > > 4. 9e46b840c705 - ovl: support stacked SEEK_HOLE/SEEK_DATA
> > > >
> > > > #2 wasn't properly marked for stable, but the other are marked with
> > > > Fixes: and Reported-by:
> > > >
> > > > Are those marks not sufficient to get selected for stable trees these days?
> > >
> > > Not by default, no.  Sometimes they might get picked up if we get bored,
> > > or the auto-bot notices them.
> > >
> > > > I must admit that #1 in borderline stable. Not sure if eliminating an unjust
> > > > WARN_ON qualified, but syzbot did report a bug..
> > >
> > > syzbot things are good to fix in stable kernels, so that syzbot can
> > > continue to find real things in stable kernels.  So yes, that is fine to
> > > backport.
> > >
> > > > Just asking in order to improve the process, but in any case,
> > > > please pick those patches for v4.9+ (unless anyone objects?)
> > > > They all already have LTP/xfstests/syzkaller tests that cover them.
> > >
> > > I'll queue them up for the next round after this, thanks.
> > >
> >
> > Hi Greg,
> >
> > I forgot to follow up on those patches.
> > Now I look at linux-4.19.y, I only see patch #1 (ovl: relax WARN_ON()..)
> > and not the 3 other patches I listed as stable candidates.
> > Was there any issue with those patches?
>
> Sorry, didn't get to them.
>
> I did now, and they all do not apply to all kernel versions.  Most of
> them do not go back to 4.14 or 4.9 as the code just isn't there.
>
> So, after this next round of kernel releases, can you send backported
> versions of any missing patches so that we are sure to apply them
> correctly?
>

Is happens to be that all those patches you picked since 4.19
most of the, whether tagged properly or not are:
Fixes: d1d04ef8572b ("ovl: stack file ops")
Cc: <stable@xxxxxxxxxxxxxxx> # v4.19

There was a very big change in v4.19 ("ovl: stack file ops")
removing lots of "VFS hacks" and resulting in more than
one behavior change. Things that used to work pre-4.19
with the "VFS hacks" that do not work with "ovl: stack file ops".

There have been very few overlayfs patches since v4.20,
only a trickle of v4.19 stable fixes.

Also, the code has changes quite considerably since 4.14, so
overlayfs patches that could be easily backported, even if
applicable to 4.14 are rare these days.

Thanks!
Amir.



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux