{"id":"CVE-2023-53687","aliases":["CVE-2023-53687"],"related":[],"kind":"vulnerability","state":"published","title":"tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ntty: serial: samsung_tty: Corrige una fuga de memoria en s3c24xx_serial_getclk() al iterar clk\n\nCuando se busca el mejor clk, iteramos sobre todos los clk posibles.\n\nSi encontramos una mejor coincidencia, la anterior, si la hay, necesita ser liberada.\nSi ya se ha encontrado una mejor coincidencia, todavía necesitamos liberar la nueva, de lo contrario, se fuga.","source":"nvd"}],"published":"2025-10-07T15:21:39.542Z","modified":"2026-10-28T19:10:00.193Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"5f5a7a5578c5885201cf9c85856f023fe8b81765","fixed":"933e5b2998bc3a527d15efbf1e97c9e63297aa3c","status":"affected"},{"type":"git","introduced":"5f5a7a5578c5885201cf9c85856f023fe8b81765","fixed":"01dd8a43a84616c830782166ba3cceb01ad95363","status":"affected"},{"type":"git","introduced":"5f5a7a5578c5885201cf9c85856f023fe8b81765","fixed":"46574e5a0a2aee41e6ebb979cfe1dbaea8693e16","status":"affected"},{"type":"git","introduced":"5f5a7a5578c5885201cf9c85856f023fe8b81765","fixed":"1962717c4649e026a4252fe6625175affd28a593","status":"affected"},{"type":"git","introduced":"5f5a7a5578c5885201cf9c85856f023fe8b81765","fixed":"9dd8091959bc41fee51d0827276a2b982e84adf0","status":"affected"},{"type":"git","introduced":"5f5a7a5578c5885201cf9c85856f023fe8b81765","fixed":"f0bf102ef9b05d7294bd8d506755465f6867d944","status":"affected"},{"type":"git","introduced":"5f5a7a5578c5885201cf9c85856f023fe8b81765","fixed":"1f426293fef1c13742b2a685bf7e363f51f6ee03","status":"affected"},{"type":"git","introduced":"5f5a7a5578c5885201cf9c85856f023fe8b81765","fixed":"832e231cff476102e8204a9e7bddfe5c6154a375","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.3","status":"unaffected"},{"type":"semver","introduced":"4.14.322","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.291","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.251","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.188","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.121","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.40","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.4.5","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.3","fixed":"4.14.322"},{"status":"affected","introduced":"4.15","fixed":"4.19.291"},{"status":"affected","introduced":"4.20","fixed":"5.4.251"},{"status":"affected","introduced":"5.5","fixed":"5.10.188"},{"status":"affected","introduced":"5.11","fixed":"5.15.121"},{"status":"affected","introduced":"5.16","fixed":"6.1.40"},{"status":"affected","introduced":"6.2","fixed":"6.4.5"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/933e5b2998bc3a527d15efbf1e97c9e63297aa3c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01dd8a43a84616c830782166ba3cceb01ad95363","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/46574e5a0a2aee41e6ebb979cfe1dbaea8693e16","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1962717c4649e026a4252fe6625175affd28a593","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9dd8091959bc41fee51d0827276a2b982e84adf0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f0bf102ef9b05d7294bd8d506755465f6867d944","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1f426293fef1c13742b2a685bf7e363f51f6ee03","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/832e231cff476102e8204a9e7bddfe5c6154a375","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53687","url":"https://www.cve.org/CVERecord?id=CVE-2023-53687","licence":"CVE Terms of Use","modified":"2026-05-11T19:49:58.704Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53687","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53687","licence":"Public domain","modified":"2026-10-28T19:10:00.193Z"}],"updatedAt":"2026-11-25T22:58:35.007Z","epss":{"score":0.00149,"percentile":0.04282,"date":"2026-12-01T12:00:22.000Z"}}