commit | 8bc1379b82b8e809eef77a9fedbb75c6c297be19 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sat Jun 16 23:41:59 2018 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat Jun 16 23:41:59 2018 -0400 |
tree | 621b4e6f36dae1bf770c8bb9309028e80ece02c2 | |
parent | e09463f220ca9a1a1ecfda84fcda658f99a1f12a [diff] |
ext4: avoid running out of journal credits when appending to an inline file 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