CVE-2023-53687

Source
https://cve.org/CVERecord?id=CVE-2023-53687
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53687.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53687
Downstream
Related
Published
2025-10-07T15:21:39.542Z
Modified
2026-04-11T12:46:52.064902Z
Summary
tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk
Details

In the Linux kernel, the following vulnerability has been resolved:

tty: serial: samsungtty: Fix a memory leak in s3c24xxserial_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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53687.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5f5a7a5578c5885201cf9c85856f023fe8b81765
Fixed
933e5b2998bc3a527d15efbf1e97c9e63297aa3c
Fixed
01dd8a43a84616c830782166ba3cceb01ad95363
Fixed
46574e5a0a2aee41e6ebb979cfe1dbaea8693e16
Fixed
1962717c4649e026a4252fe6625175affd28a593
Fixed
9dd8091959bc41fee51d0827276a2b982e84adf0
Fixed
f0bf102ef9b05d7294bd8d506755465f6867d944
Fixed
1f426293fef1c13742b2a685bf7e363f51f6ee03
Fixed
832e231cff476102e8204a9e7bddfe5c6154a375

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53687.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.3.0
Fixed
4.14.322
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.291
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.251
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.188
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.121
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.40
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.4.5

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53687.json"