CVE-2023-53687 tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk
A memory leak in the Samsung serial driver allows attackers to exhaust kernel memory, potentially causing a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-53687?
CVE-2023-53687 is a medium-severity denial of service vulnerability in Linux kernel, published on 7 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-401
Which versions are affected by CVE-2023-53687?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-53687?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-53687 being exploited?
There is no known exploitation of CVE-2023-53687 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-53687, DEBIAN-CVE-2023-53687, GHSA-2h76-3pqm-pm8j, UBUNTU-CVE-2023-53687.