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 C1578304962 for ; Thu, 18 Sep 2025 13:36:11 +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=1758202571; cv=none; b=lKgQGN14n8NBA9HTb9jb1M2ureeA7mvrISL76Mb45F/voUp3rxGKAq6s+Z8U+oa26pQDhqEicr+Iz+E3RKLWYM17t3c0Qecj4k4OgfjK7iqz15VmMxRP5XMAUlq/3ASRmKcOxLPeggkFTl6859JGsX2+7BCEUAa+e8ZBJmoztsg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758202571; c=relaxed/simple; bh=0LGnBy41GHdnRbXZjrlUom37Bq1J2ce6NSwKqzsdkyI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=E6yRyZBSSvlV0uv0DfzLzAo4eyV6YGYj7FtGv0DisM5HFni1dzGqA8CA3UOCclVzHfyqA+qRXwQLfaHQOKNF2tPTCyojhmGVi+UuHxpxQ7BkkPbdrFnhPmEbGmgV2OQ+9+2G5VwM3wuZWsJmv3XUfWyCAOgFdgKr9W5JTAyQSQY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CAwB+xDC; 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="CAwB+xDC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3CC12C4CEE7; Thu, 18 Sep 2025 13:36:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758202571; bh=0LGnBy41GHdnRbXZjrlUom37Bq1J2ce6NSwKqzsdkyI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=CAwB+xDCel91/BVsNV7PDAFXh9gMsvdJ+d6WxjaCL/hdQjN4k+wfljDMk5x8LFOa4 1OvXObpBneu7VqDyY9ONh1TIBQGW49kqgnowCj2mdtOYNnxVt3h7gyXZCfm8+2GVP5 dJeSssF+EdUHiVCGrjL7VRjMrEN/FWd7YgebF3Lo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53390: drivers: base: dd: fix memory leak with using debugfs_lookup() Date: Thu, 18 Sep 2025 15:34:35 +0200 Message-ID: <2025091858-CVE-2023-53390-8eb5@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=2118; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=B9fvQAtGTqBlGo828vdHCwReHi3tKFyCtTNI9EgD0bs=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlnuNzEOm813lmw7/sKb7vkCftaf0c9usiYpP7Ni/+x0 oeVekK7O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi2pcZ5oop8Vacnxv3Xk10 TeCE6RKn5wSbsjMs6Fnd+FXwMm9FoMS1b5kBD/Sn6d//DQA= 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: drivers: base: dd: 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-53390 to this issue. Affected and fixed versions =========================== Fixed in 5.15.100 with commit 7f1e53f88e8babf293ec052b70aa9d2a3554360c Fixed in 6.1.18 with commit 5a7a9efdb193d3c8a35821548a8e99612c358828 Fixed in 6.2.5 with commit 8e47e2bf78812adbd73c45c941d3c51add30b58d Fixed in 6.3 with commit 36c893d3a759ae7c91ee7d4871ebfc7504f08c40 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-53390 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/dd.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/7f1e53f88e8babf293ec052b70aa9d2a3554360c https://git.kernel.org/stable/c/5a7a9efdb193d3c8a35821548a8e99612c358828 https://git.kernel.org/stable/c/8e47e2bf78812adbd73c45c941d3c51add30b58d https://git.kernel.org/stable/c/36c893d3a759ae7c91ee7d4871ebfc7504f08c40