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 049652AF00 for ; Sat, 4 Oct 2025 15:17:29 +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=1759591049; cv=none; b=AWGqd01YrbHvIhdduQzwYt3zNjmlk3aGLJRw/bO/m8jrSedgU8mmL9KwC+8I04BbnasUX+DypY4OaHLB0H2YRmD8Ok1x7pxfSKhEjDMe9TCBFc+kJE2KOwlWOE1yr7Ql/xtydEJ79bSkzMgy6SO/w75q/lDdM0JeNmCe1uwqXSU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759591049; c=relaxed/simple; bh=PsvE9bNSZesGvSGdeMcbjb+tlGHw6qI0lY3kTUJddwo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ILaoRgHiQ3TOMeWgjfX04ZlUEMUX8em/k8VlwTAudwpT+u6V9MQUWubV37O/qH3UBkyIoyeT+WTMKLljG69A0w8ab01Rj8wsKYJ+3m2gsaqqBlTY+syniHiqhsn4dokVpVLIEzwgHpFC1gXcgH5h94tKE2Ewg8H9EJakAIUqT7M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=07hpDWfW; 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="07hpDWfW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F357C4CEF1; Sat, 4 Oct 2025 15:17:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759591048; bh=PsvE9bNSZesGvSGdeMcbjb+tlGHw6qI0lY3kTUJddwo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=07hpDWfWdnH4PeN1Hmh1A7LgPNIRZPDh64gcnnGtWWsV0aewpIQ08Co9+i7WCyTZ8 5UdLvLsvD/cqkJQ778fB7qiKXICcjsNyzIaFYz9bhCcPZ9SOO0gvndarltGjWM7jOS bNPlWWPjSfyNrGPTlKzo7x6JIGHJLP5r8+KadDD4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53533: Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe Date: Sat, 4 Oct 2025 17:16:47 +0200 Message-ID: <2025100441-CVE-2023-53533-7fbb@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=3108; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Ta5uJr7/BfoEpnUgOqtTWoXyiuraU/CDPOqIbcvxGOY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkPraLC9nYaX55w5JPU8uTiyppNoctOqv/jDhO84BJyT /mv9i6JjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIQTjD/CyzysDiHo64nAm3 Hxu+MZr0r+3HAYb5lZoSL/epTqzTcw1WsOE8NMu2ZacQAA== 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: Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe rpi_firmware_get() take reference, we need to release it in error paths as well. Use devm_rpi_firmware_get() helper to handling the resources. Also remove the existing rpi_firmware_put(). The Linux kernel CVE team has assigned CVE-2023-53533 to this issue. Affected and fixed versions =========================== Issue introduced in 5.0 with commit 0b9f28fed3f70ff9a0380fe308739dd72a30a6f6 and fixed in 5.4.243 with commit 1dfa3c9dd27bdc347733d06e980395768520bc3e Issue introduced in 5.0 with commit 0b9f28fed3f70ff9a0380fe308739dd72a30a6f6 and fixed in 5.10.180 with commit 0d6a5c9489c8a3d434e685066119c4333476dccd Issue introduced in 5.0 with commit 0b9f28fed3f70ff9a0380fe308739dd72a30a6f6 and fixed in 5.15.111 with commit 7acad58049acc6ac148e8b613a6eceeca4bcb4a7 Issue introduced in 5.0 with commit 0b9f28fed3f70ff9a0380fe308739dd72a30a6f6 and fixed in 6.1.28 with commit 36d087e49dabd28d2c13a7532dac72d625ce69fb Issue introduced in 5.0 with commit 0b9f28fed3f70ff9a0380fe308739dd72a30a6f6 and fixed in 6.2.15 with commit 9dbbe9db224c23a60dc7b1e00c701be93328c873 Issue introduced in 5.0 with commit 0b9f28fed3f70ff9a0380fe308739dd72a30a6f6 and fixed in 6.3.2 with commit 9216aa5cfd86809a2681be3683cd9ac30432de0c Issue introduced in 5.0 with commit 0b9f28fed3f70ff9a0380fe308739dd72a30a6f6 and fixed in 6.4 with commit 5bca3688bdbc3b58a2894b8671a8e2378efe28bd 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-53533 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/input/touchscreen/raspberrypi-ts.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/1dfa3c9dd27bdc347733d06e980395768520bc3e https://git.kernel.org/stable/c/0d6a5c9489c8a3d434e685066119c4333476dccd https://git.kernel.org/stable/c/7acad58049acc6ac148e8b613a6eceeca4bcb4a7 https://git.kernel.org/stable/c/36d087e49dabd28d2c13a7532dac72d625ce69fb https://git.kernel.org/stable/c/9dbbe9db224c23a60dc7b1e00c701be93328c873 https://git.kernel.org/stable/c/9216aa5cfd86809a2681be3683cd9ac30432de0c https://git.kernel.org/stable/c/5bca3688bdbc3b58a2894b8671a8e2378efe28bd