Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp5834829ybg; Tue, 22 Oct 2019 09:03:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwQhAvNV7MA1Tsgt+UHMyUouMGKbIcVfV9XVzglcHTrOCSLkrOsjIslvbBRqWKp3W0qY88N X-Received: by 2002:aa7:d44d:: with SMTP id q13mr32464011edr.48.1571760194475; Tue, 22 Oct 2019 09:03:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571760194; cv=none; d=google.com; s=arc-20160816; b=ndZGs4HpWLYvi3YW1Ramr6kXmxovgZmK+oen17KPbzMZP6zxn1+o/nVndkGv7MWeHB c6LDClhkubGidl4ZjBe+QZhdM8qoEwopAmQu5XTkvsFuCOS0z4QL0S6qsYMXvCWzu/D5 ajcOnm7Jmqo75tsJiGxP1I2wpGuFJquxl61fW8anVdWzyJTh7Bu5ThOuJwBOUShdUKZa qcC3m6BM3A9C8rIrFom/MrBnJzHVLwV+x7ntNblYNkITJ2zY7JYGkMwkFzuV5fDauWVe h7mrirOTb6GxdiIh8NSfqQXEcPdW8acfZy5hO8lBZ8xyWfl+nHDuepkN3BX80P5Nvf+r +WFA== 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; bh=2WnVGZlJAwDZW1sY5kpNmvOQeot99F779OJDcwkc25c=; b=WzXVlNhS4MXgdEfEhaPn/Oxg8FKVsDs/mD2JV/Cv10kFg0u16/rNGlBdKsB1/nGNgt 5ZAJ8vaCA9xBa4M5OQlZozy93TIVrdV2OOdgu3VYpMdY6GCRp10wC4ry2EmJCV7CF3JC Jj5yX6qQG/QQM7hXHiRyUvctNDCRZXWUqULQFgHyCFCncQqxDb3WrVepOCkzwYQq7dys Dp6UphrzS5AnNke6Ubbz3jPzl8NpIqHId1ZtNHZrmjy/wNbgv2xlG/HxJsTn0edn6YSa M3S2R64gl1SqoSguNUCBkHMdOBKRo5W8IMty1K+B3V1s8dc27VMWxNAabzd94oWh7RcH JrZA== 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 34si14233172edk.26.2019.10.22.09.02.39; Tue, 22 Oct 2019 09:03:14 -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 S1727921AbfJVOZd (ORCPT + 99 others); Tue, 22 Oct 2019 10:25:33 -0400 Received: from www62.your-server.de ([213.133.104.62]:43736 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725887AbfJVOZd (ORCPT ); Tue, 22 Oct 2019 10:25:33 -0400 Received: from sslproxy05.your-server.de ([78.46.172.2]) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1iMv6C-0003zB-Dh; Tue, 22 Oct 2019 16:25:24 +0200 Received: from [178.197.249.13] (helo=pc-63.home) by sslproxy05.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1iMv6C-000NS0-0T; Tue, 22 Oct 2019 16:25:24 +0200 Subject: Re: KASAN: use-after-free Read in is_bpf_text_address To: syzbot , ast@kernel.org, bpf@vger.kernel.org, davem@davemloft.net, hawk@kernel.org, jakub.kicinski@netronome.com, john.fastabend@gmail.com, kafai@fb.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, songliubraving@fb.com, syzkaller-bugs@googlegroups.com, yhs@fb.com References: <000000000000da1dfc0595801e46@google.com> From: Daniel Borkmann Message-ID: <32ff9867-ceeb-de21-afca-70eeb8282e89@iogearbox.net> Date: Tue, 22 Oct 2019 16:25:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <000000000000da1dfc0595801e46@google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.101.4/25610/Tue Oct 22 10:54:26 2019) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/22/19 3:53 PM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:    4fe34d61 Merge branch 'x86-urgent-for-linus' of git://git... > git tree:       upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=15b01a60e00000 > kernel config:  https://syzkaller.appspot.com/x/.config?x=f0a8b0a0736a2ac1 > dashboard link: https://syzkaller.appspot.com/bug?extid=0cd01c9e0f5cd37a357e > compiler:       clang version 9.0.0 (/home/glider/llvm/clang 80fee25776c2fb61e74c1ecb1a523375c2500b69) > syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=161f89f7600000 > C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=16e2d0f8e00000 Fixed by (also just checked via syz test): https://patchwork.ozlabs.org/patch/1181358/ Thanks, Daniel