Received: by 10.223.164.221 with SMTP id h29csp32217wrb; Fri, 3 Nov 2017 05:11:09 -0700 (PDT) X-Google-Smtp-Source: ABhQp+T2x2OvHCYnp2KtyhWojPHoumXG1+4SQHMX1t58YiGPzfrblTRhwHubhdi1H2YJnlz7iW9F X-Received: by 10.84.162.204 with SMTP id o12mr6482987plg.230.1509711069457; Fri, 03 Nov 2017 05:11:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509711069; cv=none; d=google.com; s=arc-20160816; b=Tkz76v5XX0//S+gwnPJ7pxCLV+UWOn0H0s3i2a2ChIVEs+haAY7vUO14uPfqkGv0r/ oqE7cRhKGdonkXk8DsxU/a7l9ioyQ4aiGrWT2rRw3E4Nxef8zt6RB7cRgI6Umu8hGqSa i1rtvHX9yQhc3/qC+nnOfcfsph6BOuGfPmNl27AglK3EDBuaUL5TXQ81O3a9s0OpFrme d4blmILFjHgAPwWqwX6DEkX7S64VFJYvg5lDUYfxjnvEfUCojqogSeXbeg91Rb8vBpm2 xOyaSlMfJW9kGG4Gibbk1at4iEv1a+NGj/kuVkuU4wboEcUdzB7W4KQK7lIU7ou2gi1h L89A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=WinR3SGLcPZ6n0F9c7d0cumEKyiWL3WjozJB7IT3dx8=; b=RdEWl6UCnzXKivWwYgn1yX2zsbUqxTq/KCwKd8GjOS9CB4tg35xAmPz3bCsmSsVfqt v/NwWf0/YrioOhnPZB5CgGQk9go6hubdsa6EquNCLLHF4dRhXRAlUx5kvviI65awhzS6 pNC6VncJ98EKuGJfbABLNGN/+MhjPGnFxS3fdON3PHJw/boBb2Ko92uFfzUwiKAVXHDy 2TAMxmHdKXhqi/1q1XTP2iRgLUL7D2ZdpFNxFMQ7jVa4VKJHsym10ty3xYugAJoTdvMZ foZDdeXcVh9pm+mUCXsabEd+Uy7dHSVkXpjwASVD5EG1ApaCgT5j6QwC75J1yXlxnYLY Ycyw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i1si4734552pll.306.2017.11.03.05.10.56; Fri, 03 Nov 2017 05:11:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756165AbdKCMKQ (ORCPT + 97 others); Fri, 3 Nov 2017 08:10:16 -0400 Received: from a.mx.secunet.com ([62.96.220.36]:42306 "EHLO a.mx.secunet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750857AbdKCMKP (ORCPT ); Fri, 3 Nov 2017 08:10:15 -0400 Received: from localhost (localhost [127.0.0.1]) by a.mx.secunet.com (Postfix) with ESMTP id 173E620097; Fri, 3 Nov 2017 13:10:14 +0100 (CET) X-Virus-Scanned: by secunet Received: from a.mx.secunet.com ([127.0.0.1]) by localhost (a.mx.secunet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YV5o6Kyauyri; Fri, 3 Nov 2017 13:10:13 +0100 (CET) Received: from mail-essen-01.secunet.de (mail-essen-01.secunet.de [10.53.40.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a.mx.secunet.com (Postfix) with ESMTPS id A5ADA20065; Fri, 3 Nov 2017 13:10:13 +0100 (CET) Received: from gauss2.secunet.de (10.182.7.193) by mail-essen-01.secunet.de (10.53.40.204) with Microsoft SMTP Server id 14.3.361.1; Fri, 3 Nov 2017 13:10:13 +0100 Received: by gauss2.secunet.de (Postfix, from userid 1000) id 1BE0B14031C; Fri, 3 Nov 2017 13:10:13 +0100 (CET) Date: Fri, 3 Nov 2017 13:10:12 +0100 From: Steffen Klassert To: Florian Westphal CC: syzbot , , , , , , Subject: Re: KASAN: stack-out-of-bounds Read in xfrm_state_find (2) 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" Content-Disposition: inline In-Reply-To: <20171102122528.GB9424@breakpoint.cc> User-Agent: Mutt/1.5.24 (2015-08-30) X-G-Data-MailSecurity-for-Exchange-State: 0 X-G-Data-MailSecurity-for-Exchange-Error: 0 X-G-Data-MailSecurity-for-Exchange-Sender: 23 X-G-Data-MailSecurity-for-Exchange-Server: d65e63f7-5c15-413f-8f63-c0d707471c93 X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 X-G-Data-MailSecurity-for-Exchange-Guid: A8C1ECD9-55C4-4A16-B0F0-7ECA61786039 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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. From 1582957245107214533@xxx Thu Nov 02 12:27:48 +0000 2017 X-GM-THRID: 1582886692223881834 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread