Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp302908rwr; Tue, 2 May 2023 21:24:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6WgDusFRTypvB4fL79CpPY3tp++LJMGUwHFUIO5ofE1uIlKPprCGwnBwyqNtv7RaNWM3ND X-Received: by 2002:a05:6a00:21c3:b0:63d:489c:971 with SMTP id t3-20020a056a0021c300b0063d489c0971mr26515980pfj.24.1683087884320; Tue, 02 May 2023 21:24:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683087884; cv=none; d=google.com; s=arc-20160816; b=iJkkx0FkIBH7Oj5ih0UEt0xETTQ2OYWYS6oBXFqOOBNhQ2tG3yOnNhP9J8EVNuL820 RrhivbBqIP0qwmaFz54HBOZW3NKUDA8P1PtRFr6g7v6NBfDsjiJb9IFuiZ9etz7x94K5 //BHQs9vmKrc80VSDJoLJTOGnHV/ADMLg0hEoUQFkct8kay62iEhPWn4Eb3Ss6PMIYvL Uu69zuzmg/OEjYXQzxqz5842urkEX1P2voKZJy5/zcyX32qzU9FpIoam89T9NwA9sMFq +/OJgKqn3lmLi1G5hwhsOMx44TqnprQ+rWh9/9p6GpEM64eVDWALzRv9bQu0OA1gp3NJ cn3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=eHAjxhDB+7YUwNzRjQk8xRtJh2f350ZLzD0K4i9gzr0=; b=S1StbW0b+jnLmcoj4FdYwQY/CDXkijzNjMh0zOFTNmJdLybFGEpJBKMmwjoHMWlYG+ h0Gq0KJqDyHXpLeGyyFC+VQGbFRz2mormpenwo3z/rFz88K8xkjnTOZQntGPKh+9Tt0t vNbBZNxXky31DQ6XNue0vAZoqyjXv2hgwKGewWKSj0y8fftIkoqsrkMtPpDWvOBcX/14 sik8HURwMfBwZeC3eJwBOn+q2P1zjW4+8fmreNhBs9Od89Ni7VNfEFHrSTfu03Ncb34X 86bD9JyvyYnYqNo0wvCKOg7D58Ru4qvUJqUdlbDoJDMtZZST+e4aAp6FxMEuTcllz7rZ UcYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=KkClDPe5; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a85-20020a621a58000000b0062ae6345c78si32128266pfa.403.2023.05.02.21.24.29; Tue, 02 May 2023 21:24:44 -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=@gmail.com header.s=20221208 header.b=KkClDPe5; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229559AbjECEQK (ORCPT + 99 others); Wed, 3 May 2023 00:16:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbjECEQH (ORCPT ); Wed, 3 May 2023 00:16:07 -0400 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E01DD1BEF for ; Tue, 2 May 2023 21:16:06 -0700 (PDT) Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-63b35789313so3393944b3a.3 for ; Tue, 02 May 2023 21:16:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683087366; x=1685679366; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=eHAjxhDB+7YUwNzRjQk8xRtJh2f350ZLzD0K4i9gzr0=; b=KkClDPe57Wo/TeP9myhaZO29QM3BPXYvuEjKyq+v3urZgQXrnnZpJGMXT22xmdJ9DU cn2y+hmxUbcGwAnNxmZiD/bnkkQh8pLiAqpNmJExV48L7HIsC3Y8Ug7Maw4VT2BYZ8yZ 9tdPTFD7vK1q3CRILj93Z8q2ufqy90dXchaXPA9w5wnsWQq3QPbnZEiO7qnzmmci2bhL qQ6IVmZriRpZB9ldgQFovgGMiYoAY+PVmtFfwFN/QXWQnh/OtnLHltQvvCWKdK4zPk/9 ZV1gAJnGMBJUgu1MXsKj2NH49ykNyPApTrTVVXMGf9jswI/rPkAzb85l3sDEGa9Iv/TC VMJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683087366; x=1685679366; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=eHAjxhDB+7YUwNzRjQk8xRtJh2f350ZLzD0K4i9gzr0=; b=IFVbJq6x3g1/ADGuSoVWrx5KTt06wnoYc+f3XMb+oCNYFfA0nrPedyWnvXeaNtMA+S FVLk787vdHMFyceaa/FTnttRgpbJyLcnXrHNnUIWQpPgSU/P2kbXvNJmCmRmdvIfQWu2 FspRzr8XtJXQkiOK+3YGFp9Bo6jwnSlapowUFisBpTLub6E7MulQLCqjlZg50X1OGDAL vn7cT6dirSWGmGngTRR9m99hD+mxWV9GEhrzfLzUYHpwNC+3UyyGQAplrVcZFDXyNL7O taB9LdtmxdFtOR2lYqjTDOs0UovEKI6s3J6YxRfUth6edZRS3diDIJoxlHWMnhrMLcJN 0PAQ== X-Gm-Message-State: AC+VfDycIUKSmbZ5aoQEMlcfiQqrtSWKfAHaPys2YzSNrbpTy/uQxjON NgYwF/6QDr8I8unoFjOQBgI= X-Received: by 2002:a05:6a00:198c:b0:63d:260d:f9dd with SMTP id d12-20020a056a00198c00b0063d260df9ddmr27392269pfl.33.1683087366253; Tue, 02 May 2023 21:16:06 -0700 (PDT) Received: from debian.me (subs32-116-206-28-39.three.co.id. [116.206.28.39]) by smtp.gmail.com with ESMTPSA id a10-20020aa780ca000000b00642ea56f06dsm4058035pfn.26.2023.05.02.21.16.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 21:16:05 -0700 (PDT) Received: by debian.me (Postfix, from userid 1000) id 89350106247; Wed, 3 May 2023 11:16:02 +0700 (WIB) Date: Wed, 3 May 2023 11:16:02 +0700 From: Bagas Sanjaya To: Danila Chernetsov , Anton Altaparmakov Cc: linux-ntfs-dev@lists.sourceforge.net, linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org, Linux Memory Management , Andrew Morton , Konstantin Komarov Subject: ntfs orphan? (was Re: [PATCH] ntfs: do not dereference a null ctx on error) Message-ID: References: <20230407194433.25659-1-listdansp@mail.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jVeXjOp7rLo2/O3G" Content-Disposition: inline In-Reply-To: <20230407194433.25659-1-listdansp@mail.ru> X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 --jVeXjOp7rLo2/O3G Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 07, 2023 at 07:44:33PM +0000, Danila Chernetsov wrote: > In ntfs_mft_data_extend_allocation_nolock(), if an error condition occurs > prior to 'ctx' being set to a non-NULL value, avoid dereferencing the NULL > 'ctx' pointer in error handling. >=20 > Found by Linux Verification Center (linuxtesting.org) with SVACE. Duplicate of 10-years-old outstanding patch at [1]. I'm not speaking of the patch itself but rather on unfortunate state of ntfs subsystem. It seems like the maintainer is MIA (has not responding to patch submissions for a long time). Some trivial patches, however, are merged through mm tree. Konstantin (from newer ntfs3 subsystem), Andrew, would you like to take a look on this orphaned subsystem (and help reviewing)? I'd like to send MAINTAINERS update if it turns out to be the case. Thanks. [1]: https://lore.kernel.org/all/1358389709-20561-1-git-send-email-nickolai= @csail.mit.edu/ --=20 An old man doll... just what I always wanted! - Clara --jVeXjOp7rLo2/O3G Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCZFHf/gAKCRD2uYlJVVFO o1n+APwKJYtr0b5BjIagktsmVL9SCph4PReoxPYXxgPt3fmPdAEAtdAvPwKv5oG8 Nqh5SWWZKXeVDdLmhwpR1GVqB4M0xAY= =pf3a -----END PGP SIGNATURE----- --jVeXjOp7rLo2/O3G--