Re: ext4: add additinal sanity check for ext4_acl_from_disk()

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

 



On Sun, Sep 02, 2018 at 11:35:40PM +0800, Chengguang Xu wrote:
> In the case ACL_USER and ACL_GROUP we check if value has exceeded end,
> add same check in the case ACL_OTHER as well.
> 
> Signed-off-by: Chengguang Xu <cgxu519@xxxxxxx>

As Jan pointed out with the ext2 version of this patch, the check is
done earlier in the for loop (in order to make sure it's safe to
dereference entry->e_tag and entry->e_perm).

					- 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