Skip to content
Commit 6c091273 authored by Leah Rumancik's avatar Leah Rumancik Committed by Theodore Ts'o
Browse files

ext4: wipe ext4_dir_entry2 upon file deletion



Upon file deletion, zero out all fields in ext4_dir_entry2 besides rec_len.
In case sensitive data is stored in filenames, this ensures no potentially
sensitive data is left in the directory entry upon deletion. Also, wipe
these fields upon moving a directory entry during the conversion to an
htree and when splitting htree nodes.

The data wiped may still exist in the journal, but there are future
commits planned to address this.

Signed-off-by: default avatarLeah Rumancik <leah.rumancik@gmail.com>
Link: https://lore.kernel.org/r/20210422180834.2242353-1-leah.rumancik@gmail.com


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 5899593f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment