Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp977106imm; Wed, 13 Jun 2018 11:15:46 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJZ/Z4zgSoytcB30SCEAWXF0PPvCqXCOvh9HZSNUnZEdKJuvlcPHg62sUhtQ59TdZtf37BY X-Received: by 2002:a62:ee01:: with SMTP id e1-v6mr5962431pfi.2.1528913746694; Wed, 13 Jun 2018 11:15:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528913746; cv=none; d=google.com; s=arc-20160816; b=j1YgBA43z9JZsbugpZMcRTMl5oBGl4Y2ko4EPAlyrXgICT8gezZ8xvcn8DRDiyS1D8 7zwzBkJsVY1VNRYfscgNDk0G1UP3gXHdl3BrnSa0qg5vZm4h8rV1xBSXXbFeU2E+s1yF ICDRHROZnBnhZpTNc49A53aQbOUNnOYFhrCg+iXwIyyi9YdLhPmXoD+hjOgHJC2BfKt+ 7YJhv5hRNhj1D5BLzt9XsIMF8gfxJtGwuJ6JpWI+n0QpJ4wWCI7MUri86m0NqqKRcRRW BjswaVY9g+EISqp1gxSj0Y/v/btOczDL024NdoOGogS1KQMWrKzMmJXj9YjvUQ9Bjw4r /WbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=0Oo8v9UzG9hgoJ18Ultpo28hnPEqKc70lHpiuNp3rEs=; b=h8DFITW6kUyNtLHJp1brK3KKPRSCCg/SSYsSQ8mZHk78fQWMp3U0rZbhMqamupTnYt qxP0jFZwWtIDdlBr81Bi4hBcC/9d2C5Rh1ZDItCAk6lTQ4VPcfQuwiuyALiGVPz3hrMc zf9EyiHqOrcWbUu1h8qgH2VjthyrLKDigY7ClmwHJyQhxNkH061JKTin2wHgJmhYt6Zf qd7cbOeg/Rrz23Jwyrvoxx9nb95eX41tZxI6OqYPuvi6f6ftLYxdpwBnOZ4fY1dNkRRO TOY8AAY9ZPSAssssT+1eBaJu3U+M7F8muz+u2Bq3bRkrTR/HzNnogFYmzWhg8IFo7v59 jfyA== 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 j29-v6si2836945pga.195.2018.06.13.11.15.32; Wed, 13 Jun 2018 11:15:46 -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 S935369AbeFMSPI (ORCPT + 99 others); Wed, 13 Jun 2018 14:15:08 -0400 Received: from www62.your-server.de ([213.133.104.62]:47262 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934975AbeFMSPH (ORCPT ); Wed, 13 Jun 2018 14:15:07 -0400 Received: from [178.197.249.11] (helo=linux.home) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-SHA:256) (Exim 4.85_2) (envelope-from ) id 1fTAIS-0000G1-CW; Wed, 13 Jun 2018 20:15:04 +0200 Subject: Re: KASAN: slab-out-of-bounds Read in bpf_skb_vlan_push To: syzbot Cc: ast@kernel.org, davem@davemloft.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com References: <000000000000402477056e89f067@google.com> From: Daniel Borkmann Message-ID: <26c434ee-0a0a-fbba-282c-dabddfac652e@iogearbox.net> Date: Wed, 13 Jun 2018 20:15:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <000000000000402477056e89f067@google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.99.3/24659/Wed Jun 13 14:39:08 2018) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/13/2018 08:13 PM, syzbot wrote: >> On 06/13/2018 06:17 PM, syzbot wrote: >>> Hello, > >>> syzbot found the following crash on: > >>> HEAD commit:    75d4e704fa8d netdev-FAQ: clarify DaveM's position for stab.. >>> git tree:       bpf-next >>> console output: https://syzkaller.appspot.com/x/log.txt?x=1754783f800000 >>> kernel config:  https://syzkaller.appspot.com/x/.config?x=a601a80fec461d44 >>> dashboard link: https://syzkaller.appspot.com/bug?extid=76de61614cb1abdd73fc >>> compiler:       gcc (GCC) 8.0.1 20180413 (experimental) >>> syzkaller repro:https://syzkaller.appspot.com/x/repro.syz?x=12c1e1bf800000 > >>> IMPORTANT: if you fix the bug, please add the following tag to the commit: >>> Reported-by: syzbot+76de61614cb1abdd73fc@syzkaller.appspotmail.com > >>> IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready >>> IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready >>> 8021q: adding VLAN 0 to HW filter on device team0 >>> 8021q: adding VLAN 0 to HW filter on device team0 >>> ================================================================== >>> BUG: KASAN: slab-out-of-bounds in skb_at_tc_ingress include/net/sch_generic.h:535 [inline] >>> BUG: KASAN: slab-out-of-bounds in bpf_push_mac_rcsum net/core/filter.c:1625 [inline] >>> BUG: KASAN: slab-out-of-bounds in ____bpf_skb_vlan_push net/core/filter.c:2446 [inline] >>> BUG: KASAN: slab-out-of-bounds in bpf_skb_vlan_push+0x6b7/0x720 net/core/filter.c:2437 >>> Read of size 5 at addr ffff8801b77347d0 by task syz-executor6/6529 > >> Should be fixed already by: > >>    https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=58990d1ff3f7896ee341030e9a7c2e4002570683 > > >> #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > want 2 args (repo, branch), got 1 Fair enough ... assumed default would have been master. ;-) #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master