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 E0B5F2DC783 for ; Mon, 15 Sep 2025 14:23:30 +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=1757946211; cv=none; b=uVbz/2dOO0QofZvBX4SF+4KkDUDwMQzprplIYanUjEnGpiecRSTqXlQRB/GqT2aI3B523Ih1wADIqJQvzGj9aLPWz4hMELHOEuqh56I2iYxqnkhCw6L5Pv8wIT8X7GxzXdiRmKhE/Rf5wBBGlsa3IG6H5EmzVOL6YmzBp82cf58= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757946211; c=relaxed/simple; bh=UnbqPf+krrOvg6cUKHDQdCCws4s/MqfCmsI1QsXGBSw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uew+ancdWwxgxYwnFlxF+tXbPVDK0ZkkHQhsfS98MEvmaJkQIdG84Xp2F7lFdb+5Pq+98H9iwpWM76uYAoMvCPtsA7F7mtGVEqFSpl724H3H9dUSxXfkA6zX/OjpvEk+flSja91lTYIjs+tkyCukizjg7gWylaenqYmevACpOME= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MnxfYmsh; 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="MnxfYmsh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0696FC4CEF1; Mon, 15 Sep 2025 14:23:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757946210; bh=UnbqPf+krrOvg6cUKHDQdCCws4s/MqfCmsI1QsXGBSw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=MnxfYmshycXbcOXkrkHVSBEHTdOs3sDs7Dcp1+syBM1IzR1Uc20JPB+TpUq3xHeRP gLoqwWkHjy/OzYPPETj/5D9W2dsbl0LWCr2tGjdfojfvZBikZaDU17Ljp6XjDLTVVn ZVPRESaggqe/V8CXsf2dLgIUF5TjUhpCkcX/RaSs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53202: PM: domains: fix memory leak with using debugfs_lookup() Date: Mon, 15 Sep 2025 16:21:36 +0200 Message-ID: <2025091509-CVE-2023-53202-5e01@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=2121; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2UYjkeRkpTur3o/BGtMecn2OBzjKzBob7QdxhU9bOqc=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknFK7+0nq9fJb1iojr/AlnbptJJGzjPPOT5VrDt8ij/ B4lBTzvO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAim1kZFrQKljlzOa55dfnE /2tdC3j1TygJFTDMT9woaRfnVhIu3cTNqOM5Zc4Vkd/OAA== 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: PM: domains: fix memory leak with using debugfs_lookup() When calling debugfs_lookup() the result must have dput() called on it, otherwise the memory will leak over time. To make things simpler, just call debugfs_lookup_and_remove() instead which handles all of the logic at once. The Linux kernel CVE team has assigned CVE-2023-53202 to this issue. Affected and fixed versions =========================== Fixed in 5.15.99 with commit dddc132eb0dca3969f9146ef8feac0aa542aa305 Fixed in 6.1.16 with commit cde67cb7d2d1757baa83271c1f0892727e79f52e Fixed in 6.2.3 with commit 543d7113c37206ed7dae7bfb0b7e50955077770e Fixed in 6.3 with commit 0b6200e1e9f53dabdc30d0f6c51af9a5f664d32b 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-53202 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/base/power/domain.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/dddc132eb0dca3969f9146ef8feac0aa542aa305 https://git.kernel.org/stable/c/cde67cb7d2d1757baa83271c1f0892727e79f52e https://git.kernel.org/stable/c/543d7113c37206ed7dae7bfb0b7e50955077770e https://git.kernel.org/stable/c/0b6200e1e9f53dabdc30d0f6c51af9a5f664d32b