CVE-2023-53687

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

MEDIUM
5.5
CVSS Score
Published: October 7, 2025 at 03:21 PM UTC
Updated: October 28, 2026 at 07:10 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.3 ≤ v < 4.14.3224.15 ≤ v < 4.19.2914.20 ≤ v < 5.4.2515.11 ≤ v < 5.15.1215.16 ≤ v < 6.1.405.5 ≤ v < 5.10.1886.2 ≤ v < 6.4.53.35f5a7a5578c5885201cf9c85856f023fe8b81765
Vendor states this is fixed in 01dd8a43a84616c830782166ba3cceb01ad95363 (fixed)
Vendor states this is fixed in 1962717c4649e026a4252fe6625175affd28a593 (fixed)
Vendor states this is fixed in 1f426293fef1c13742b2a685bf7e363f51f6ee03 (fixed)
Vendor states this is fixed in 46574e5a0a2aee41e6ebb979cfe1dbaea8693e16 (fixed)
Vendor states this is fixed in 832e231cff476102e8204a9e7bddfe5c6154a375 (fixed)
Vendor states this is fixed in 933e5b2998bc3a527d15efbf1e97c9e63297aa3c (fixed)
Vendor states this is fixed in 9dd8091959bc41fee51d0827276a2b982e84adf0 (fixed)
Vendor states this is fixed in f0bf102ef9b05d7294bd8d506755465f6867d944 (fixed)
Vendor states this is fixed in 3.3 (unaffected)
Vendor states this is fixed in 4.14.322 (unaffected)
Vendor states this is fixed in 4.19.291 (unaffected)
Vendor states this is fixed in 5.10.188 (unaffected)
Vendor states this is fixed in 5.15.121 (unaffected)
Vendor states this is fixed in 5.4.251 (unaffected)
Vendor states this is fixed in 6.1.40 (unaffected)
Vendor states this is fixed in 6.4.5 (unaffected)
Vendor states this is fixed in 6.5 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card