[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101008.104902.115943646.davem@davemloft.net>
Date: Fri, 08 Oct 2010 10:49:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: bhutchings@...arflare.com
Cc: kees.cook@...onical.com, linux-kernel@...r.kernel.org,
jgarzik@...hat.com, jeffrey.t.kirsher@...el.com,
peter.p.waskiewicz.jr@...el.com, netdev@...r.kernel.org
Subject: Re: [PATCH] net: clear heap allocation for ETHTOOL_GRXCLSRLALL
From: Ben Hutchings <bhutchings@...arflare.com>
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@...nel.org
>> Signed-off-by: Kees Cook <kees.cook@...onical.com>
>
> Acked-by: Ben Hutchings <bhutchings@...arflare.com>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists