Re: [PATCH] net: clear heap allocation for ETHTOOL_GRXCLSRLALL
From: David Miller
Date: Fri Oct 08 2010 - 13:48:46 EST
From: Ben Hutchings <bhutchings@xxxxxxxxxxxxxx>
Date: Thu, 07 Oct 2010 21:28:58 +0100
> On Thu, 2010-10-07 at 13:03 -0700, Kees Cook wrote:
>> Calling ETHTOOL_GRXCLSRLALL with a large rule_cnt will allocate kernel
>> heap without clearing it. For the one driver (niu) that implements it,
>> it will leave the unused portion of heap unchanged and copy the full
>> contents back to userspace.
>>
>> Cc: stable@xxxxxxxxxx
>> Signed-off-by: Kees Cook <kees.cook@xxxxxxxxxxxxx>
>
> Acked-by: Ben Hutchings <bhutchings@xxxxxxxxxxxxxx>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/