Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp975559imm; Wed, 13 Jun 2018 11:14:18 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLYEfX1dQRlh9N2X241CeiRHRKc3JjOZw4r5NLOsJdyP6ey36X8xePBCR4tY6G0c1sB6vt4 X-Received: by 2002:a63:5f0b:: with SMTP id t11-v6mr4906601pgb.79.1528913658791; Wed, 13 Jun 2018 11:14:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528913658; cv=none; d=google.com; s=arc-20160816; b=a91q5VqJYFOkoiefw8ndfm7RqQ5q+uX4VV1VQxf+9bbV3G6RF3tlieJg2tlCqS+4Y2 xpkLxoTfpoj4z/6lLJVvSCUJSutYHprCWA2Hj265yvn/yL2E9NzkKsofSRxHOwVnkijO AHfahelDU+X5Mg0xO0eMpDVIjgn2EUCxsX2CioEHknxmkqIWHgTmkMEzDCJMEPUF/jG7 8VeDASt3t0kzxX00QgSvHWVf9GyNZFti93IiNH1jc1mqo5pHc9OBwVHHXBIQt86WQuZ7 t3nSb82QjnzAm2idDgKmx0LpS9+YO06ZJc9Seq546Tsog+NRD74DlB+352DcaFu8zn+G uMlw== 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:to:subject:arc-authentication-results; bh=s4ko8ZqByNdqWp6scy331k0yhnm+e5i5x3J02+wFBck=; b=QSwOnP792PNcFZ44AAq683I6hz3PMPG8FGbCHjhADkvGQaS8z49CpbP7YRJjA4keDm xkFLYS+KTex4oOyBc8wi279pzHWj2AyX3dqyh9Ob7fwdNAVKJ+3qHWRocbyAoh7IJMea w+k3vk52AEjXSiW3q68k5eheQlBTUhl3dRWzFXET3cneh/uguBK70FIZCG0HDovxB5Vw UtGRKvMALiGbPpS3gWDCDIE/WHmuhcmbDAXcVzitXIrMGUbIc85nr/dLnZ0PRmoCCgN/ yTPsBjvoVEal3DsciZo2xsKl3WyNd6mOo9wiTEqWEuVLJgrjIOqOC5OWfUtj+bLjOlUX FyPw== 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 l12-v6si2746511pgp.683.2018.06.13.11.14.04; Wed, 13 Jun 2018 11:14:18 -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 S935557AbeFMSN3 (ORCPT + 99 others); Wed, 13 Jun 2018 14:13:29 -0400 Received: from www62.your-server.de ([213.133.104.62]:47078 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935445AbeFMSN0 (ORCPT ); Wed, 13 Jun 2018 14:13:26 -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 1fTAGo-00008h-RC; Wed, 13 Jun 2018 20:13:22 +0200 Subject: Re: KASAN: slab-out-of-bounds Read in bpf_skb_vlan_push To: syzbot , ast@kernel.org, davem@davemloft.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com References: <000000000000219be6056e8850fa@google.com> From: Daniel Borkmann Message-ID: Date: Wed, 13 Jun 2018 20:13:22 +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: <000000000000219be6056e8850fa@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 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