[patch] xfs: underflow bug in xfs_attrlist_by_handle()
Ben Myers
bpm at sgi.com
Wed Dec 4 15:53:59 CST 2013
On Thu, Oct 31, 2013 at 09:00:10PM +0300, Dan Carpenter wrote:
> If we allocate less than sizeof(struct attrlist) then we end up
> corrupting memory or doing a ZERO_PTR_SIZE dereference.
>
> This can only be triggered with CAP_SYS_ADMIN.
>
> Reported-by: Nico Golde <nico at ngolde.de>
> Reported-by: Fabian Yamaguchi <fabs at goesec.de>
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
Applied. Thanks Dan.
More information about the xfs
mailing list