CVE-2023-53858
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Fix a memory leak in the s3c24xx_serial_getclk() function when clk_get_rate() fails.
In the Linux kernel, a memory leak vulnerability was found in the Samsung serial driver (samsung_tty). The function s3c24xx_serial_getclk() allocates a clock (clk) but does not properly free it if clk_get_rate() fails. This leads to a memory leak [1].
Root
Cause The issue occurs in the error handling path of s3c24xx_serial_getclk(). When clk_get_rate() returns an error, the allocated clock is not released, causing a leak of kernel memory. The fix adds the missing clk_put() call to properly free the clock in the error case [1][2][3].
Impact
An attacker with the ability to trigger the error path (e.g., by causing clk_get_rate() to fail) could exhaust kernel memory over time, potentially leading to a denial-of-service (DoS) condition. No other security impact beyond memory exhaustion is cited.
Mitigation
The vulnerability is fixed in Linux kernel stable updates. Users should apply the relevant patches. There is no known workaround for affected systems.
AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2Patches
8755289d67eb9f47e6631a8fc30962268fa1aa49e5a05121c073dbbe5743734f5b826dd501694fc8ad734a9c09546e903Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
8- git.kernel.org/stable/c/073dbbe5743779faf24f233cc95459b47c7198ddnvd
- git.kernel.org/stable/c/1694fc8ad734e2909a9e40d2be03cc4423e0bee6nvd
- git.kernel.org/stable/c/30962268fa1a7466413b3d83037688129021d470nvd
- git.kernel.org/stable/c/34f5b826dd509b76644f83094b4af7e7668a6a38nvd
- git.kernel.org/stable/c/755289d67eb9a74ae71bb624902e979c66859444nvd
- git.kernel.org/stable/c/a49e5a05121c8bc471a57b4916c5393749c24de5nvd
- git.kernel.org/stable/c/a9c09546e903f1068acfa38e1ee18bded7114b37nvd
- git.kernel.org/stable/c/f47e6631a8fcc6fe05b8644aa4222a60f3b0a927nvd
News mentions
0No linked articles in our index yet.