Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp456786pxk; Thu, 1 Oct 2020 06:39:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcpcGT6kRvFVrdSGyD+5btiU0LCcAnEeC90vvr7Rq2G4btq5ib0wtILrIHXLIZSxMXV9fF X-Received: by 2002:a17:906:fa8a:: with SMTP id lt10mr8145468ejb.307.1601559592166; Thu, 01 Oct 2020 06:39:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601559592; cv=none; d=google.com; s=arc-20160816; b=XdD1/xWux2FuHESnyMpUNiR+mTGbhi5zoS+o5S+Pl5ZTyDc5MhPRv4CQdT7syVKi+/ 3ldtdMhIqjz3QrMJqg9979d2781kAziq0+T/R9BiO1oEnJ1HoA0Qz0Ke5qPfE41kfJlS dmzoQTlpwfB34bdUtx4jexNCz8CEs5FikhDPbmUkDTGjbecS4oTcBnFvBsFNpfOaYwiG 03a76zllR0g73THVIZ2DB/w91dZNdJgSaVzWBgPVtLUlDrW0Qgp1SM2VV3piLp412n2q 6oYeqTRokpGghy8ZEHxhF5qch6NIqKX281b/jLKU3rdHXpfYCnadk6evaOLyb/Qyifh9 bKtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :reply-to:message-id:subject:cc:to:from:date; bh=LVQCgstvku4Ocdc12BSbFMwaEbbq56985UFaSdDbznc=; b=Z5Abd/6UfpPtSrS5Oe4S5S9CcEJJmM5LNGy+S9LjMmu7dwYn6nxJq6AJrQuYeQEr2S gIUXfnjF86NQAfxncmTno7sL/OvHN6VIGosPsPhnlVub89cfoL7Z6UgKZYA9UYxnkxLe +IJC9SpA55VMgQrwjFFeTUsaFzVczqmD8Y1DbWJgdKs6rucAgOUjgJbQ8netaBydkKZQ TLXmh2RMGTOMem1EZ7a99XxBySM2r9B8fxRipEXr0PnRybTuCBAVl3m1qtNewplpe7zk 06SQJXaekG/CBrf3Y8Ny5O3Dbi4JslRdYIje7cbDbZmFzzOoGXnsocziL9smiwoo9I7x 7aCg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g3si3440085edq.113.2020.10.01.06.39.25; Thu, 01 Oct 2020 06:39:52 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732292AbgJANhK (ORCPT + 99 others); Thu, 1 Oct 2020 09:37:10 -0400 Received: from mx2.suse.de ([195.135.220.15]:36736 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732147AbgJANhJ (ORCPT ); Thu, 1 Oct 2020 09:37:09 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 22E8DAC54; Thu, 1 Oct 2020 13:37:07 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id DBE3ADA781; Thu, 1 Oct 2020 15:35:46 +0200 (CEST) Date: Thu, 1 Oct 2020 15:35:46 +0200 From: David Sterba To: Dmitry Vyukov Cc: dsterba@suse.cz, syzbot , Chris Mason , dsterba@suse.com, Josef Bacik , linux-btrfs@vger.kernel.org, LKML , syzkaller-bugs Subject: Re: KASAN: use-after-free Read in btrfs_scan_one_device Message-ID: <20201001133546.GV6756@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Dmitry Vyukov , syzbot , Chris Mason , dsterba@suse.com, Josef Bacik , linux-btrfs@vger.kernel.org, LKML , syzkaller-bugs References: <0000000000001fe79005afbf52ea@google.com> <20200930165756.GQ6756@twin.jikos.cz> <20200930180522.GR6756@twin.jikos.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 01, 2020 at 03:08:34PM +0200, Dmitry Vyukov wrote: > On Thu, Oct 1, 2020 at 3:05 PM Dmitry Vyukov wrote: > > > > 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 > > Voil?! Unfixed: > https://syzkaller.appspot.com/bug?extid=582e66e5edf36a22c7b0 Thanks!