Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp621091imm; Tue, 15 May 2018 06:48:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq+xFutrWMf7RJiJXTY752D5emZD8n2VIIYH1m1jBA/xV/Dx2jXyncpi5fmm2hBqU3s1fPa X-Received: by 2002:a62:de02:: with SMTP id h2-v6mr15163293pfg.205.1526392115151; Tue, 15 May 2018 06:48:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526392115; cv=none; d=google.com; s=arc-20160816; b=Erq036Lpq6nhrqwUedUBabcakZ69MDzpBfPw7cR7X1tpwJwSUIDkEitqH7dUBH4/0c K8OfZM94x4eRvqRe6XioGOogEpdWipC+t7qIVK0aCxC42xjL1r0ialOuNVY8Ke4n709r JCxctrufMiKLfBOIhaaWwUOyn3OtKmQqSvxYqCXuzMYSD+aYokdBAF8WYesx6wGhaeD3 8d8eQE4hX/paxIMyb9ZWA0UVqRa5FkCSdAADZrx0QOpSlK3o7fjaBMa4BLQQK81rdWN9 RIm48wihtR7hj5QL+pHNzwkswOkfhUnefZ9NPDDHlFb2/5vDqZjcVxSBsycXFc1p2pGC 6HRg== 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=qpR6MiOnreM4W9tr8TB4iC+BBn0yAueDpURSmcHygbo=; b=Ya6qS8EWAGTWVliyROyQvyNRt8pzBtsKs1autRWhqeJzlhqFEco18sFehmBeKEhJME KHnBa+yvtmPRhceoPcS28YL+Jr+VRH5lutFlrP5v6CZ7Bc6n4nDWR5MQY56kPhkoXR6L /fPvtK41lcACPrcuSN2nzPdvDvGlMsZi0LkRs2UDXax4oalkunELKA/HJgJp0XgclACY Nk6QkNphqBLx3+A9FycEqRVnskN4hQ4BJ2o4OYO2KHp9SMHCGgveJjwQUuT4YBXal5yD Ci7gV328QuBmMrHOtj5rTUWwlr/UwpddR7gvqoObVKx77CV66SPlh+Ywe7L403u4x907 9HIw== 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 b38-v6si62387plb.541.2018.05.15.06.48.08; Tue, 15 May 2018 06:48:35 -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 S1752831AbeEONGe (ORCPT + 99 others); Tue, 15 May 2018 09:06:34 -0400 Received: from zimbra.alphalink.fr ([217.15.80.77]:51173 "EHLO zimbra.alphalink.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752545AbeEONGb (ORCPT ); Tue, 15 May 2018 09:06:31 -0400 Received: from localhost (localhost [127.0.0.1]) by mail-2-cbv2.admin.alphalink.fr (Postfix) with ESMTP id 669322B5211D; Tue, 15 May 2018 15:06:29 +0200 (CEST) Received: from zimbra.alphalink.fr ([127.0.0.1]) by localhost (mail-2-cbv2.admin.alphalink.fr [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id jY68KJH5BxRX; Tue, 15 May 2018 15:06:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail-2-cbv2.admin.alphalink.fr (Postfix) with ESMTP id 446162B5211F; Tue, 15 May 2018 15:06:27 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail-2-cbv2.admin.alphalink.fr Received: from zimbra.alphalink.fr ([127.0.0.1]) by localhost (mail-2-cbv2.admin.alphalink.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id EUUdznPsAgxM; Tue, 15 May 2018 15:06:27 +0200 (CEST) Received: from c-dev-0.admin.alphalink.fr (94-84-15-217.reverse.alphalink.fr [217.15.84.94]) by mail-2-cbv2.admin.alphalink.fr (Postfix) with ESMTP id 00A342B5211D; Tue, 15 May 2018 15:06:26 +0200 (CEST) Received: by c-dev-0.admin.alphalink.fr (Postfix, from userid 1000) id C26EB60188; Tue, 15 May 2018 15:06:26 +0200 (CEST) Date: Tue, 15 May 2018 15:06:26 +0200 From: Guillaume Nault To: Eric Biggers Cc: syzbot , davem@davemloft.net, kuznet@ms2.inr.ac.ru, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com, yoshfuji@linux-ipv6.org, Paolo Abeni Subject: Re: KASAN: out-of-bounds Read in ip6_xmit Message-ID: <20180515130626.GA1389@alphalink.fr> References: <001a11433bee67ed4c0563db12f9@google.com> <20180509044525.GD711@sol.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180509044525.GD711@sol.localdomain> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 08, 2018 at 09:45:25PM -0700, Eric Biggers wrote: > On Sun, Jan 28, 2018 at 11:24:01AM -0800, syzbot wrote: > > Hello, > > > > syzbot hit the following crash on net-next commit > > 6bb46bc57c8e9ce947cc605e555b7204b44d2b10 (Fri Jan 26 16:00:23 2018 +0000) > > Merge branch 'cxgb4-fix-dump-collection-when-firmware-crashed' > > > > Unfortunately, I don't have any reproducer for this crash yet. > > Raw console output is attached. > > compiler: gcc (GCC) 7.1.1 20170620 > > .config is attached. > > > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > > Reported-by: syzbot+c8e66da874feb11aaca6@syzkaller.appspotmail.com > > It will help syzbot understand when the bug is fixed. See footer for > > details. > > If you forward the report, please keep this part and the footer. > > > > ================================================================== > > BUG: KASAN: out-of-bounds in ip6_dst_idev include/net/ip6_fib.h:192 [inline] > > BUG: KASAN: out-of-bounds in ip6_xmit+0x1f76/0x2260 > > net/ipv6/ip6_output.c:264 > > Read of size 8 at addr ffff8801bcc8cc18 by task syz-executor2/11459 > > > > CPU: 0 PID: 11459 Comm: syz-executor2 Not tainted 4.15.0-rc9+ #212 > > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS > > Google 01/01/2011 > > Call Trace: > > __dump_stack lib/dump_stack.c:17 [inline] > > dump_stack+0x194/0x257 lib/dump_stack.c:53 > > print_address_description+0x73/0x250 mm/kasan/report.c:252 > > kasan_report_error mm/kasan/report.c:351 [inline] > > kasan_report+0x25b/0x340 mm/kasan/report.c:409 > > __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:430 > > ip6_dst_idev include/net/ip6_fib.h:192 [inline] > > ip6_xmit+0x1f76/0x2260 net/ipv6/ip6_output.c:264 > > inet6_csk_xmit+0x2fc/0x580 net/ipv6/inet6_connection_sock.c:139 > > l2tp_xmit_core net/l2tp/l2tp_core.c:1096 [inline] > > l2tp_xmit_skb+0x105f/0x1410 net/l2tp/l2tp_core.c:1191 > > pppol2tp_sendmsg+0x470/0x670 net/l2tp/l2tp_ppp.c:341 > > sock_sendmsg_nosec net/socket.c:630 [inline] > > sock_sendmsg+0xca/0x110 net/socket.c:640 > > ___sys_sendmsg+0x767/0x8b0 net/socket.c:2046 > > __sys_sendmsg+0xe5/0x210 net/socket.c:2080 > > SYSC_sendmsg net/socket.c:2091 [inline] > > SyS_sendmsg+0x2d/0x50 net/socket.c:2087 > > entry_SYSCALL_64_fastpath+0x29/0xa0 > > No reproducer and last occurred 58 days ago (on commit f44b1886a5f876c8). > Probably was fixed by commit b954f94023dcc61: > Indeed, this commit certainly applies to this report too. Thanks a lot for looking into this.