Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp52371pxy; Wed, 21 Apr 2021 18:14:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzx//pWP2T/6pAPY4f+naXrTQj81GSe2OPmO9mDyC4Jl/Z59WAm1gQ2CAuWWDTPJjHgUgCz X-Received: by 2002:a17:90a:d201:: with SMTP id o1mr14461894pju.230.1619054059514; Wed, 21 Apr 2021 18:14:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619054059; cv=none; d=google.com; s=arc-20160816; b=B+IGkTueR1qkEtjFJlId2tnQtk7717c7jAf3+z4gQ7C80qiDykCu6ESM2+P7gRJzjr 2JUh387FhoPaWqhN1G0VRaDPbgUIwZdArzEIV9Fc/Mq4IH0PXm8LiRc9FdNt4vwSOu+6 KhRgfebXMR3jy93MrlmAAFGy12eC81Bc0E+l0rtzrgRKFi12N5qsFlH9WkbD6u+Zys4K h2RNQp4SIQ4Ff/E8FGC2AF4DX1DgJuEaGm7rloDhj+9JsyLkQqN0WaktrfJ/X4EH7hJX vTVVvSUXBdRDEl9ZIv+THZPCtHHzY3EvXEfUZemCS1Cyp4GydylIRY+AUFsx+Y6yMhPy Tveg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:ironport-sdr:ironport-sdr; bh=J1S49e46vPZ757uXPRAOfwpmsFkkVkc4/130n8xMCz4=; b=kuPMdNJkD7JGsQsgBMfGvkdxzaSYBlL3rMfWA6bNDdjwzBzUACUN/Ymuo/s2wyjApZ R1W6z6GObwLGp8p80d/3wvyATFoV30lTDUav3ZY9Z5H0P6WmR+nwF8fs/K70xth+D8Od tvGIcjLD08g04DRKecTRum1fXb67k0b5yLnTSTmfU1zTPo4QeMFaWCSOr3k+6bdSOTVc k9Tjtst0JeoD8hoEqQhAfVsHDth7OQTNrssJsCuLdTz9s7HE/mCOGI5+maPtg3iSZEbp TWAI2zRb9YetgOo+KNE2ijMicYY7Pt8tWj84cS60pTEr57M2bAgLzNY/q8xKRF0hGQaY 7u8w== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p11si1259032pfn.246.2021.04.21.18.14.05; Wed, 21 Apr 2021 18:14:19 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245076AbhDURzA (ORCPT + 99 others); Wed, 21 Apr 2021 13:55:00 -0400 Received: from mga09.intel.com ([134.134.136.24]:33909 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243789AbhDURzA (ORCPT ); Wed, 21 Apr 2021 13:55:00 -0400 IronPort-SDR: uCCXmVgpPRXiUFehm+aeZWawIS+MNKChXNXFxnGke9QzkSn1makgDophfRyaGDJDbwfYeMnr3m TlT6CjGVqx3g== X-IronPort-AV: E=McAfee;i="6200,9189,9961"; a="195857008" X-IronPort-AV: E=Sophos;i="5.82,240,1613462400"; d="scan'208";a="195857008" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2021 10:54:26 -0700 IronPort-SDR: G89qDqo2oHdvPA03l8fUHO7SiY2xJCah0aGHRtlGk9HU+B1ZW8qYKJBfNM+WKZwrM+F61wmSQM QwcnZD6yHYvA== X-IronPort-AV: E=Sophos;i="5.82,240,1613462400"; d="scan'208";a="427609738" Received: from rjwysock-mobl1.ger.corp.intel.com (HELO [10.249.153.90]) ([10.249.153.90]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2021 10:54:25 -0700 Subject: Re: [PATCH 041/190] Revert "ACPI: sysfs: Fix reference count leak in acpi_sysfs_add_hotplug_profile()" To: Greg Kroah-Hartman , linux-kernel@vger.kernel.org Cc: Qiushi Wu , "3 . 10+" References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> <20210421130105.1226686-42-gregkh@linuxfoundation.org> From: "Rafael J. Wysocki" Organization: Intel Technology Poland Sp. z o. o., KRS 101882, ul. Slowackiego 173, 80-298 Gdansk Message-ID: Date: Wed, 21 Apr 2021 19:54:23 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 MIME-Version: 1.0 In-Reply-To: <20210421130105.1226686-42-gregkh@linuxfoundation.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/21/2021 2:58 PM, Greg Kroah-Hartman wrote: > This reverts commit 6e6c25283dff866308c87b49434c7dbad4774cc0. > > Commits from @umn.edu addresses have been found to be submitted in "bad > faith" to try to test the kernel community's ability to review "known > malicious" changes. The result of these submissions can be found in a > paper published at the 42nd IEEE Symposium on Security and Privacy > entitled, "Open Source Insecurity: Stealthily Introducing > Vulnerabilities via Hypocrite Commits" written by Qiushi Wu (University > of Minnesota) and Kangjie Lu (University of Minnesota). > > Because of this, all submissions from this group must be reverted from > the kernel tree and will need to be re-reviewed again to determine if > they actually are a valid fix. Until that work is complete, remove this > change to ensure that no problems are being introduced into the > codebase. > > Cc: Qiushi Wu > Cc: 3.10+ # 3.10+ > Cc: Rafael J. Wysocki > Signed-off-by: Greg Kroah-Hartman Acked-by: Rafael J. Wysocki > --- > drivers/acpi/sysfs.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/acpi/sysfs.c b/drivers/acpi/sysfs.c > index 8baf7644a0d0..842bf63b91e9 100644 > --- a/drivers/acpi/sysfs.c > +++ b/drivers/acpi/sysfs.c > @@ -986,10 +986,8 @@ void acpi_sysfs_add_hotplug_profile(struct acpi_hotplug_profile *hotplug, > > error = kobject_init_and_add(&hotplug->kobj, > &acpi_hotplug_profile_ktype, hotplug_kobj, "%s", name); > - if (error) { > - kobject_put(&hotplug->kobj); > + if (error) > goto err_out; > - } > > kobject_uevent(&hotplug->kobj, KOBJ_ADD); > return;