summaryrefslogtreecommitdiff
path: root/fs/ext4
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2018-06-17 03:21:45 +0300
committerTheodore Ts'o <tytso@mit.edu>2018-06-17 03:21:45 +0300
commite09463f220ca9a1a1ecfda84fcda658f99a1f12a (patch)
tree09dae2d5509c2e2aa36cd621cc81e94e9abbacd2 /fs/ext4
parent8cdb5240ec5928b20490a2bb34cb87e9a5f40226 (diff)
downloadlinux-e09463f220ca9a1a1ecfda84fcda658f99a1f12a.tar.xz
jbd2: don't mark block as modified if the handle is out of credits
Do not set the b_modified flag in block's journal head should not until after we're sure that jbd2_journal_dirty_metadat() will not abort with an error due to there not being enough space reserved in the jbd2 handle. Otherwise, future attempts to modify the buffer may lead a large number of spurious errors and warnings. 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
Diffstat (limited to 'fs/ext4')
0 files changed, 0 insertions, 0 deletions