linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Regression in longterm 4.19: f2fs: use generic EFSBADCRC/EFSCORRUPTED
       [not found] ` <CAFeYvHXQQPfu+r0kLpTXWRZJr8SFF1QyUWzOkjJYFE2_UVSrUA@mail.gmail.com>
@ 2019-10-13 21:44   ` Pavel Machek
  2019-10-14 16:37     ` Jaegeuk Kim
  2019-10-15  6:18     ` Chao Yu
  0 siblings, 2 replies; 3+ messages in thread
From: Pavel Machek @ 2019-10-13 21:44 UTC (permalink / raw)
  To: Andrew Macks, stable, Greg KH, kernel list; +Cc: Chao Yu, Jaegeuk Kim

[-- Attachment #1: Type: text/plain, Size: 1605 bytes --]

On Sat 2019-10-12 21:55:24, Andrew Macks wrote:
> Sorry for version typo in the previous message.
> 
> In addition to 4.19, the issue was also backported to 4.14 and 5.2.
> 
> 4.14, 4.19 and 5.2 are all missing the EINVAL fix from 5.3.

Ouch.

Well, when I seen the patch, I thought "looks like the bug is not
serious enough for -stable". I guess I should have spoken up.

Anyway, I guess we need to either revert  59a5cea41dd0a or backport
38fb6d0ea34299d97b too....

So I guess Greg and lists need to be cc-ed... and 

Thanks for the report and sorry for the trouble....

								Pavel


> Andrew.
> 
> On Sat, 12 Oct 2019 at 21:39, Andrew Macks <andypoo@gmail.com> wrote:
> 
> > Hi - there is a nasty regression which was recently introduced into
> > longterm 4.19.76.
> >
> > 59a5cea41dd0ae706ab83f8ecd64199aadefb493 was committed to 4.19, however it
> > introduces a regression that filesystems no longer mount if do_mounts
> > iterates through them after F2FS.  This surfaced on one of my servers as
> > F2FS superblock check happens before btrfs mount is attempted.
> >
> > With this code, my server panicked after kernel upgrade as btrfs mount
> > wasn't attempted.
> >
> > This issue has already been fixed in 5.3 with this patch in July, but it
> > was missed from the 4.19 backport.
> >
> > 38fb6d0ea34299d97b031ed64fe994158b6f8eb3
> > f2fs: use EINVAL for superblock with invalid magic
> >
> > Andypoo.
> >

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Regression in longterm 4.19: f2fs: use generic EFSBADCRC/EFSCORRUPTED
  2019-10-13 21:44   ` Regression in longterm 4.19: f2fs: use generic EFSBADCRC/EFSCORRUPTED Pavel Machek
@ 2019-10-14 16:37     ` Jaegeuk Kim
  2019-10-15  6:18     ` Chao Yu
  1 sibling, 0 replies; 3+ messages in thread
From: Jaegeuk Kim @ 2019-10-14 16:37 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Andrew Macks, stable, Greg KH, kernel list, Chao Yu

Thank you so much for taking care of this.

Hi Greg,

Could you please cherry-pick the below commit in -stable?

38fb6d0ea34299d97b031ed64fe994158b6f8eb3
   f2fs: use EINVAL for superblock with invalid magic

Thanks,

On 10/13, Pavel Machek wrote:
> On Sat 2019-10-12 21:55:24, Andrew Macks wrote:
> > Sorry for version typo in the previous message.
> > 
> > In addition to 4.19, the issue was also backported to 4.14 and 5.2.
> > 
> > 4.14, 4.19 and 5.2 are all missing the EINVAL fix from 5.3.
> 
> Ouch.
> 
> Well, when I seen the patch, I thought "looks like the bug is not
> serious enough for -stable". I guess I should have spoken up.
> 
> Anyway, I guess we need to either revert  59a5cea41dd0a or backport
> 38fb6d0ea34299d97b too....
> 
> So I guess Greg and lists need to be cc-ed... and 
> 
> Thanks for the report and sorry for the trouble....
> 
> 								Pavel
> 
> 
> > Andrew.
> > 
> > On Sat, 12 Oct 2019 at 21:39, Andrew Macks <andypoo@gmail.com> wrote:
> > 
> > > Hi - there is a nasty regression which was recently introduced into
> > > longterm 4.19.76.
> > >
> > > 59a5cea41dd0ae706ab83f8ecd64199aadefb493 was committed to 4.19, however it
> > > introduces a regression that filesystems no longer mount if do_mounts
> > > iterates through them after F2FS.  This surfaced on one of my servers as
> > > F2FS superblock check happens before btrfs mount is attempted.
> > >
> > > With this code, my server panicked after kernel upgrade as btrfs mount
> > > wasn't attempted.
> > >
> > > This issue has already been fixed in 5.3 with this patch in July, but it
> > > was missed from the 4.19 backport.
> > >
> > > 38fb6d0ea34299d97b031ed64fe994158b6f8eb3
> > > f2fs: use EINVAL for superblock with invalid magic
> > >
> > > Andypoo.
> > >
> 
> -- 
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Regression in longterm 4.19: f2fs: use generic EFSBADCRC/EFSCORRUPTED
  2019-10-13 21:44   ` Regression in longterm 4.19: f2fs: use generic EFSBADCRC/EFSCORRUPTED Pavel Machek
  2019-10-14 16:37     ` Jaegeuk Kim
@ 2019-10-15  6:18     ` Chao Yu
  1 sibling, 0 replies; 3+ messages in thread
From: Chao Yu @ 2019-10-15  6:18 UTC (permalink / raw)
  To: Andrew Macks; +Cc: Pavel Machek, stable, Greg KH, kernel list, Jaegeuk Kim

On 2019/10/14 5:44, Pavel Machek wrote:
> On Sat 2019-10-12 21:55:24, Andrew Macks wrote:
>> Sorry for version typo in the previous message.
>>
>> In addition to 4.19, the issue was also backported to 4.14 and 5.2.
>>
>> 4.14, 4.19 and 5.2 are all missing the EINVAL fix from 5.3.
> 
> Ouch.
> 
> Well, when I seen the patch, I thought "looks like the bug is not
> serious enough for -stable". I guess I should have spoken up.
> 
> Anyway, I guess we need to either revert  59a5cea41dd0a or backport
> 38fb6d0ea34299d97b too....
> 
> So I guess Greg and lists need to be cc-ed... and 
> 
> Thanks for the report and sorry for the trouble....

I'm so sorry to introduce original bug, the fixing patch ("f2fs: use EINVAL for
superblock with invalid magic") should be backported to stable kernel as soon as
possible.

Thanks,

> 
> 								Pavel
> 
> 
>> Andrew.
>>
>> On Sat, 12 Oct 2019 at 21:39, Andrew Macks <andypoo@gmail.com> wrote:
>>
>>> Hi - there is a nasty regression which was recently introduced into
>>> longterm 4.19.76.
>>>
>>> 59a5cea41dd0ae706ab83f8ecd64199aadefb493 was committed to 4.19, however it
>>> introduces a regression that filesystems no longer mount if do_mounts
>>> iterates through them after F2FS.  This surfaced on one of my servers as
>>> F2FS superblock check happens before btrfs mount is attempted.
>>>
>>> With this code, my server panicked after kernel upgrade as btrfs mount
>>> wasn't attempted.
>>>
>>> This issue has already been fixed in 5.3 with this patch in July, but it
>>> was missed from the 4.19 backport.
>>>
>>> 38fb6d0ea34299d97b031ed64fe994158b6f8eb3
>>> f2fs: use EINVAL for superblock with invalid magic
>>>
>>> Andypoo.
>>>
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-15  6:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAFeYvHWC=RZJr2ZSAvRy=r1kAJU8YW-hxkZ3uBAd2OQEerKmag@mail.gmail.com>
     [not found] ` <CAFeYvHXQQPfu+r0kLpTXWRZJr8SFF1QyUWzOkjJYFE2_UVSrUA@mail.gmail.com>
2019-10-13 21:44   ` Regression in longterm 4.19: f2fs: use generic EFSBADCRC/EFSCORRUPTED Pavel Machek
2019-10-14 16:37     ` Jaegeuk Kim
2019-10-15  6:18     ` Chao Yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).