acrn-kernel/include/trace
Eric Biggers 08d5c8445d ext4: disable fast-commit of encrypted dir operations
commit 0fbcb5251f upstream.

fast-commit of create, link, and unlink operations in encrypted
directories is completely broken because the unencrypted filenames are
being written to the fast-commit journal instead of the encrypted
filenames.  These operations can't be replayed, as encryption keys
aren't present at journal replay time.  It is also an information leak.

Until if/when we can get this working properly, make encrypted directory
operations ineligible for fast-commit.

Note that fast-commit operations on encrypted regular files continue to
be allowed, as they seem to work.

Fixes: aa75f4d3da ("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-2-ebiggers@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-07 11:12:00 +01:00
..
events ext4: disable fast-commit of encrypted dir operations 2023-01-07 11:12:00 +01:00
stages tracing: Use alignof__(struct {type b;}) instead of offsetof() 2022-08-02 16:01:12 -04:00
bpf_probe.h
define_custom_trace.h
define_trace.h
perf.h
syscall.h
trace_custom_events.h
trace_events.h