Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp490912pxy; Wed, 21 Apr 2021 07:50:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQ7QYDhHl0IFhJcAvvpTjL9PrXpy4JbH1o+woeiH68yET9tL0iBvTDidf/vTW3jBFZLTU+ X-Received: by 2002:a63:1357:: with SMTP id 23mr22306285pgt.284.1619016617343; Wed, 21 Apr 2021 07:50:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619016617; cv=none; d=google.com; s=arc-20160816; b=PTsWAXQaa0HIhRmb2RQPkjeSFPb5ujoAuC+CKWkG9duixYDWEZ/L6zXiBRxQaUg/Jx yPwjZCF4e7iptLDXZnM7uLBJTK2KPXrLLnz4EEZ2cvlgMdyexv20X5Grgh/ESteDYSZr vZ2VvohV8rTmM4j2dkUZflbwLjs+g0ilTIDqAGERsQdNgm7vEXMD8td8njte8aYF/iXe i8qk05oS/MhCUg+2OYzCfbAInrNXscEG2FxDrmNMOHHAAP46tZd4YApeiKn+THbPBInq l92cUWFJ+LD3S7uh9syXZN5nxgnQyroMsZ3hSGDbP1XGlfTGkCeXiHQkV6ws7Csgkq1e upqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=G1HK0NtvQY2uzhv8by2RJPfu4uBeblpQWmxhTXSNx3k=; b=WO/krgg8Zp2PYa1UOaUHkxhpEksX36UjbLsU+aiNxvGeurhwtqOenWU5f6ujBYl2/O zR07Ku/RtP46IO0+wr9dMHRiJCMxcWuXEZ4nXPkfmTLeFzokulOxPJlU4J5rJ4aSWKv6 V1IUNYXfdmfqOg6/e9xf0RPPdhLv6x99EH4qsdElDrukRNP/hnXQ9fKB0Mz+HCKjV9Vp C4/wjURYrC5eetkO56GvJgbl0FNLfIQXzMGzYsWZvwmwL9I2ZCQmUmH6XniX/7LEenGA 2cD7DoUZRC/gZwNCXQvyAIlnzE7UDQQSaBwSGakt7CpmltSlgRwartia0SLt4RDGaQRr fBYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tj4KfKz0; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u12si2745482pga.56.2021.04.21.07.50.05; Wed, 21 Apr 2021 07:50:17 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tj4KfKz0; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240298AbhDUNDJ (ORCPT + 99 others); Wed, 21 Apr 2021 09:03:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:42348 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240246AbhDUNCx (ORCPT ); Wed, 21 Apr 2021 09:02:53 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4CA186144B; Wed, 21 Apr 2021 13:02:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010139; bh=fkWLEin4S5OkwzkSHiUCSkPpCMl/AS9bq7K44LL5cfc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tj4KfKz0L3Exv0KvrI2J/3vNpllj9ya+Kh2utRQ250dsn4dVa9knBKoAzStLB4eRl u5WYhBZp3MYAYbQFyLqSgO5j5Ra3t/FyXueb/V/2T5g8zWWX7RwgJMJl10YIah5N+R QmU82o6l+6HkgHtuied81PKZ6GZEpcsWAUP+xoJY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Aditya Pakki , Felipe Balbi Subject: [PATCH 026/190] Revert "usb: dwc3: pci: Fix reference count leak in dwc3_pci_resume_work" Date: Wed, 21 Apr 2021 14:58:21 +0200 Message-Id: <20210421130105.1226686-27-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210421130105.1226686-1-gregkh@linuxfoundation.org> References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit 2655971ad4b34e97dd921df16bb0b08db9449df7. 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: Aditya Pakki Cc: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- drivers/usb/dwc3/dwc3-pci.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c index 4c5c6972124a..0c0619f7b1a7 100644 --- a/drivers/usb/dwc3/dwc3-pci.c +++ b/drivers/usb/dwc3/dwc3-pci.c @@ -226,10 +226,8 @@ static void dwc3_pci_resume_work(struct work_struct *work) int ret; ret = pm_runtime_get_sync(&dwc3->dev); - if (ret) { - pm_runtime_put_sync_autosuspend(&dwc3->dev); + if (ret) return; - } pm_runtime_mark_last_busy(&dwc3->dev); pm_runtime_put_sync_autosuspend(&dwc3->dev); -- 2.31.1