Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2449983rdf; Mon, 6 Nov 2023 14:54:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IE0j6V+tUojOEZd5D/6jNz6m3iLY0HoY9Tgynf5ORvLhYknaC7Sh+WKesWLs8SU5CrIV5fw X-Received: by 2002:a05:6808:18b:b0:3b5:66bf:ddf6 with SMTP id w11-20020a056808018b00b003b566bfddf6mr19428555oic.46.1699311246289; Mon, 06 Nov 2023 14:54:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699311246; cv=none; d=google.com; s=arc-20160816; b=EdfwEaUDkmo34cCi9zBgEmaf4FEEuLbXTKAbHkXYz04XxuM+TvAuxoCLG9AgFBQiSk ZH3CRoYIM7ZqwU/1Fp2rfSIm7bSZILXR6CKmjpxROEXrXtIurp5NFYU7eaz+8iPEopxY QXsci74/gpQL8AC14zDXKXWfNCE6KnzeWled0B409DZA3/Bj1zr/PwM12+cs+8mRpqU0 mwbuQcWhbcz0lxZUnai0OmhqfAz5oyRvaXY/qRyyWuOqOmPzYMVyzZHMEBTq7h4zaTpm XPhjUUK2JcJyj+Bq5Ja5go81Aeul7x8UGubhxZQkL0zI7Pfu7NLKWVJOGaa3+nvMyTkN apKw== 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=vNKybQWPnk2Ce8tjd4ygA9PCEAcyMepwChQ21Wxo49Q=; fh=i6ctDaDYLQbiA8FXsAhtge+rBUIuBso9QXm+hpARzzo=; b=tZMTA2zPTNzeW8UvKM8gB44pe2P2d+pV/hC1zj3/UvxQxMsctXrLE3xkHSiuTwHDoC QRZPFmgCN/pG4izfrXhCT8RAS0oUIYowVnYi4+uVcCyh8fylv6HCjQNSM2GXuk2IfYnp 8LZW2UoX1mNF1BvoeEgAl4WGk7MuMXGq37mvezd9n5gEv4ViUvo0zieIhc9R88EUaNYC YfHbpxnDmajA100/F4E2elW98USTt+uNq6m5DvUfVOvoqynJtAp1irMR1B2atY41hZOh 4OUtQyP1MEmzXykq3C2ECfZiL6Ac7AhLykRfFEl7T7tB1lDXEfq7665YOUMFVeoQL1vZ c/ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=eS+gVTHO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id k76-20020a636f4f000000b0058990e98429si692958pgc.146.2023.11.06.14.54.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 14:54:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=eS+gVTHO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id EF3ED80E6589; Mon, 6 Nov 2023 14:54:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233268AbjKFWyE (ORCPT + 99 others); Mon, 6 Nov 2023 17:54:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233226AbjKFWyD (ORCPT ); Mon, 6 Nov 2023 17:54:03 -0500 Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23651D6E for ; Mon, 6 Nov 2023 14:54:00 -0800 (PST) Received: by mail-yb1-xb35.google.com with SMTP id 3f1490d57ef6-d9a4c0d89f7so5302927276.1 for ; Mon, 06 Nov 2023 14:54:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1699311239; x=1699916039; darn=vger.kernel.org; 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=vNKybQWPnk2Ce8tjd4ygA9PCEAcyMepwChQ21Wxo49Q=; b=eS+gVTHOwbaUhdRE2dcKKt55Br7rVqShiRidyy+yAC/sib5+Y6z+jJw/7zz3H/A/iD nZC/jSSLjzpON8CNt/CNCVYA94y7GJHmvfJ4reO1gV8DgSPqQuB7jclC9+ea7bA1dhTz 2Wu3MXwztn6JtVVxfUMNOgf+OGd0YOcoe1SCn/FlLa9qNPeg5dT5BD052XoKfYBTevGn r8uVAGE1GxzFO2UveSBXaRrEQozSOi/tWLKONU1bxpCjxNAn2JsRs4KrP3nrV+mAGnpJ E0ITzg0NO59aaBfWzLapGQnFpcLhZa+ktVAnw8QLqh1wRqMdtIVXNet9NOds6NmUXXI+ V0fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699311239; x=1699916039; 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=vNKybQWPnk2Ce8tjd4ygA9PCEAcyMepwChQ21Wxo49Q=; b=Ljw+hU2yDeQtZyyqmdohOCgrN/+BRdeQuPElV9lvhBf5d3vwqn7mA3NY5fLxZ3AG36 3qcEfSdIFX1dSDZA6O+TStQdR8WN+Zy9PO8xSfOiVCSuZ/kaYdeOoWSnWxpQb170D8jz qApsrvQ18VZNnt+bXLg4UkJKfwrWIL6ClpQY3W0Poa4qnxOCf1cTJgINMVs1hwblvyjW +ztGZCPUV37K3Wg9ma3KEA1pdfZjV3fPnqOLQ0l65nxvcgTfbomAgZWfTVkR+uDib9Ok cl+HxY49Y4KHq6M8YibkOFdWgrye/6/Tv5D0wqmtlsl2hzbMoR6QPoiXkErIZpcBTPpc PmDQ== X-Gm-Message-State: AOJu0Yy7GwTL7OOGTgRTCIlnIgxyXPUS3E8S5TemoxB72ZLuPI5sn9sY mtXkg5moQsIX41eZEFbA2feKqFFKweiAsc+llXWT X-Received: by 2002:a25:d186:0:b0:d9a:3bf1:35e9 with SMTP id i128-20020a25d186000000b00d9a3bf135e9mr30012463ybg.3.1699311239327; Mon, 06 Nov 2023 14:53:59 -0800 (PST) MIME-Version: 1.0 References: <000000000000cfe6f305ee84ff1f@google.com> <000000000000a8d8e7060977b741@google.com> In-Reply-To: <000000000000a8d8e7060977b741@google.com> From: Paul Moore Date: Mon, 6 Nov 2023 17:53:48 -0500 Message-ID: Subject: Re: [syzbot] [reiserfs?] possible deadlock in reiserfs_dirty_inode To: syzbot Cc: hdanton@sina.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, reiserfs-devel@vger.kernel.org, roberto.sassu@huawei.com, syzkaller-bugs@googlegroups.com, syzkaller@googlegroups.com, linux-security-module@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 06 Nov 2023 14:54:05 -0800 (PST) On Mon, Nov 6, 2023 at 3:34=E2=80=AFAM syzbot wrote: > > syzbot has bisected this issue to: > > commit d82dcd9e21b77d338dc4875f3d4111f0db314a7c > Author: Roberto Sassu > Date: Fri Mar 31 12:32:18 2023 +0000 > > reiserfs: Add security prefix to xattr name in reiserfs_security_writ= e() > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=3D14d0b78768= 0000 > start commit: 90b0c2b2edd1 Merge tag 'pinctrl-v6.7-1' of git://git.kern= e.. > git tree: upstream > final oops: https://syzkaller.appspot.com/x/report.txt?x=3D16d0b78768= 0000 > console output: https://syzkaller.appspot.com/x/log.txt?x=3D12d0b78768000= 0 > kernel config: https://syzkaller.appspot.com/x/.config?x=3D93ac5233c1382= 49e > dashboard link: https://syzkaller.appspot.com/bug?extid=3Dc319bb5b1014113= a92cf > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=3D113f3717680= 000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=3D154985ef68000= 0 > > Reported-by: syzbot+c319bb5b1014113a92cf@syzkaller.appspotmail.com > Fixes: d82dcd9e21b7 ("reiserfs: Add security prefix to xattr name in reis= erfs_security_write()") > > For information about bisection process see: https://goo.gl/tpsmEJ#bisect= ion Hi Roberto, I know you were looking at this over the summer[1], did you ever find a resolution to this? If not, what do you think of just dropping security xattr support on reiserfs? Normally that wouldn't be something we could consider, but given the likelihood that this hadn't been working in *years* (if ever), and reiserfs is deprecated, I think this is a viable option if there isn't an obvious fix. [1] https://lore.kernel.org/linux-security-module/CAHC9VhTM0a7jnhxpCyonepcf= WbnG-OJbbLpjQi68gL2GVnKSRg@mail.gmail.com/ --=20 paul-moore.com