# CVE-2023-53687: tty: serial: samsung\_tty: Fix a memory leak in s3c24xx\_serial\_getclk() when iterating clk

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-10-07 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2023-53687, DEBIAN-CVE-2023-53687
- Record: https://cvemate.com/vulnerability/CVE-2023-53687 · JSON: https://cvemate.com/vulnerability/CVE-2023-53687/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.149%, percentile 4.226%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 127)

- debian linux (Debian): \< 6.1.52-1 \| \< 6.4.11-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-166.183 \| \< 5.15.0-86.96
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1113.123 \| \< 5.15.0-1047.52
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1047.52~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1113.123~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1113.123+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1119.126 \| \< 5.15.0-1049.56
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/933e5b2998bc3a527d15efbf1e97c9e63297aa3c>
- <https://git.kernel.org/stable/c/01dd8a43a84616c830782166ba3cceb01ad95363>
- <https://git.kernel.org/stable/c/46574e5a0a2aee41e6ebb979cfe1dbaea8693e16>
- <https://git.kernel.org/stable/c/1962717c4649e026a4252fe6625175affd28a593>
- <https://git.kernel.org/stable/c/9dd8091959bc41fee51d0827276a2b982e84adf0>
- <https://git.kernel.org/stable/c/f0bf102ef9b05d7294bd8d506755465f6867d944>
- <https://git.kernel.org/stable/c/1f426293fef1c13742b2a685bf7e363f51f6ee03>
- <https://git.kernel.org/stable/c/832e231cff476102e8204a9e7bddfe5c6154a375>
- <https://ubuntu.com/security/CVE-2023-53687>
- <https://www.cve.org/CVERecord?id=CVE-2023-53687>
- <https://git.kernel.org/linus/832e231cff476102e8204a9e7bddfe5c6154a375>
- <https://security-tracker.debian.org/tracker/CVE-2023-53687>

---

Data as of 2026-12-06T04:40:38.627Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
