From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net v2 0/2] Fix slab out-of-bounds on insufficient headroom for IPv6 packets Date: Fri, 07 Dec 2018 16:37:57 -0800 (PST) Message-ID: <20181207.163757.556252690683245487.davem@davemloft.net> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: jishi@redhat.com, liuhangbin@gmail.com, edumazet@google.com, stephen@networkplumber.org, netdev@vger.kernel.org To: sbrivio@redhat.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:41158 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726065AbeLHAh7 (ORCPT ); Fri, 7 Dec 2018 19:37:59 -0500 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: From: Stefano Brivio Date: Thu, 6 Dec 2018 19:30:35 +0100 > Patch 1/2 fixes a slab out-of-bounds occurring with short SCTP packets over > IPv4 over L2TP over IPv6 on a configuration with relatively low HEADER_MAX. > > Patch 2/2 makes sure we avoid writing before the allocated buffer in > neigh_hh_output() in case the headroom is enough for the unaligned hardware > header size, but not enough for the aligned one, and that we warn if we hit > this condition. Series applied and queued up for -stable, thanks.