Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1236224imm; Wed, 13 Jun 2018 16:02:59 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKydLBHTEJc9S5FI4fP+2JeTrvWmiPCfv49wwT3luZvRMsFuZ355Dv/6rG8d5qy09Id1O4i X-Received: by 2002:a17:902:a5cb:: with SMTP id t11-v6mr136698plq.71.1528930979169; Wed, 13 Jun 2018 16:02:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528930979; cv=none; d=google.com; s=arc-20160816; b=TrI3d4bpMaxqQHpDz1l9CgHV5OgmrS1T0wU5UwrBhhJ4ucnGFPx8zQlkopXnNcnX6F OGsYE34G6MCbkMo+oBCOSzcS6dsgQQ3RhuamJ9dbfq7ttuBCHqo4tmEjCzODvRLX6zlR UDyZnHnJBJdXqYbWWwr7F1pva8HgpqneNq6rSOJFdV2x+ljf093Cn0NssT3mkdHP4Fp6 q+JW/kV1egjlTfb0H6FKOHYJ2XDLVx33ma1zCZ/ocBM97MLZLXKpU+B8nFO65asdK4mC wa34yGCMJ6SZI97sERdACh5BGxMhDsMzRYXZM9qS8oIgb8rIB/gnHaBK8WzlmuCIRWJR 5ERg== 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=9XGkbvvev5VpzpNhIs5hOyYvRI5LVvCsZdSkbBw+BYU=; b=ke8lbR6i74ADGcB6XBBe8C7jCbVA3Bw1xsvl5QU/55zkFOyRzOvUtkkKMZm40x//S7 vVHmvRC5oIlIf3fTtAu60s+vi2YAzvL+d60EBQWYW+vJ2ejnNhE+v6ovP4peLftRaFGO Dd9ovsmsnFNy8lbJnBGct5xmV7AuWBTL96gL/RcadWAKQ68tgOMrdgDufu4lSqWM1mhR Uj5W3zZR49KGFK9LmQIp6qCbZ/6MSWW/Zqdpd0Bx1sqbuTBvAXSVu9BB//zao7z/f1XU hyvIb59I/Z3TmeUlpdnyTMKxYwtoknKQzsZg2SEdMnvq8l2CIKuejFYjHiOOYG4L//P1 n1Gg== 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 a5-v6si3733778plp.178.2018.06.13.16.02.44; Wed, 13 Jun 2018 16:02:59 -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 S935910AbeFMXCB (ORCPT + 99 others); Wed, 13 Jun 2018 19:02:01 -0400 Received: from www62.your-server.de ([213.133.104.62]:39265 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935070AbeFMXCA (ORCPT ); Wed, 13 Jun 2018 19:02:00 -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 1fTElt-0003Mq-H9; Thu, 14 Jun 2018 01:01:45 +0200 Subject: Re: KASAN: slab-out-of-bounds Read in bpf_skb_change_head To: syzbot , ast@kernel.org, davem@davemloft.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com References: <0000000000009920d3056e8d57a9@google.com> From: Daniel Borkmann Message-ID: <3db1d6a4-1059-fec7-00c7-77d26fd5b3c2@iogearbox.net> Date: Thu, 14 Jun 2018 01:01:44 +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: <0000000000009920d3056e8d57a9@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/24660/Wed Jun 13 22:44:30 2018) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/14/2018 12:17 AM, 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=16bd21af800000 > kernel config:  https://syzkaller.appspot.com/x/.config?x=a601a80fec461d44 > dashboard link: https://syzkaller.appspot.com/bug?extid=567faa843005dda30737 > compiler:       gcc (GCC) 8.0.1 20180413 (experimental) > syzkaller repro:https://syzkaller.appspot.com/x/repro.syz?x=1039185f800000 > C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=11e85cff800000 > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > Reported-by: syzbot+567faa843005dda30737@syzkaller.appspotmail.com #syz fix: bpf: reject passing modified ctx to helper functions