Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1084031rwo; Wed, 2 Aug 2023 08:29:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlHn5lhwQ59JWsPF4KeWQ4Tomxn2kxsFRGz1FbWrn4HQGU5ZGZ8NFzCYDQXOdDUzQgvEuzWF X-Received: by 2002:a17:906:3191:b0:965:fb87:4215 with SMTP id 17-20020a170906319100b00965fb874215mr5348142ejy.15.1690990168899; Wed, 02 Aug 2023 08:29:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690990168; cv=none; d=google.com; s=arc-20160816; b=HLTN21eMuFWh/Azt+7vLyFHuBdLRuCHkNI2nyJHMD3iPaBKZa6MaMnJqKsQINq1Fsr 0pglkwECuUDsXvSyHstlR3S/3PD4dJbxl55pClqUOSRzXL4ZOEHtTFTWUeIfM0egLzxr XW3FBaR6e+q4UomXSwI2Qi98B9UMrMdmYDEUtIcC7JfUTor7F0/MiqZjVDkoMSe09fpk jjUQt+F85+VNOwuNyKDPlJULy9Di+KFR4zfPiIh3v3vNXqQIGEILwK+VlfPvRuMFGryC tBKGnTD8URo1pAaixGO5OWQyk55BJ9IiQ7TCKaOtxLvKQcI7oatoMMzk49ISlafcbPZ+ ISpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=+qwGbFPriiBctUTIf5EIt3Ji/aXV3Kuo6I3x1a+UHFM=; fh=k//iMQa27suxKBz+P5M1Y1HXVIyvbASOlzpXOeK2dXM=; b=YJuo5OlkVbcXWjwn7VqEZ4odjkEacWK+qL/8Mjl5I2iby/NM4cfkzsPTZ6KNRjAJS9 opFMuH5IJuEjuXqXpz3q+WUbeiVX3f3QHvxM/p+WvywxCwGY/o/BMcWRdV8bqg35TDTL 42itXXpxz9+CfeC0YZA8VZH73HJla858NXu7CmKqzFoN60to6ejDV9XI0r6AR9XFnyi6 15EzIUqQMBuASrxg5vEfh7sa61R6Eru/zfpFLbgiRiPLthHGHFrTnG1KysHfrTmClcab ZbrRtrTdotWquhWc3NC5/VHY0bZbZtYwhe8siBhdtRmTPjdfHEYdDyYBlNsneZnvx9gR Bozg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=BG89yUNH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u21-20020a170906409500b00992f1a3b9d6si10427789ejj.852.2023.08.02.08.29.04; Wed, 02 Aug 2023 08:29:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=BG89yUNH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S233758AbjHBORn (ORCPT + 99 others); Wed, 2 Aug 2023 10:17:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233109AbjHBORl (ORCPT ); Wed, 2 Aug 2023 10:17:41 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 763BF272D for ; Wed, 2 Aug 2023 07:17:36 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-3fe1e44fd2bso101135e9.0 for ; Wed, 02 Aug 2023 07:17:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1690985855; x=1691590655; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=+qwGbFPriiBctUTIf5EIt3Ji/aXV3Kuo6I3x1a+UHFM=; b=BG89yUNHMkxHF810dZQ2ZbAQDhv1zP8ZVtcAC67c+E/BGxxEfwn4+7QZVaZ2IEU3oA dRKokiLUubYgxTgf4Sn1wNsYw6fAD9khqzHlOtRG2LwfWMY+ycelPCDRCbw0mSP+JyLb +VOuz9juHYmbJwonRj+vuJwSQ9D/wf5YwXOUWYqZpNjbZxReeLdfs9GRzI59kYWZ/+Zw cbc1l3DsrC8fivpFjwhMETPUzPXDKc+Cr3V7cDVhiU64ItLEoj+QCp5Yw6HLZRuCwzAl gUXlCMjT+E7TpoT+C3mCINReshqlHXrs+Ui1zIP9CUJLu+27QClyR9Fk0PT8FjGosHSO uDgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690985855; x=1691590655; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+qwGbFPriiBctUTIf5EIt3Ji/aXV3Kuo6I3x1a+UHFM=; b=ZGi1C9o05QT09zRMRnQvpsq+pdCL7GaGC3TJ1fYLjhzjmauLaP3No2VAV8OcMTkcP0 aPUgDIjPJmkun0hxfx3xxF3w5aDoFqyIKXiBnfPQGroIrqP2yZ2hzMMuo6y1lB7vWtsg jkj4lDxmfx4r69mCopHdLkWjNgbGcddtwXJ8/iQd4605UC4yjL2g6gx/t+6NYiG5DnGC cYkpHLzLb/dWqxxKHNVGdknamUVx4u5c4ctIA9KYwUtIvIU5trVi/75y1xGKC5N/9VA8 G0DVsOxs/hodT6hURUeGbXP0S7bWF6zsd9JzBRMRQqy70xiUZup9FEPDOO9EviecjPxT dgTQ== X-Gm-Message-State: ABy/qLa9eHS0H8Ff9UxsaLk/kn1vy/iLTfu5ElXcor5QL8IBFXi4HqpA phSmzDE/LkDKTXb+nO7yDdDngBlmNKNuaqFeRpJ44w== X-Received: by 2002:a05:600c:3415:b0:3f7:e463:a0d6 with SMTP id y21-20020a05600c341500b003f7e463a0d6mr380986wmp.0.1690985854925; Wed, 02 Aug 2023 07:17:34 -0700 (PDT) MIME-Version: 1.0 References: <000000000000fd151d05ece59b42@google.com> <000000000000261e660601dec2c2@google.com> In-Reply-To: <000000000000261e660601dec2c2@google.com> From: Aleksandr Nogikh Date: Wed, 2 Aug 2023 16:17:22 +0200 Message-ID: Subject: Re: [syzbot] [btrfs?] possible deadlock in btrfs_search_slot To: syzbot Cc: anand.jain@oracle.com, clm@fb.com, dsterba@suse.com, hdanton@sina.com, josef@toxicpanda.com, linux-btrfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED,USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 1, 2023 at 6:08=E2=80=AFPM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit b740d806166979488e798e41743aaec051f2443f > Author: Josef Bacik > Date: Mon Nov 7 16:44:51 2022 +0000 > > btrfs: free btrfs_path before copying root refs to userspace > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=3D13015709a8= 0000 > start commit: eb7081409f94 Linux 6.1-rc6 > git tree: upstream > kernel config: https://syzkaller.appspot.com/x/.config?x=3D8d01b6e319797= 4dd > dashboard link: https://syzkaller.appspot.com/bug?extid=3Dc06034aecf9f5ea= b1ac1 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=3D124fc309880= 000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=3D126dfde588000= 0 > > If the result looks correct, please mark the issue as fixed by replying w= ith: > > #syz fix: btrfs: free btrfs_path before copying root refs to userspace Looks reasonable. #syz fix: btrfs: free btrfs_path before copying root refs to userspace > > For information about bisection process see: https://goo.gl/tpsmEJ#bisect= ion >