On Sat, Nov 10, 2018 at 7:25 PM Greg KH gregkh@linuxfoundation.org wrote:
On Thu, Oct 18, 2018 at 12:09:54PM -0700, Chenbo Feng wrote:
From: Theodore Ts'o tytso@mit.edu
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@mit.edu Cc: stable@kernel.org [fengc@google.com: 4.4 and 4.9 backport: adjust context] Signed-off-by: Chenbo Feng fengc@google.com
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@android.com.
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@google.com. Sorry for the trouble caused.
Chenbo Feng