aboutsummaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2015-07-17 11:33:16 -0400
committerMister Oyster <oysterized@gmail.com>2017-05-29 03:52:05 +0200
commitae1a78fd7d71d595f7db9123927cccabd8b47bb9 (patch)
tree8f94b8f8e88a8429d23e0d7608e1bbc8f0c65481 /include/linux/workqueue.h
parentea26e1d8206105930ed116fbc7f06dcf76d15c8d (diff)
ext4 crypto: check for too-short encrypted file names
An encrypted file name should never be shorter than an 16 bytes, the AES block size. The 3.10 crypto layer will oops and crash the kernel if ciphertext shorter than the block size is passed to it. Fortunately, in modern kernels the crypto layer will not crash the kernel in this scenario, but nevertheless, it represents a corrupted directory, and we should detect it and mark the file system as corrupted so that e2fsck can fix this. Change-Id: Ic42808e5161b22ff607689d3570be4d04e6158ed Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Theodore Ts'o <tytso@google.com>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions