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 2A506217733 for ; Thu, 18 Sep 2025 14:00:01 +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=1758204001; cv=none; b=u+keYSPAnZqpoTjiFHjijdyiz2fJLL+ntnmBkeH0jrUIP4pJ92z9qE/rGG+iLi4xOAO9nWJB1/WbtLcBi5cID8pZ27wC3GguyzObOo71kzWS2s+jlrsTr00EQPWQ5YsG7GH92huahVlO9hZ2AxVQG/4A20KT8t+0raLMdkLdAoc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758204001; c=relaxed/simple; bh=Tj+lxuWv2NGgGVzdbmSuU/u15qTZdClvoHAYMwcSYAg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FWIIoCRntoc8XzrCnJRsisylpecsS5YEY2/mEMm3Ob2cGEphsGCfoZ6KqCdHMFe/JSnRyudHvMff9/R3zCu4qYmr9gGoSsHdW6CeTgNkZgRWDFF5EckHPER8qIkBmK90k8voLoOLu4bu9jtFagnfuHq3Yhf6nEs2HHPV/r9vFjQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nLS5Yfs5; 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="nLS5Yfs5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33F9EC4CEE7; Thu, 18 Sep 2025 14:00:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758204001; bh=Tj+lxuWv2NGgGVzdbmSuU/u15qTZdClvoHAYMwcSYAg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=nLS5Yfs5ALiT9sR16fOnZ662BTwbBU9yE7r/kyuhDxQLjGFSogGuFjQSfAwxz1Ku5 g4zQU6ex9JDPacpX7RRKQRAz8ASc5AF9CbvBxU6YrLxVVG84g/lQtb5Sy0ub0o1OQQ Pw0rPfQZPbZqmj3Y3zhim8jS5o5znuDJoTEvITsI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53409: drivers: base: component: fix memory leak with using debugfs_lookup() Date: Thu, 18 Sep 2025 15:59:06 +0200 Message-ID: <2025091801-CVE-2023-53409-818d@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=2132; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KEV0P+bA+UZ4qPE5ibs9UMboJykc0Zot6WhprnMrIKY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlnBFSLGhwYtI90B3/+NFtSgOfx0aI3UpyzFj/krv03s fLy2o3yHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCReWIMC7YcOP/YhOu0NGcK U+6+bvG910Oj4hnmu2jE3IwxO5e1vGRpx89z/5Wnb03uBgA= 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: component: 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-53409 to this issue. Affected and fixed versions =========================== Fixed in 5.15.100 with commit 09709a49283f79184c998d6dafcc01590e4d654d Fixed in 6.1.18 with commit 79ac2b01e033181e21cc84216ace1f4160eb8950 Fixed in 6.2.5 with commit bf0fd01c7cc1061fb2cfda3e2044371642108e6c Fixed in 6.3 with commit 8deb87b1e810dd558371e88ffd44339fbef27870 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-53409 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/component.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/09709a49283f79184c998d6dafcc01590e4d654d https://git.kernel.org/stable/c/79ac2b01e033181e21cc84216ace1f4160eb8950 https://git.kernel.org/stable/c/bf0fd01c7cc1061fb2cfda3e2044371642108e6c https://git.kernel.org/stable/c/8deb87b1e810dd558371e88ffd44339fbef27870