diff options
author | Eric Biggers <ebiggers@google.com> | 2022-11-06 14:48:37 -0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-12-08 21:49:24 -0500 |
commit | 594bc43b410316d70bb42aeff168837888d96810 (patch) | |
tree | 9caa9c31c761376a214d967845948c65525826a8 /fs/ext4/fast_commit.h | |
parent | 4c0d5778385cb3618ff26a561ce41de2b7d9de70 (diff) | |
download | linux-594bc43b410316d70bb42aeff168837888d96810.tar.gz linux-594bc43b410316d70bb42aeff168837888d96810.tar.bz2 linux-594bc43b410316d70bb42aeff168837888d96810.zip |
ext4: fix leaking uninitialized memory in fast-commit journal
When space at the end of fast-commit journal blocks is unused, make sure
to zero it out so that uninitialized memory is not leaked to disk.
Fixes: aa75f4d3daae ("ext4: main fast-commit commit path")
Cc: <stable@vger.kernel.org> # v5.10+
Signed-off-by: Eric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20221106224841.279231-4-ebiggers@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/fast_commit.h')
0 files changed, 0 insertions, 0 deletions