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 99995309F18 for ; Wed, 17 Sep 2025 14:58:56 +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=1758121136; cv=none; b=Q/rxgF85X/uHMPAOzwwoWdQ9u8opcdzlDfz/Ch4dFPVoingRoHXhze322hpW2qLbqOFcND7qTxCvgGGPbVEwmlqh8ANCTjCkRBJOiaKeC2L5cX8OwBXp0r/m674qAnEyn8tNeGedHFVPTi7fNxMavOxD7MUe32nDbcKCRVQ18DU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758121136; c=relaxed/simple; bh=xhiLz7Dw1D9WL9dVZYBgXO+XUJZtE+nODvvV31VJz9E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rydqSfhSm/do4iEjcz3KFX9tsPETEqxFT9+zgYVw0KHXKV4AQb2Y+RX/8jBkXMIwj/lVg10l8fVc4JPsZdAm5AjeGQat/pVYUx4CphA9NpRkZGMzqzhSxOOMiFGlfy1tWkUbbDKLqyBaF1XCZddyRYSgNYsH22MDi8llDEA17Lk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EoVZAJQc; 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="EoVZAJQc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1851EC4CEE7; Wed, 17 Sep 2025 14:58:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758121136; bh=xhiLz7Dw1D9WL9dVZYBgXO+XUJZtE+nODvvV31VJz9E=; h=From:To:Cc:Subject:Date:Reply-to:From; b=EoVZAJQc8uTcG+Rp1o4CnOuCpQpdRpboKT4FQpRitli9NSUPunoMG6LRPhXkol7cf RL0cmbXEjoYktrhWxBWcL8el8+7TNiV32PeoT4TXfgOGs7Zd862ylmqODxkiites6y 3eiN4YnY/ApvAaXqXJC34RAZflMqgMnudmJnw4D0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53355: staging: pi433: fix memory leak with using debugfs_lookup() Date: Wed, 17 Sep 2025 16:56:54 +0200 Message-ID: <2025091721-CVE-2023-53355-823c@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=2096; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=o3WNSBXdbBZrjpPaLL8ipr4lOuhAUbRwi2y6pHKbUYM=; b=owGbwMvMwCRo6H6F97bub03G02pJDBmnzoh25mQtaTdafb3vResE9jsHmZ+dFXtoqm1Q6vfkb 8+9/7qpHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARBm6GBVNnXlOeqJAmwuPR 8+K7meC28AUyYgxzOLIdehk3xmQ5HV0+LfjkVPX39QyLAA== 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: staging: pi433: 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. This requires saving off the root directory dentry to make creation of individual device subdirectories easier. The Linux kernel CVE team has assigned CVE-2023-53355 to this issue. Affected and fixed versions =========================== Fixed in 6.1.18 with commit 04f3cda40e9f6653ae15ed3fcf26ef2860f4df66 Fixed in 6.2.5 with commit bb16f3102607b69e1a0233f4b73c6e337f86ef8d Fixed in 6.3 with commit 2f36e789e540df6a9fbf471b3a2ba62a8b361586 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-53355 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/staging/pi433/pi433_if.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/04f3cda40e9f6653ae15ed3fcf26ef2860f4df66 https://git.kernel.org/stable/c/bb16f3102607b69e1a0233f4b73c6e337f86ef8d https://git.kernel.org/stable/c/2f36e789e540df6a9fbf471b3a2ba62a8b361586