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 A14E22745E for ; Tue, 9 Dec 2025 01:33:58 +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=1765244038; cv=none; b=RjZsh4UBUXFZQPg+mkYdAbMmwJZBjHM86NvR0Swcmr81Te7P/CizZqpb4VF9RfZklATrhFTkestPIkZBmwz+IVfDBQsU7EHTPwmfs48/5bjNmIHLqIcKsSdJSCvnVa4jLqiXiWdPFzHGnJZ7zTgLZqFqyfzG+bGugoxQ8J7CQEY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765244038; c=relaxed/simple; bh=3chUZT0eKwXr9Wf3XGrOxUCzWte1DYY5TXfh/hFxoJI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QR1TFe4qIpUPKHZymhEc7Lf9InNbNFU+l5tgwAZEm99ntcPVZiXLSLJDiRHEAu3gPWgp10ez17T879WlG38OmTvtFousBjmJQi5/52SBEPvCzT8DIYEVUdh/cOKZJ5IlftGRnqGjndVk/3rzNDhBt1rTd7RpE9PD7j1fcc0pFxQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gRhgQHu5; 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="gRhgQHu5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 195ADC4CEF1; Tue, 9 Dec 2025 01:33:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765244038; bh=3chUZT0eKwXr9Wf3XGrOxUCzWte1DYY5TXfh/hFxoJI=; h=From:To:Cc:Subject:Date:Reply-To:From; b=gRhgQHu5yQXTrvWcd2qwklqwprdnzlFaJdxgudyhxBnGP99RoiYN6BSNQjRnURqD7 UB4nK8/Kavo/W0wwdz61qRHDhmYlmbkoSyhPPqo+pvEzelIi3Bhx4cMQE92XfWxbfQ fxEI3H0ey0onv7+2D51WD5BlhKDe8103nBihqIdg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53858: tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() in case of error Date: Tue, 9 Dec 2025 10:31:42 +0900 Message-ID: <2025120904-CVE-2023-53858-87d4@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3251; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+f2IFiaqranOknreq6Tx1Y2CZ5DApSHe/pGp6Hajeg0=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnm1Tfmqk8XeLllz8O/3OyFWR2l5yQEoyWn/t6ZfvUcz 1KxAo4/HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR6DSGueICE5//emNYvHo2 R/ODmHKriXf3lzLMM7gvp756waXHT55vapEs52+PUf8kAgA= 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: tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() in case of error If clk_get_rate() fails, the clk that has just been allocated needs to be freed. The Linux kernel CVE team has assigned CVE-2023-53858 to this issue. Affected and fixed versions =========================== Issue introduced in 3.3 with commit 5f5a7a5578c5885201cf9c85856f023fe8b81765 and fixed in 4.14.322 with commit 755289d67eb9a74ae71bb624902e979c66859444 Issue introduced in 3.3 with commit 5f5a7a5578c5885201cf9c85856f023fe8b81765 and fixed in 4.19.291 with commit f47e6631a8fcc6fe05b8644aa4222a60f3b0a927 Issue introduced in 3.3 with commit 5f5a7a5578c5885201cf9c85856f023fe8b81765 and fixed in 5.4.251 with commit 30962268fa1a7466413b3d83037688129021d470 Issue introduced in 3.3 with commit 5f5a7a5578c5885201cf9c85856f023fe8b81765 and fixed in 5.10.188 with commit a49e5a05121c8bc471a57b4916c5393749c24de5 Issue introduced in 3.3 with commit 5f5a7a5578c5885201cf9c85856f023fe8b81765 and fixed in 5.15.121 with commit 073dbbe5743779faf24f233cc95459b47c7198dd Issue introduced in 3.3 with commit 5f5a7a5578c5885201cf9c85856f023fe8b81765 and fixed in 6.1.40 with commit 34f5b826dd509b76644f83094b4af7e7668a6a38 Issue introduced in 3.3 with commit 5f5a7a5578c5885201cf9c85856f023fe8b81765 and fixed in 6.4.5 with commit 1694fc8ad734e2909a9e40d2be03cc4423e0bee6 Issue introduced in 3.3 with commit 5f5a7a5578c5885201cf9c85856f023fe8b81765 and fixed in 6.5 with commit a9c09546e903f1068acfa38e1ee18bded7114b37 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-53858 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/tty/serial/samsung_tty.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/755289d67eb9a74ae71bb624902e979c66859444 https://git.kernel.org/stable/c/f47e6631a8fcc6fe05b8644aa4222a60f3b0a927 https://git.kernel.org/stable/c/30962268fa1a7466413b3d83037688129021d470 https://git.kernel.org/stable/c/a49e5a05121c8bc471a57b4916c5393749c24de5 https://git.kernel.org/stable/c/073dbbe5743779faf24f233cc95459b47c7198dd https://git.kernel.org/stable/c/34f5b826dd509b76644f83094b4af7e7668a6a38 https://git.kernel.org/stable/c/1694fc8ad734e2909a9e40d2be03cc4423e0bee6 https://git.kernel.org/stable/c/a9c09546e903f1068acfa38e1ee18bded7114b37