What’s Vulnerable › Vulnerabilities
CVE-2023-53687: tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-07 · updated 2026-10-28
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk When the best clk is searched, we iterate over all possible clk. If we find a better match, the previous one, if any, needs to be freed. If a better match has already been found, we still need to free the new one, otherwise it leaks.
Affected products
- Linux kernel: from 3.3 before 4.14.322; from 4.15 before 4.19.291; from 4.20 before 5.4.251; from 5.5 before 5.10.188; from 5.11 before 5.15.121; from 5.16 before 6.1.40 — fixed in 4.14.322, 4.19.291, 5.4.251, 5.10.188, 5.15.121, 6.1.40
How to fix
Upgrade to a fixed version: Linux kernel 4.14.322, 4.19.291, 5.4.251, 5.10.188. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/01dd8a43a84616c830782166ba3cceb01ad95363
- https://git.kernel.org/stable/c/1962717c4649e026a4252fe6625175affd28a593
- https://git.kernel.org/stable/c/1f426293fef1c13742b2a685bf7e363f51f6ee03
- https://git.kernel.org/stable/c/46574e5a0a2aee41e6ebb979cfe1dbaea8693e16
- https://git.kernel.org/stable/c/832e231cff476102e8204a9e7bddfe5c6154a375
- https://git.kernel.org/stable/c/933e5b2998bc3a527d15efbf1e97c9e63297aa3c
- https://git.kernel.org/stable/c/9dd8091959bc41fee51d0827276a2b982e84adf0
- https://git.kernel.org/stable/c/f0bf102ef9b05d7294bd8d506755465f6867d944
Get alerted when CVE-2023-53687 or the next vulnerability affects your stack