Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp643884imm; Fri, 8 Jun 2018 02:55:32 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJiwtpZ4VNf0XF8Qx/sC10prQQPhoYOWlz5sE/lfUtne2ZL9YDRp6qCFtCxHja2VZjpQ3tF X-Received: by 2002:a17:902:9a08:: with SMTP id v8-v6mr5873936plp.148.1528451732363; Fri, 08 Jun 2018 02:55:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528451732; cv=none; d=google.com; s=arc-20160816; b=qKNf7aVWwsWStrYJViEQYbQ0ZpwRIKTh34J2iW5wveIe/lMUQFQTEhZs46pRgoBMks mwJnaBiOc1CEccheNM7DlEiu5r8s+CE+u+fZbE6b3ouUEDhJ2Yodn3lDwm43SMetmtqh jyhN6bvCO31wafefBwISKWfLwx8PRshIjKP4ztPMidO1ajJ7Kk3NzjK/rivwdkw7aHp3 uEYgJ6ufQz9I5KmvaLWWCrUy1tCJvmulJ6q5zEd6lDAgHfeR73rR9rWI7yrbh+9p35Ii KvnKw5WuEKev0u8ctlfaPHFfh+hVOb+lqfRx/ecljeNciIr6kjsedEJRuT2a1l5gTQlb F5qQ== 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=M28/HlDI81l12QZjpn2try6qF82Ksb7CJmHfVBTdmt0=; b=mfyeJ5UNRJgu5+VXeJi6bCM+O9r7Nz+QAu2UGNFpg/SxJKDPdTIkTKfu8trtFGNvIX OJDzj/S8PxFe5+h0f1HhntVw5JkGvUcNk4eQJDLDMrUKrPMu9E+ZoGQOdqP+C1K53X/T G2M6CQKYLJIwbHIFvvhW/Dn0+UawyiyGHOBJD84/fG2SWmHFKqYFnmpzX6FbTbtlfFKq dS2ryaTdqhNs1gp+RMY0gg7y5zC/r9BO4osAeiq1AWjtUR59IJGXO3dy+w0CSWMulcpf B7Bvx6H4Oz2MPDMeZIH/oeGUUtVbuwpP5K03oZD6P/YHYMmPmYwpv95e+2T+cZ6qErtP 45pA== 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 x6-v6si23986395pgo.448.2018.06.08.02.55.18; Fri, 08 Jun 2018 02:55:32 -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 S1752866AbeFHJxS (ORCPT + 99 others); Fri, 8 Jun 2018 05:53:18 -0400 Received: from www62.your-server.de ([213.133.104.62]:39368 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752411AbeFHJxR (ORCPT ); Fri, 8 Jun 2018 05:53:17 -0400 Received: from [178.197.248.12] (helo=linux.home) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-SHA:256) (Exim 4.85_2) (envelope-from ) id 1fRE54-0008Sq-Io; Fri, 08 Jun 2018 11:53:14 +0200 Subject: Re: KASAN: use-after-free Read in skb_ensure_writable To: syzbot , ast@kernel.org, davem@davemloft.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com References: <000000000000bab429056dc547be@google.com> From: Daniel Borkmann Message-ID: Date: Fri, 8 Jun 2018 11:53:13 +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: <000000000000bab429056dc547be@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/24643/Fri Jun 8 06:37:57 2018) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/04/2018 01:36 AM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:    bcece5dc40b9 bpf: Change bpf_fib_lookup to return -EAFNOSU.. > git tree:       bpf-next > console output: https://syzkaller.appspot.com/x/log.txt?x=10ee76b7800000 > kernel config:  https://syzkaller.appspot.com/x/.config?x=e4078980b886800c > dashboard link: https://syzkaller.appspot.com/bug?extid=c8504affd4fdd0c1b626 > compiler:       gcc (GCC) 8.0.1 20180413 (experimental) > syzkaller repro:https://syzkaller.appspot.com/x/repro.syz?x=10d926df800000 > C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=1778c26f800000 #syz fix: bpf: reject passing modified ctx to helper functions