{"id":"CVE-2023-53687","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:\n\ntty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk\n\nWhen the best clk is searched, we iterate over all possible clk.\n\nIf we find a better match, the previous one, if any, needs to be freed.\nIf a better match has already been found, we still need to free the new\none, otherwise it leaks.","modified":"2026-04-02T09:44:51.390022Z","published":"2025-10-07T15:21:39.542Z","related":["SUSE-SU-2025:21040-1","SUSE-SU-2025:21052-1","SUSE-SU-2025:21056-1","SUSE-SU-2025:21064-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4111-1","SUSE-SU-2025:4128-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4139-1","SUSE-SU-2025:4140-1","SUSE-SU-2025:4141-1","SUSE-SU-2025:4149-1","SUSE-SU-2025:4189-1","SUSE-SU-2025:4301-1","SUSE-SU-2025:4320-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53687.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/01dd8a43a84616c830782166ba3cceb01ad95363"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1962717c4649e026a4252fe6625175affd28a593"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1f426293fef1c13742b2a685bf7e363f51f6ee03"},{"type":"WEB","url":"https://git.kernel.org/stable/c/46574e5a0a2aee41e6ebb979cfe1dbaea8693e16"},{"type":"WEB","url":"https://git.kernel.org/stable/c/832e231cff476102e8204a9e7bddfe5c6154a375"},{"type":"WEB","url":"https://git.kernel.org/stable/c/933e5b2998bc3a527d15efbf1e97c9e63297aa3c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9dd8091959bc41fee51d0827276a2b982e84adf0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f0bf102ef9b05d7294bd8d506755465f6867d944"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53687.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53687"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2023-53687.json"}}],"schema_version":"1.7.5"}