{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53687","id":"CVE-2023-53687","title":"tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk","description":"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.","descriptionLong":"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.","published":"2025-10-07T15:21:39.542Z","updated":"2026-10-30T02:30:28.148254826Z","reserved":"2025-10-07T15:16:59.665Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5f5a7a5578c5885201cf9c85856f023fe8b81765","lessThan":"933e5b2998bc3a527d15efbf1e97c9e63297aa3c","status":"affected","versionType":"git"},{"version":"5f5a7a5578c5885201cf9c85856f023fe8b81765","lessThan":"01dd8a43a84616c830782166ba3cceb01ad95363","status":"affected","versionType":"git"},{"version":"5f5a7a5578c5885201cf9c85856f023fe8b81765","lessThan":"46574e5a0a2aee41e6ebb979cfe1dbaea8693e16","status":"affected","versionType":"git"},{"version":"5f5a7a5578c5885201cf9c85856f023fe8b81765","lessThan":"1962717c4649e026a4252fe6625175affd28a593","status":"affected","versionType":"git"},{"version":"5f5a7a5578c5885201cf9c85856f023fe8b81765","lessThan":"9dd8091959bc41fee51d0827276a2b982e84adf0","status":"affected","versionType":"git"},{"version":"5f5a7a5578c5885201cf9c85856f023fe8b81765","lessThan":"f0bf102ef9b05d7294bd8d506755465f6867d944","status":"affected","versionType":"git"},{"version":"5f5a7a5578c5885201cf9c85856f023fe8b81765","lessThan":"1f426293fef1c13742b2a685bf7e363f51f6ee03","status":"affected","versionType":"git"},{"version":"5f5a7a5578c5885201cf9c85856f023fe8b81765","lessThan":"832e231cff476102e8204a9e7bddfe5c6154a375","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.3","status":"affected"},{"version":"0","lessThan":"3.3","status":"unaffected","versionType":"semver"},{"version":"4.14.322","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.291","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.251","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.188","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.121","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.40","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.4.5","lessThanOrEqual":"6.4.*","status":"unaffected","versionType":"semver"},{"version":"6.5","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/933e5b2998bc3a527d15efbf1e97c9e63297aa3c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/01dd8a43a84616c830782166ba3cceb01ad95363","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/46574e5a0a2aee41e6ebb979cfe1dbaea8693e16","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1962717c4649e026a4252fe6625175affd28a593","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9dd8091959bc41fee51d0827276a2b982e84adf0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f0bf102ef9b05d7294bd8d506755465f6867d944","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1f426293fef1c13742b2a685bf7e363f51f6ee03","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/832e231cff476102e8204a9e7bddfe5c6154a375","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53687.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53687","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00149,"epssPercentile":0.04152,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53687","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53687","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53687","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-53687","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}