[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sat, 3 Mar 2018 16:16:00 -0500
From: Theodore Ts'o <tytso@....edu>
To: Eric Biggers <ebiggers3@...il.com>
Cc: linux-ext4@...r.kernel.org, Eric Biggers <ebiggers@...gle.com>
Subject: Re: [PATCH 04/10] e2fsck: validate that fscrypt_symlink_data.len is
not too large
On Fri, Mar 02, 2018 at 04:59:17PM -0800, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@...gle.com>
>
> Make e2fsck start validating that the ciphertext length stored in the
> header of an encrypted symlink target, plus the header itself, is no
> larger than a filesystem block. Previously e2fsck only verified that
> this size is not exactly equal to a filesystem block. This was
> sufficient for unencrypted symlinks, where the "actual length" is
> computed using strnlen(), but not for encrypted symlinks; the kernel
> also considers encrypted symlinks with too-large ciphertext length to be
> invalid.
>
> Signed-off-by: Eric Biggers <ebiggers@...gle.com>
Thanks, applied.
- Ted
Powered by blists - more mailing lists