Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C35319D071 for ; Tue, 9 Dec 2025 00:02:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765238540; cv=none; b=EK7Z/uJIiQU4QXL5VIg0KWs49rAhWH/IT5BnRO0YgdEWLsNg6T8e87InJvNqmrBA3uFGONc6CU6M+z7dEDEU/+ptk3t5rrLF6nmp9jzwdR8BtA3om59gnYw3iSY5fxGkJwlJSA/Ljt30nbAbOJAlAfJ1wrdDD2M51AeRxSyNG8g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765238540; c=relaxed/simple; bh=ISVe61NL5W1Sdr8Rs9e+l0vwZgbl08MYT+GC+dlH7FQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kzqLFP3UG4C2PhRmx7kItvF4SvJ2SIzKNF8pClV4WkUoG/3xgW4XwdNzaHR4RZqRm8rZ/CVLhAbTzMj6onvyCCg+YDJSduR7O5L/l046bpUWsW7RFU3RIRO3LOAMSs36ynMbmKS7aH1kByws25mNagIpy38tIKoZ34uh/p1ARA4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yYEzPqbo; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="yYEzPqbo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A8EAC19422; Tue, 9 Dec 2025 00:02:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765238539; bh=ISVe61NL5W1Sdr8Rs9e+l0vwZgbl08MYT+GC+dlH7FQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=yYEzPqbo/uW1QFYFvq1iGSYcQ4lYcvVtjGkz4/ej7lWFbzUm+TIqQEGOyonSk+dBR 01ZHog6VM1RiIH4JBqjwmKPsk34rYLX8pg0R6TYdSGg0PIyv4jjEMSF4mXueSmE9rJ uQpsN/QIV9DCntrHb81b0ThuuuHsA4NqLobVY9ts= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50633: usb: dwc3: qcom: Fix memory leak in dwc3_qcom_interconnect_init Date: Tue, 9 Dec 2025 09:01:34 +0900 Message-ID: <2025120934-CVE-2022-50633-8c49@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2656; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Mj7gbSAaBWSGINoeihsAECfwvK26IgkN5Mz1XuBdfvU=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnmaffmHzley2S36XyYp/TxPR/nOfbenS0veq1o3aRlA Se6DxdJdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEPq1hmJ9krZHgcUJv0sTT 3QEPw4xL707euZNhwZ6d03zXOC+sr4+cP+Eqy33jDY0NHAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: qcom: Fix memory leak in dwc3_qcom_interconnect_init of_icc_get() alloc resources for path handle, we should release it when not need anymore. Like the release in dwc3_qcom_interconnect_exit() function. Add icc_put() in error handling to fix this. The Linux kernel CVE team has assigned CVE-2022-50633 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit bea46b9815154ac47baf16b64022d791a4471375 and fixed in 5.10.163 with commit f9089b95548f0272e02a89989c511e235561d051 Issue introduced in 5.10 with commit bea46b9815154ac47baf16b64022d791a4471375 and fixed in 5.15.87 with commit 56f6de394f0f57928cd401255a5c7866b68a77e3 Issue introduced in 5.10 with commit bea46b9815154ac47baf16b64022d791a4471375 and fixed in 6.0.17 with commit 8c39c8d23ff9fb1beb6e16cf0ae929c764538625 Issue introduced in 5.10 with commit bea46b9815154ac47baf16b64022d791a4471375 and fixed in 6.1.2 with commit 2f3b51189f7a7be5d822fb8c537d778c57eb9821 Issue introduced in 5.10 with commit bea46b9815154ac47baf16b64022d791a4471375 and fixed in 6.2 with commit 97a48da1619ba6bd42a0e5da0a03aa490a9496b1 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2022-50633 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/usb/dwc3/dwc3-qcom.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/f9089b95548f0272e02a89989c511e235561d051 https://git.kernel.org/stable/c/56f6de394f0f57928cd401255a5c7866b68a77e3 https://git.kernel.org/stable/c/8c39c8d23ff9fb1beb6e16cf0ae929c764538625 https://git.kernel.org/stable/c/2f3b51189f7a7be5d822fb8c537d778c57eb9821 https://git.kernel.org/stable/c/97a48da1619ba6bd42a0e5da0a03aa490a9496b1