Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3474132pxj; Mon, 7 Jun 2021 11:30:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJym8bFwUo7/BvtoQERq1KWaj01Ojw6B880aTnkKZ7NMA0CPymUpx9rbLDc1tY5G6gvFm/f1 X-Received: by 2002:aa7:cb8d:: with SMTP id r13mr21681609edt.184.1623090613374; Mon, 07 Jun 2021 11:30:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623090613; cv=none; d=google.com; s=arc-20160816; b=tOMbyXvUpQWOU1xcD0F+KRAVcsODVMUzUnAY1Ar+iOzokdxU+Gv851li2ZpuRhPaau GdrIrWh3tGVxxo3bGhvseCwk5kpN1Kl7kP5mcoEMiN67Odr1CzZ9bavPf1XyLSrSHD5I j6Fpn/YuIxwqNblNH7uDR35Q3hc/op47PNbGhGUwp7/jR/y1ipA+NS83bmlTPd9zlMtk 4wtorjmMpn3Qx1oNiy17G/oSGkXpt5BQtxWtKMQARn518SFdgEVjDy8iV/ho0RpiZGxX qnTwUKYhz4jv6DsYMBoiOGtstBN0KOn3B61KWRIpe3ledT9pyuYV59690F31N2/uiTX+ ZaBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=+prxwIPLyH+3qfUxR26q6/ynXr5WzZBCORfLDri/oCA=; b=r6UjzNhcPEjBsuAveFH+ZQXTkbWCorf0QsvcY4Q01FoyXTbuHhn0ITKFfyBKv7Mk8X FVen718x8Y+VoCuscMvMEb0gmvCQt0CfaPGnJO6GgKhA1r951TcwOkGvolDKJDzBzzhN ZkxD0qp6WqAV4Hajk8mEEYT9zyTq1P2e0cZdQ6LfYvz7K07lsQIYEeD1uyNWHvU60JDQ OAhALM6Pdvg9vvjjQvOrrM4CC+nKBsPZZ21LuzzIAzsoSilOMTA6Nbh2MCUIxh1NwKKs WZXpVUXODX3MJKzJauIDO5j9Qfx6nLPbivkWTi1BsGeVDmF1yNALUnHGnVm9am6ipoXc 8Gnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SjHRTXyA; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m8si4976174edi.295.2021.06.07.11.29.34; Mon, 07 Jun 2021 11:30:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SjHRTXyA; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230381AbhFGS3h (ORCPT + 99 others); Mon, 7 Jun 2021 14:29:37 -0400 Received: from mail-pj1-f41.google.com ([209.85.216.41]:45041 "EHLO mail-pj1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230333AbhFGS3h (ORCPT ); Mon, 7 Jun 2021 14:29:37 -0400 Received: by mail-pj1-f41.google.com with SMTP id h12-20020a17090aa88cb029016400fd8ad8so594357pjq.3; Mon, 07 Jun 2021 11:27:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=+prxwIPLyH+3qfUxR26q6/ynXr5WzZBCORfLDri/oCA=; b=SjHRTXyAlplogG5SrJqfUYuwNMuf+r7f2igxHisESwyrmz+9AsIE8TuW0h0ZfIi5PA wzYNhfU6TFe/+MKE4xy+YFTAvSSeUaQt4QA4+fdMAvhSjWlUagxsuSS90sFcB4dDBrka ofXHKCfDLJyC6eHUqinIuMzTyzUB8wbjRNFZE4BdFK76WyYV2Yz72X7FBPGovILqVeiw flDzGAEDvOV3k2nShRAFHPHtp33QftM6w9NFXXWYpbbwRKrxtOUQJT1z2Eo5OJs3cga/ 2Ds46CbpJyjD9woGfnnmEaYXoRmagSjD1YOWKXzlgZHZFoQZQ7zv7xEsyJIFix1opJBE JdKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=+prxwIPLyH+3qfUxR26q6/ynXr5WzZBCORfLDri/oCA=; b=Vq3Wr1AsphYrDRg1toH3h2S8ewEbtt025WUEHDojSMckD+FLWl2Wzr64J01PAdr85s c0YLaqpDBo4l2XtktFewXi7JgLwNmmanUfRF4xCtlLv8cwQ+wJdfLUQOeH+Ry8p2uHRd /5YpZYRGPxrrffvFgwDgPhgrZbS54cevPaRSTgEjeczx/bB06A+J5wE563sLmUV+tNsL IXdvj5g0biSDbaZHwxsP5GX/YAyNdX6uYbmucoUPq2gnVWDAZQQbRNsCqD9/GvNYyVUj 7ZL8C02hXdIJOOugOySRrBOVDj66VhjeNVaFXW2AIVUxg9rGOEcyZ8v7cUm6jX3EXmtx pOgw== X-Gm-Message-State: AOAM531X4WWY04x3GUKNBa/yzZyF7fOScRqkqM/RmT3thqfK9g9WfW0+ XUEvpH0T3PU2vz2kW/gaZ6c= X-Received: by 2002:a17:902:c942:b029:10f:b651:4fa9 with SMTP id i2-20020a170902c942b029010fb6514fa9mr16424048pla.83.1623090389454; Mon, 07 Jun 2021 11:26:29 -0700 (PDT) Received: from [192.168.1.41] (096-040-190-174.res.spectrum.com. [96.40.190.174]) by smtp.gmail.com with ESMTPSA id iq15sm129315pjb.53.2021.06.07.11.26.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Jun 2021 11:26:28 -0700 (PDT) Subject: Re: KASAN: use-after-free Read in hci_chan_del To: Greg KH , "Jason A. Donenfeld" Cc: syzbot , davem@davemloft.net, johan.hedberg@gmail.com, kuba@kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, marcel@holtmann.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com, kernel-hardening@lists.openwall.com References: <000000000000adea7f05abeb19cf@google.com> <2fb47714-551c-f44b-efe2-c6708749d03f@gmail.com> From: SyzScope Message-ID: Date: Mon, 7 Jun 2021 11:26:26 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi all, We are really thankful for all the suggestions and concerns. We are definitely interested in continuing this line of research. Just to clarify:  SyzScope is an ongoing research project that is currently under submission, which has an anonymity requirement. Therefore we chose to use a gmail address initially in the public channel. Since Greg asked, we did reveal our university affiliation and email address, as well as cross-referenced a private email (again using university address) to security@kernel.org. We are sorry for the chaos of using several different email addresses. In the future, we will try to use our university address directly (we checked with other researchers and it seems to be okay). On 6/7/2021 4:20 AM, Greg KH wrote: > On Mon, Jun 07, 2021 at 12:21:12PM +0200, Jason A. Donenfeld wrote: >> Hi SyzScope, >> >> On Fri, May 28, 2021 at 02:12:01PM -0700, SyzScope wrote: >> >>> The bug was reported by syzbot first in Aug 2020. Since it remains >>> unpatched to this date, we have conducted some analysis to determine its >>> security impact and root causes, which hopefully can help with the >>> patching decisions. >>> Specifically, we find that even though it is labeled as "UAF read" by >>> syzbot, it can in fact lead to double free and control flow hijacking as >>> well. Here is our analysis below (on this kernel version: >>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/?id=af5043c89a8ef6b6949a245fff355a552eaed240) >>> >>> ----------------------------- Root cause analysis: >>> -------------------------- >>> The use-after-free bug happened because the object has two different >>> references. But when it was freed, only one reference was removed, >>> allowing the other reference to be used incorrectly. >>> [...] >> Thank you very much for your detailed analysis. I think this is very >> valuable work, and I appreciate you doing it. I wanted to jump in to >> this thread here so as not to discourage you, following Greg's hasty >> dismissal. The bad arguments made I've seen have been something like: >> >> - Who cares about the impact? Bugs are bugs and these should be fixed >> regardless. Severity ratings are a waste of time. >> - Spend your time writing patches, not writing tools to discover >> security issues. >> - This doesn't help my interns. >> - "research project" scare quotes. >> >> I think this entire set of argumentation is entirely bogus, and I really >> hope it doesn't dissuade you from continuing to conduct useful research >> on the kernel. > Ok, I'd like to apologize if that was the attitude that came across > here, as I did not mean it that way. > > What I saw here was an anonymous email, saying "here is a whole bunch of > information about a random syzbot report that means you should fix this > sooner!" When there's a dump this big of "information", but no patch, > that's almost always a bad sign that the information really isn't all > that good, otherwise the author would have just sent a patch to fix it. > > We are drowning in syzbot bugs at the moment, with almost no one helping > to fix them. So much so that the only people I know of working on this > are the interns with with the LF has funded because no other company > seems willing to help out with this task. > > That's not the syzbot author's fault, it's the fault of every other > company that relies on Linux at the moment. By not providing time for > their engineers to fix these found bugs, and only add new features, it's > not going to get any better. > > So this combined two things I'm really annoyed at, anonymous > contributions combined with "why are you not fixing this" type of > a report. Neither of which were, in the end, actually helpful to us. > > I'm not asking for any help for my interns, nor am I telling anyone what > to work on. I am saying please don't annoy the maintainers who are > currently overwhelmed at the moment with additional reports of this type > when they obviously can not handle the ones that we have. > > Working with the syzbot people to provide a more indepth analysis of the > problem is wonderful, and will go a long way toward helping being able > to do semi-automatic fixing of problems like this, which would be > wonderful. But how were we supposed to know this anonymous gmail > account, with a half-completed google pages web site was not just a > troll trying to waste our time? > > What proof did we have that this really was a correct report if a real > person didn't even provide their name to it? > > thanks, > > greg k-h