Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp431951pxk; Thu, 1 Oct 2020 06:08:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrWDKubRd/UyOxJE8lUyLcDU51IIeMcpAPNRm6Wc+mDM5o9hdpwgbuXNyWb7ejTb9SNeiU X-Received: by 2002:a50:dac1:: with SMTP id s1mr8225539edj.74.1601557688650; Thu, 01 Oct 2020 06:08:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601557688; cv=none; d=google.com; s=arc-20160816; b=dW1wo7pHzTZatWc+4K0IY+47kbFO+cFV96tULZ87uSGBqjs/x6+LJpULmUIBJYiFXa MZ0jDj5Vrudm1aZ/vLO9fYAd1CONLSC+oXKalqfYwDUHUzVe4BYgNmqjt/0/qvcLlBe7 0/83Q3GOxuQA1PB4ZRxKZ2TwyjyJsSmE3qhYU3GQkojzl/xV9nwon+mOhlm6fiaai4WB iqrEOXBHNFHGYT94ulx5/jkXnzZ/7mTFJEc8T6vft3wM2RRJb3DqOLY4sjSLRxJeSYWE mRJHD/3Bzgyruh8O7XCcgrh3vZ0KGvtPbOIVp12yXBvNpdNcAiAZICJdyyEIKheE9Erh sTTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=q1eU55WaiYq5ihsh9bOPBHwp2S1wxvI9ryjmDJ2+rFo=; b=I0uMA3GQ2rntoaNqbFqt2dAVMYIuOOokQylht3GD8NLpOHrLqmeTXOiOdX69Eb69cy gsTCZiylKrikqHobrvHS2rI8Zu3PI0MvsXvWNlWkp/wRgpGWmawYrQw+IBIiql81h9pv efD+x7r1LoHX9fPZJdc4vpSb/ch/7iaOb5hL8B8ZE91whtW2PNsyP85gA/JGBNG6m3zn x2enQ3dmyBejReClby1uAgUZX9vmU0oCrAo0mNLrzUCJgEgpqqZpiCg8teO+K2ACvcIx TUxTjZMc1DVd4Z1WXYeWPC1qSKrNlP+7JJuuRvkTGzo5l877JgSpIl2UyNa9jXWpPWDY eKmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ucw3RiPg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id n13si3452230ejz.621.2020.10.01.06.07.45; Thu, 01 Oct 2020 06:08:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@google.com header.s=20161025 header.b=ucw3RiPg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1732258AbgJANGB (ORCPT + 99 others); Thu, 1 Oct 2020 09:06:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732230AbgJANF7 (ORCPT ); Thu, 1 Oct 2020 09:05:59 -0400 Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A60BBC0613E4 for ; Thu, 1 Oct 2020 06:05:59 -0700 (PDT) Received: by mail-qk1-x741.google.com with SMTP id o5so5111685qke.12 for ; Thu, 01 Oct 2020 06:05:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=q1eU55WaiYq5ihsh9bOPBHwp2S1wxvI9ryjmDJ2+rFo=; b=ucw3RiPgMjc04+dk/EjJ22ZmGSReRMg/WD2i57bu9XH0sC1jQ+Y7BscCnd8XKX+smW Y0tAxswDDFAc5ujTcgf/pt/AeZ9ZObjowOx2r0ccf0QVA1FCHy6mtXzegCkhliJcsioA 4FS8bJXA0eAN84GYt93cHrZsQ2w0nX20c8KFVO/2UqKAdVe+Z0vMxZLju+ICVgeu2o+S dm+0YaOqqGU8oE8SXMpgUHZqzXjiTPIcH3WKy5rlHEVuHCATkT3QMebuw4qkRNywnTer +tiOWryzz6wRfaFBlsap+A6mapVVS/6mxo8dqs2zZA2jCOiDvkn9XjoWsI5wajp+NqVG ud5A== 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; bh=q1eU55WaiYq5ihsh9bOPBHwp2S1wxvI9ryjmDJ2+rFo=; b=tAKrfD0Bsw2IQ2BObFJVhRvAXPV6wmhcyfJHYmP9ZnVkd+yNvRyUafIF1eEIDUfAyy 0QWygN/fahkma/BEy+e1VgrEQPZRqGNowxxRip5SW1Y7VVD1bL8U2ELh/SjH2CwuUJxi J8/fw7VhP31a4YOMyJxjZGePbYWu3M2K2U32qtKdUZtf4aPaG2l888Pmm+zWA84r4Mjy fHyBYZi989nz6Y2gzsFaPvxTn3hcqD9yqC+WU4V6U/tZ3nAX25V2CpbX1Vv4gISZk4YM eTn5jPzID3R0+bXazLChpOAJnTwVBcVHZt+UygfPZlMTfsRPMe98CZK9afgGsZ9uvTD2 4jhw== X-Gm-Message-State: AOAM533ru9+VFDHSdlazqRwgxKxL+OsXsowPEA7ZZKrIHbUZibdJeeKF /cszpVo63eAfWPY8PrnYdcqe6u259DyB0HUPWHBQ1Q== X-Received: by 2002:a37:a785:: with SMTP id q127mr7355005qke.256.1601557558431; Thu, 01 Oct 2020 06:05:58 -0700 (PDT) MIME-Version: 1.0 References: <0000000000001fe79005afbf52ea@google.com> <20200930165756.GQ6756@twin.jikos.cz> <20200930180522.GR6756@twin.jikos.cz> In-Reply-To: <20200930180522.GR6756@twin.jikos.cz> From: Dmitry Vyukov Date: Thu, 1 Oct 2020 15:05:44 +0200 Message-ID: Subject: Re: KASAN: use-after-free Read in btrfs_scan_one_device To: dsterba@suse.cz, syzbot , Chris Mason , dsterba@suse.com, Josef Bacik , linux-btrfs@vger.kernel.org, LKML , syzkaller-bugs Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 30, 2020 at 8:06 PM David Sterba wrote: > > On Wed, Sep 30, 2020 at 06:57:56PM +0200, David Sterba wrote: > > On Sun, Sep 20, 2020 at 07:12:14AM -0700, syzbot wrote: > > > Hello, > > > > > > syzbot found the following issue on: > > > > > > HEAD commit: eb5f95f1 Merge tag 's390-5.9-6' of git://git.kernel.org/pu.. > > > git tree: upstream > > > console output: https://syzkaller.appspot.com/x/log.txt?x=10a0a8bb900000 > > > kernel config: https://syzkaller.appspot.com/x/.config?x=ffe85b197a57c180 > > > dashboard link: https://syzkaller.appspot.com/bug?extid=582e66e5edf36a22c7b0 > > > compiler: gcc (GCC) 10.1.0-syz 20200507 > > > > > > Unfortunately, I don't have any reproducer for this issue yet. > > > > > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > > > Reported-by: syzbot+582e66e5edf36a22c7b0@syzkaller.appspotmail.com > > > > #syz fix: btrfs: fix overflow when copying corrupt csums for a message > > Johannes spotted that this is not the right fix for this report, I don't > know how to tell syzbot to revert the 'fix:' command, there isn't > 'unfix' (like there's 'undup'). Hi David, I've added "unfix" command: https://github.com/google/syzkaller/pull/2156 Let's give it a try: #syz unfix Thanks