Re: [PATCH 04/10] e2fsck: validate that fscrypt_symlink_data.len is not too large

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 02, 2018 at 04:59:17PM -0800, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx>

Thanks, applied.

					- Ted



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux