From: Ian Campbell Subject: Re: [PATCH V4 7/7] xen-netback: don't disconnect frontend when seeing oversize packet Date: Mon, 15 Apr 2013 10:03:25 +0100 Message-ID: <1366016605.4963.6.camel@zakaz.uk.xensource.com> References: <1365776646-10796-1-git-send-email-wei.liu2@citrix.com> <1365776646-10796-8-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Wei Liu , "netdev@vger.kernel.org" , xen-devel , "annie.li@oracle.com" , Konrad Rzeszutek Wilk , "jbeulich@suse.com" , David Vrabel To: William Dauchy Return-path: Received: from smtp.eu.citrix.com ([46.33.159.39]:22625 "EHLO SMTP.EU.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933449Ab3DOJD2 (ORCPT ); Mon, 15 Apr 2013 05:03:28 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Fri, 2013-04-12 at 18:17 +0100, William Dauchy wrote: > On Fri, Apr 12, 2013 at 4:24 PM, Wei Liu wrote: > > Some frontend drivers are sending packets > 64 KiB in length. This length > > overflows the length field in the first slot making the following slots have > > an invalid length. > > > > Turn this error back into a non-fatal error by dropping the packet. To avoid > > having the following slots having fatal errors, consume all slots in the > > packet. > > > > This does not reopen the security hole in XSA-39 as if the packet as an > > invalid number of slots it will still hit fatal error case. > > > > Signed-off-by: David Vrabel > > Signed-off-by: Wei Liu > > Maybe this should be tagged for stable? Maybe part of patch 6/7 as > well. I had to remove the part which was disabling the device because > of issues encountered in stable tree. AFAICT the majority of this series (as well as perhaps some of Wei's earlier fixes) should be candidates for any stable tree which received the XSA-39 security fixes. Wei -- could you enumerate which patches are required to fixup the XSA-39 regressions? Ian.