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 9345D31DD94 for ; Mon, 15 Sep 2025 14:13:45 +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=1757945625; cv=none; b=uButH/Z9kf2Bmt1nL38ehqDWIkbHakXkizgQRuN5Hd8Mf4agqT5Q6Xsh/iHzw9GS1qaCh7NanDQzV1HAl5VCvdc2aDrdHVQpGWJaavY7YSXoYqOaOOyg4F7wm3/12UuRZSFvZ+abHhyPmp651daRr17GyDzFg+MHBHA12iIBs50= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757945625; c=relaxed/simple; bh=WiRiofS0V3ADAWm12OeVXAn5GU5HOU6Mq+kkjP8pZjY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=eBV0AvBoJ3BVLjOUR85u7Mw1QfiVi1gRnEAz3kaCt7EJhdqfvMNdCAJEy42W2POHSXkbjoJ2d0yHnE3sQ3MP04sM5LEBqoD7CVHL8U/K/rhH4arjPoAiqbIOvtrXvMEC3nxlH1QDd/8Fph03NY2Ey2gsfJVw9zruA/pAlUOR/zw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MX8zGQnR; 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="MX8zGQnR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28E8AC4CEF1; Mon, 15 Sep 2025 14:13:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757945625; bh=WiRiofS0V3ADAWm12OeVXAn5GU5HOU6Mq+kkjP8pZjY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=MX8zGQnRS8oEH8Q84OcjuBFdgkxmP6Oy2xN3oUVi9MLeb3hsppQOUQ83I0mVGGhId 8QDXm3gLT13rXe8gxViYWrgUYXhOph/qJt/321vtF95a8+zqQ9d8N/dU98RCPVu4eX RsyfO5aW7L/hpglqaajfgs60kkvKsaeXf6FFjxPs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53196: usb: dwc3: qcom: Fix potential memory leak Date: Mon, 15 Sep 2025 16:02:50 +0200 Message-ID: <2025091559-CVE-2023-53196-c59a@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2935; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=swWOOqT8WR1CiQFHvs3wS3HNn2Qu5psEWMzzq4xaOyg=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknZMLzjoUVfj7Go2Bvt2WS/wRG8VcKf0y/Lc/rn7fs6 /qWzR+edcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE/qYzzK/+tDCq6e3d+J2f A6Or7msHPd3Q7s2w4GKWzMaa28ds7Kb31itLVaqlGb3qAwA= 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 potential memory leak Function dwc3_qcom_probe() allocates memory for resource structure which is pointed by parent_res pointer. This memory is not freed. This leads to memory leak. Use stack memory to prevent memory leak. Found by Linux Verification Center (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2023-53196 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit 2bc02355f8ba2c1f108ec8b16a673b467a17228c and fixed in 5.4.251 with commit 648a163cff21ea355c8765e882ba8bf66a870a3e Issue introduced in 5.3 with commit 2bc02355f8ba2c1f108ec8b16a673b467a17228c and fixed in 5.10.188 with commit 74f8606ddfa450d2255b4e61472a7632def1e8c4 Issue introduced in 5.3 with commit 2bc02355f8ba2c1f108ec8b16a673b467a17228c and fixed in 5.15.121 with commit b626cd5e4a87a281629e0c2b07519990077c0fbe Issue introduced in 5.3 with commit 2bc02355f8ba2c1f108ec8b16a673b467a17228c and fixed in 6.1.39 with commit c3b322b84ab5dda7eaca9ded763628b7467734f4 Issue introduced in 5.3 with commit 2bc02355f8ba2c1f108ec8b16a673b467a17228c and fixed in 6.4.4 with commit 134a7d4642f11daed6bbc378f930a54dd0322291 Issue introduced in 5.3 with commit 2bc02355f8ba2c1f108ec8b16a673b467a17228c and fixed in 6.5 with commit 097fb3ee710d4de83b8d4f5589e8ee13e0f0541e 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-2023-53196 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/648a163cff21ea355c8765e882ba8bf66a870a3e https://git.kernel.org/stable/c/74f8606ddfa450d2255b4e61472a7632def1e8c4 https://git.kernel.org/stable/c/b626cd5e4a87a281629e0c2b07519990077c0fbe https://git.kernel.org/stable/c/c3b322b84ab5dda7eaca9ded763628b7467734f4 https://git.kernel.org/stable/c/134a7d4642f11daed6bbc378f930a54dd0322291 https://git.kernel.org/stable/c/097fb3ee710d4de83b8d4f5589e8ee13e0f0541e