Received: by 2002:ac0:950e:0:0:0:0:0 with SMTP id f14csp1418832imc; Sun, 17 Mar 2019 13:42:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqymXaEsRZtqRnVNU5OEo39W+vuauNJdfRnVk5PX+MO39I+2qKCG50wxbMXKGOuTaEacTbkX X-Received: by 2002:a17:902:469:: with SMTP id 96mr8550152ple.46.1552855336555; Sun, 17 Mar 2019 13:42:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552855336; cv=none; d=google.com; s=arc-20160816; b=eRvAhEGJl3QFInHDxh73a2pI/IL3mn+XW2xK/Ao792zuOuspZorzqlLLQMAqPg7jPW KMO+ZuGwI54ifau8W1JTV7ACReuQtte0Q+56VHxg6f5jwzxgo/ewMkFDYI1XNNAMyyK4 txP9C6mIrMArbyk+zm+JLLT08RAApIJ+CajeQ61pe7gHU4rYSihU/t6lBt2PeiqdA2sQ rdmsIP1ZgjnhMd8hiLMLdCrwwpn4xYImxsZYiP9qZuRTzf/nrvkWc+rPrXxLClSYzAXR aMcVb5w+QilCPLxmVCD14Op4jtVrYtmDW/8SSizwnZBd6FTVzxpWaQM0m/TLypj3R73i eO9g== 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 :in-reply-to:references:mime-version:dkim-signature; bh=PO3jNqZCfjilE8Yx097aTy6Y8RYNf8t+1W3KEZZVyYE=; b=vVqLr6gvZzXnxtSz9sXk+Sm1rQohZ+ElMG2B0YrRGuHevXQyYo8USbsg8LOJZ+jdWO ApfFJ46hLywVVow8MSOwDYPGIttCdxJ7PxNqVYNo4wMZREc/SFrFJtsh5Wd5g33viGWE fd74ewnl0NNNz2uvRfTRVex6zFMMHjKl3L4IM/ejA4qJ66p2srYPU9s9RdZ7+L07JDpA kaLs+3vvVcerv0zt7CLt09briQjjXGdqfkjpVgzWBWUiojvolzr0XkHhlvds5KEQp2JP SNos0gfCiy4dNmPg762yG47mjf4rNC2J14mgGz0PRRWqDyxxTl+YLXocU7GP4lEJRcu2 LaEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=e7zUY0Up; 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 k3si7851939pfb.100.2019.03.17.13.42.01; Sun, 17 Mar 2019 13:42:16 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=e7zUY0Up; 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 S1727482AbfCQUlX (ORCPT + 99 others); Sun, 17 Mar 2019 16:41:23 -0400 Received: from mail-lj1-f180.google.com ([209.85.208.180]:37882 "EHLO mail-lj1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726333AbfCQUlX (ORCPT ); Sun, 17 Mar 2019 16:41:23 -0400 Received: by mail-lj1-f180.google.com with SMTP id a17so12201177ljd.4 for ; Sun, 17 Mar 2019 13:41:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PO3jNqZCfjilE8Yx097aTy6Y8RYNf8t+1W3KEZZVyYE=; b=e7zUY0UpSQxwGKLa4sa5QMjSPAD3/r1emUajPMXKEKjI4NMMqd7Zc08L/0bifzLXn+ EnZssEos21WcIgfluUwJWlaUn6gtjqT2/QWcqQnSLm5V679pP9MyaAWylI2ImDot0enm hSCmICIbaPLnKz8+Qz5gLWzTviTJXqlqd/Das= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PO3jNqZCfjilE8Yx097aTy6Y8RYNf8t+1W3KEZZVyYE=; b=GE0HbslwgMTdrcg9CQ9wxABJLgp4oZEPxXA19cttbZwbcNqMVvIuxd5TdZQj5EX2V4 3chDPoHICK62SWJU0w1J80UCs6YTYbqkW8Aav/vPrG70TwRkrAXbk5U+UvKDRA9PwbuD RLdHYdB2MLpMfFYmd6ikMBOWiP04D5II1C0EXBZMo0FFDsW/g7ze6JIGzhJZsubX55ap lZJjmHXaeBaiNxZxq+CuD4YSeYohPK/s3b1kKqPdMouAE1dAyJYIuNDIik/k+8291jxu DgclzWQJJcksako36svRzfkiRTzueLQNSlzhIMNpxodI9HnODDTjC2+tkQwZe+P0q/ci Iu7A== X-Gm-Message-State: APjAAAVXhrhPFtld7SWPKOTDwPuRYs4zf2Ht6VmVfvBLEZm4ThFNihU9 VFAASyn0WsDhBedeXEeS3mmkcHwDzfo= X-Received: by 2002:a2e:8585:: with SMTP id b5mr8500434lji.125.1552855280361; Sun, 17 Mar 2019 13:41:20 -0700 (PDT) Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com. [209.85.167.43]) by smtp.gmail.com with ESMTPSA id u18sm1654705lfd.15.2019.03.17.13.41.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Mar 2019 13:41:17 -0700 (PDT) Received: by mail-lf1-f43.google.com with SMTP id u21so267440lfu.2 for ; Sun, 17 Mar 2019 13:41:17 -0700 (PDT) X-Received: by 2002:ac2:4203:: with SMTP id y3mr7709582lfh.11.1552855277033; Sun, 17 Mar 2019 13:41:17 -0700 (PDT) MIME-Version: 1.0 References: <0000000000008a1bce057ede3d13@google.com> <0000000000009950e1058447ef43@google.com> In-Reply-To: From: Linus Torvalds Date: Sun, 17 Mar 2019 13:41:01 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: KASAN: slab-out-of-bounds Read in bacpy To: Dmitry Vyukov Cc: syzbot , David Miller , Johan Hedberg , linux-bluetooth , Linux Kbuild mailing list , Linux List Kernel Mailing , Marcel Holtmann , Michal Marek , Netdev , syzkaller-bugs 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 Sun, Mar 17, 2019 at 10:12 AM Dmitry Vyukov wrote: > > Please see https://github.com/google/syzkaller/blob/master/docs/syzbot.md#bisection > it should answer all of your questions. It does 2 and more. > And in this case it seems to be working as intended bisecting it to a > release tag. No, it's definitely not working as intended. You can see it in the bisect log - you don't actually have a single "git bisect bad" outside of the initial one that you start bisecting with. That's a pretty good sign of bisection being completely broken. Yes, it can happen in theory, but in general with a good bisection, you should see about as many "good" results as "bad". I bet that what's going on is that your initial "let's test every release" uses a _different_ process than the actual bisection itself does. So if I were you, I'd look at what syzbot does differently during bisection vs what it does for that initial "test each release". For example, does it do "make clean" in between each build in one case, but not the other? Does it do "make oldconfig" vs a fixed config generated from scratch every time? Because the fact that you first tested 4.10 bad using the "test each release", and then when you do bisection, the very commit *before* 4.10 is good (the only difference being the EXTRAVERSION and the tag) shows that something went wrong. Linus