summaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2018-06-16 23:41:59 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-20 09:51:32 +0200
commit7dd55897f23c4e3e3a864c5c72722f7e412138e9 (patch)
treedab3305b6ac583712d0a9e6845955c3591764b27 /drivers/hv
parentaee0c9e837c2d33cb072cbea01511fb77edc7ff8 (diff)
downloadlinux-stable-7dd55897f23c4e3e3a864c5c72722f7e412138e9.tar.gz
linux-stable-7dd55897f23c4e3e3a864c5c72722f7e412138e9.tar.bz2
linux-stable-7dd55897f23c4e3e3a864c5c72722f7e412138e9.zip
ext4: avoid running out of journal credits when appending to an inline file
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 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv')
0 files changed, 0 insertions, 0 deletions