Re: [4.4.y v3] ext4: avoid running out of journal credits when appending to an inline file

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

 



On Sat, Nov 10, 2018 at 7:25 PM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Thu, Oct 18, 2018 at 12:09:54PM -0700, Chenbo Feng wrote:
> > From: Theodore Ts'o <tytso@xxxxxxx>
> >
> > commit 8bc1379b82b8e809eef77a9fedbb75c6c297be19 upstream.
> >
> > Use a separate journal transaction if it turns out that we need to
> > convert an inline file to use an data block.  Otherwise we could end
> > up failing due to not having journal credits.
> >
> > This addresses CVE-2018-10883.
> >
> > https://bugzilla.kernel.org/show_bug.cgi?id=200071
> >
> > Change-Id: Ifbe92e379f7a25fb252a2584356ccb91f902ea8f
> > Signed-off-by: Theodore Ts'o <tytso@xxxxxxx>
> > Cc: stable@xxxxxxxxxx
> > [fengc@xxxxxxxxxx: 4.4 and 4.9 backport: adjust context]
> > Signed-off-by: Chenbo Feng <fengc@xxxxxxxxxx>
> > ---
> >  fs/ext4/ext4.h   |  3 ---
> >  fs/ext4/inline.c | 38 +-------------------------------------
> >  fs/ext4/xattr.c  | 18 ++----------------
> >  3 files changed, 3 insertions(+), 56 deletions(-)
>
> This still does not work for 4.4.y, are you sure you are doing this
> against the correct tree?
>
> greg k-h
>
> --
> You received this message because you are subscribed to the Google Groups "kernel-team" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to kernel-team+unsubscribe@xxxxxxxxxxx.
>
Sorry I just resent the 4.4.y stable patch on a separate email today,
please ignore this and try to apply that one. The email ID is
20181110235215.1263-2-fengc@xxxxxxxxxx. Sorry for the trouble caused.

Chenbo Feng



[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