Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp328093imu; Mon, 19 Nov 2018 23:23:31 -0800 (PST) X-Google-Smtp-Source: AJdET5dBW7jl8kVRs0k/UVyxs3qSkRoFDVbU4eBRf2zJlpEUvDihw4dZXwUqiUDkNos94slAtGW0 X-Received: by 2002:a62:f909:: with SMTP id o9-v6mr1039261pfh.244.1542698610982; Mon, 19 Nov 2018 23:23:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542698610; cv=none; d=google.com; s=arc-20160816; b=AB1b+FwrzrgHaeI/hcljjxPlv5hNBqNTOfmXeZWbUKObU0eCh7tESCO+cGaJyJhgJa /gYNaAugtY6vKlcQqI8yGdxoRD2f/kzBJKHV1ke1hFZY0hwo30CozpNzbIEkzjMR0hhq qV8e6zXMQgyPEYvF+zjJQOqZiF0qxc4ZuHj64Prsh00eYkitjwbmcp2rWKnnlM/VXCcZ WzY3+e0zSUaPWt07Dbf2A6T1gKmuzaMk4ah9KB+dorZ4e/rOjo+T3/l/uwejWN2q/gtH S0zSvb9Y8xWXgEQtxLvlDOmiP+vggUiBz4mubZScYJdgfDK7npL33K7D74nnSVTMGlW/ WEuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=i3PwowH+vLolCmpbpViKW5ox7LPqkilUaDWH43SyWCM=; b=B4r+N6OJzhGaxWaRARVHoLpPMehNCikGZhyQp4dTjlzgY2oYj2txQCfJ40uOoQxvFb 4jxcMWlzRnqtESkwAaNR9o/sXAYip/oj8mIQmMfvV5m5RAnv39V8dfxfWgh9Okc824a0 tEt0MIpg6hmOXfbiUNewAuoqbz5C78A0mcNGAVjk1RklTiuRx0KXisW5fmx+dsPqDMQ1 Gxx/yKvqvoslUnECk8bwYadSGdquInGcMqtan6yDUpnUv0tXkeB15gwTXPoggP4HUk/Y RkUPSgvyh76m8gkzsWx2yEE8ueVJdCA7JRMpzawYDGwu9AG8yZ+Ce4KUWeymtlO6ZdLT ybmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=pQBWyHJ+; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e39si4046738plg.388.2018.11.19.23.23.16; Mon, 19 Nov 2018 23:23:30 -0800 (PST) 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; dkim=pass header.i=@google.com header.s=20161025 header.b=pQBWyHJ+; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732250AbeKTRZR (ORCPT + 99 others); Tue, 20 Nov 2018 12:25:17 -0500 Received: from mail-it1-f193.google.com ([209.85.166.193]:34856 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731443AbeKTRZR (ORCPT ); Tue, 20 Nov 2018 12:25:17 -0500 Received: by mail-it1-f193.google.com with SMTP id v11so1994848itj.0 for ; Mon, 19 Nov 2018 22:57:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=i3PwowH+vLolCmpbpViKW5ox7LPqkilUaDWH43SyWCM=; b=pQBWyHJ+JyPqkCF9s7Fr40XVrww7wUYDiW3Ha4bBgGgyh4Vg3T3DKQt2uh0063q6Lz 6l3UFNPoLYYWOL4kE17LnhDW4g5tIwtm3S0vmBv24lhYcmdlQ3mgIJHdHQZjr3OmpPdv yMUqnrMMvt4XKQwRF1wf3Q6FbfAluSIkl706G0JizUEbBB0ZO8UYePsZdYXyYfKVLcpW Dwl3vtev+6oK6IxGmMxEwpFLPpUcHQSEMpcB5E+sldWQw92Dhz0KaT199DWNPNPa4+ml Mj/X4m9ZikJ0koqI67jbxDL2DvL0rooobxL53sy3OYJwvATHZTZOdsrACkxosqDjlDo6 ZLvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=i3PwowH+vLolCmpbpViKW5ox7LPqkilUaDWH43SyWCM=; b=ps8D8v3f2rPgPBxqBQPrH9OyYMXh80UXfA/WPmlA9c8pJ6whkUlESiSH42U6gj6VRb paR6bh33cN8txFjZ4wPIpfjfL8ox7yfU7RP+O28h2jUq5Z71hlE5NlVHMLSTnd8zwmwp 72il1H/8pfvk9CbmFDiDxFKec6cPG/lccFj894m/vFWMjwWXhoQieKIYNK0iEQbAy5vL b+jhKL5aPLmp4AP8YcEk9q0RXCl4b1oIFPPmtwJAylg+8VtcoBPVVQbpXT/EGUs+agVr k0igrFSIinfXefRFDsUWfJg6Fyh6tPNj+m2Ma+sZKyq+xqwn5evvVxmCEMeqiiddd8Zm fVwQ== X-Gm-Message-State: AA+aEWYHafJEo4lcScajDNCKuS2OGcthp2YyZkPPkT2Bfd703t/I7+Qv nf+eBhZq5GGg+6f6vxxZxWjIlwVC9SECvQRDZmf9Tg== X-Received: by 2002:a24:b009:: with SMTP id d9-v6mr1083216itf.166.1542697063832; Mon, 19 Nov 2018 22:57:43 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a02:b003:0:0:0:0:0 with HTTP; Mon, 19 Nov 2018 22:57:23 -0800 (PST) In-Reply-To: <20181117140356.GA29895@fieldses.org> References: <000000000000222b58057a7d9f39@google.com> <9d9ad7f2781bf15af4bd6ccc9feee35c7cd17979.camel@kernel.org> <87bm6svhhl.fsf@notabene.neil.brown.name> <87bm6pewnm.fsf@notabene.neil.brown.name> <20181117140356.GA29895@fieldses.org> From: Dmitry Vyukov Date: Tue, 20 Nov 2018 07:57:23 +0100 Message-ID: Subject: Re: KASAN: use-after-free Read in locks_delete_block To: Bruce Fields Cc: Jeff Layton , NeilBrown , syzbot , linux-fsdevel , LKML , syzkaller-bugs@googlegroups.com, Al Viro Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 17, 2018 at 3:03 PM, Bruce Fields wrote: > On Sat, Nov 17, 2018 at 08:33:27AM -0500, Jeff Layton wrote: >> Thanks for the explanation, Dmitry. I've added the tag to the patch in >> my tree. It should show up in linux-next soon. >> >> I still find it a little misleading to say that syzbot reported a bug >> when it actually found a bug inside an earlier version of the patch, but >> I'll just learn to get over it. > > The usual tag for someone that found a bug in an earlier version of a > patch would be Reviewed-by:. Is there any reason we can't use that > here? The "syzbot+..." email should be enough on its own, I can't see a > reason why their scripts would need to require a particular tag. Or > maybe we could use Tested-by:, or some other tag made up for this case? > > I do worry that someone who sees "Reported-by:..." might for example > mistakenly assume that it would help to backport that patch if they see > a similar-looking oops. I see. It may also be picked by scripts that detects patches that need to be backported to stable because of the "Reported-by: syzbot" tag. This is somewhat unfortunate. There is no problem parsing another tag on syzbot side. Does Tested-by look good to you? If it found a bug in the patch and then it was fixed, Tested-by looks reasonable. And we also detect Reported-and-tested-by already because that's what syzbot suggests after it tested a proposed fix for a bug. I am somewhat concerned how to spread this information across all kernel developers. There is effectively no way to do this. We can't expect people to read docs, they generally don't. I guess I just document this at "See https://goo.gl/tpsmEJ for more information" and then we can point other people there if/when this concern pops up again.