From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steffen Klassert Subject: Re: KASAN: stack-out-of-bounds Read in xfrm_state_find (2) Date: Fri, 3 Nov 2017 13:10:12 +0100 Message-ID: <20171103121012.GA23855@secunet.com> References: <20171101220608.GA9424@breakpoint.cc> <20171102103237.GL11292@secunet.com> <20171102122528.GB9424@breakpoint.cc> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: syzbot , , , , , , To: Florian Westphal Return-path: Content-Disposition: inline In-Reply-To: <20171102122528.GB9424@breakpoint.cc> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Thu, Nov 02, 2017 at 01:25:28PM +0100, Florian Westphal wrote: > Steffen Klassert wrote: > > > I'd propose to use the addresses from the template unconditionally, > > like the (untested) patch below does. > > > > Unfortunalely the reproducer does not work with my config, > > sendto returns EAGAIN. Could anybody try this patch? > > The reproducer no longer causes KASAN spew with your patch, > but i don't have a test case that actually creates/uses a tunnel. The patch passed my standard tests, so I tend apply it after a day in the ipsec/testing branch.