CVE-2023-53687

tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk

No CVSS score yet EPSS 0.15%

Published 7 Oct 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-53687

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53687 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.15%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.28% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 5f5a7a5578c5885201cf9c85856f023fe8b81765, before 933e5b2998bc3a527d15efbf1e97c9e63297aa3c
affected from 5f5a7a5578c5885201cf9c85856f023fe8b81765, before 01dd8a43a84616c830782166ba3cceb01ad95363
affected from 5f5a7a5578c5885201cf9c85856f023fe8b81765, before 46574e5a0a2aee41e6ebb979cfe1dbaea8693e16
affected from 5f5a7a5578c5885201cf9c85856f023fe8b81765, before 1962717c4649e026a4252fe6625175affd28a593
affected from 5f5a7a5578c5885201cf9c85856f023fe8b81765, before 9dd8091959bc41fee51d0827276a2b982e84adf0
affected from 5f5a7a5578c5885201cf9c85856f023fe8b81765, before f0bf102ef9b05d7294bd8d506755465f6867d944
affected from 5f5a7a5578c5885201cf9c85856f023fe8b81765, before 1f426293fef1c13742b2a685bf7e363f51f6ee03
affected from 5f5a7a5578c5885201cf9c85856f023fe8b81765, before 832e231cff476102e8204a9e7bddfe5c6154a375
Other versions: unaffected
Linux
affected 3.3
unaffected before 3.3
unaffected from 4.14.322 up to and including 4.14.*
unaffected from 4.19.291 up to and including 4.19.*
unaffected from 5.4.251 up to and including 5.4.*
unaffected from 5.10.188 up to and including 5.10.*
unaffected from 5.15.121 up to and including 5.15.*
unaffected from 6.1.40 up to and including 6.1.*
unaffected from 6.4.5 up to and including 6.4.*
unaffected 6.5 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53687 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53687

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-53687
trivy image --scanners vuln IMAGE | grep CVE-2023-53687

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-53687 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.