CVE-2023-53687 (GCVE-0-2023-53687)

Vulnerability from cvelistv5 – Published: 2025-10-07 15:21 – Updated: 2025-10-07 15:21
VLAI?
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: 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.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 5f5a7a5578c5885201cf9c85856f023fe8b81765 , < 933e5b2998bc3a527d15efbf1e97c9e63297aa3c (git)
Affected: 5f5a7a5578c5885201cf9c85856f023fe8b81765 , < 01dd8a43a84616c830782166ba3cceb01ad95363 (git)
Affected: 5f5a7a5578c5885201cf9c85856f023fe8b81765 , < 46574e5a0a2aee41e6ebb979cfe1dbaea8693e16 (git)
Affected: 5f5a7a5578c5885201cf9c85856f023fe8b81765 , < 1962717c4649e026a4252fe6625175affd28a593 (git)
Affected: 5f5a7a5578c5885201cf9c85856f023fe8b81765 , < 9dd8091959bc41fee51d0827276a2b982e84adf0 (git)
Affected: 5f5a7a5578c5885201cf9c85856f023fe8b81765 , < f0bf102ef9b05d7294bd8d506755465f6867d944 (git)
Affected: 5f5a7a5578c5885201cf9c85856f023fe8b81765 , < 1f426293fef1c13742b2a685bf7e363f51f6ee03 (git)
Affected: 5f5a7a5578c5885201cf9c85856f023fe8b81765 , < 832e231cff476102e8204a9e7bddfe5c6154a375 (git)
Create a notification for this product.
    Linux Linux Affected: 3.3
Unaffected: 0 , < 3.3 (semver)
Unaffected: 4.14.322 , ≤ 4.14.* (semver)
Unaffected: 4.19.291 , ≤ 4.19.* (semver)
Unaffected: 5.4.251 , ≤ 5.4.* (semver)
Unaffected: 5.10.188 , ≤ 5.10.* (semver)
Unaffected: 5.15.121 , ≤ 5.15.* (semver)
Unaffected: 6.1.40 , ≤ 6.1.* (semver)
Unaffected: 6.4.5 , ≤ 6.4.* (semver)
Unaffected: 6.5 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/tty/serial/samsung_tty.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "933e5b2998bc3a527d15efbf1e97c9e63297aa3c",
              "status": "affected",
              "version": "5f5a7a5578c5885201cf9c85856f023fe8b81765",
              "versionType": "git"
            },
            {
              "lessThan": "01dd8a43a84616c830782166ba3cceb01ad95363",
              "status": "affected",
              "version": "5f5a7a5578c5885201cf9c85856f023fe8b81765",
              "versionType": "git"
            },
            {
              "lessThan": "46574e5a0a2aee41e6ebb979cfe1dbaea8693e16",
              "status": "affected",
              "version": "5f5a7a5578c5885201cf9c85856f023fe8b81765",
              "versionType": "git"
            },
            {
              "lessThan": "1962717c4649e026a4252fe6625175affd28a593",
              "status": "affected",
              "version": "5f5a7a5578c5885201cf9c85856f023fe8b81765",
              "versionType": "git"
            },
            {
              "lessThan": "9dd8091959bc41fee51d0827276a2b982e84adf0",
              "status": "affected",
              "version": "5f5a7a5578c5885201cf9c85856f023fe8b81765",
              "versionType": "git"
            },
            {
              "lessThan": "f0bf102ef9b05d7294bd8d506755465f6867d944",
              "status": "affected",
              "version": "5f5a7a5578c5885201cf9c85856f023fe8b81765",
              "versionType": "git"
            },
            {
              "lessThan": "1f426293fef1c13742b2a685bf7e363f51f6ee03",
              "status": "affected",
              "version": "5f5a7a5578c5885201cf9c85856f023fe8b81765",
              "versionType": "git"
            },
            {
              "lessThan": "832e231cff476102e8204a9e7bddfe5c6154a375",
              "status": "affected",
              "version": "5f5a7a5578c5885201cf9c85856f023fe8b81765",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/tty/serial/samsung_tty.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.3"
            },
            {
              "lessThan": "3.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.322",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.291",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.251",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.121",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.4.*",
              "status": "unaffected",
              "version": "6.4.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.5",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.322",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.291",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.251",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.188",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.121",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.40",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4.5",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-10-07T15:21:39.542Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/933e5b2998bc3a527d15efbf1e97c9e63297aa3c"
        },
        {
          "url": "https://git.kernel.org/stable/c/01dd8a43a84616c830782166ba3cceb01ad95363"
        },
        {
          "url": "https://git.kernel.org/stable/c/46574e5a0a2aee41e6ebb979cfe1dbaea8693e16"
        },
        {
          "url": "https://git.kernel.org/stable/c/1962717c4649e026a4252fe6625175affd28a593"
        },
        {
          "url": "https://git.kernel.org/stable/c/9dd8091959bc41fee51d0827276a2b982e84adf0"
        },
        {
          "url": "https://git.kernel.org/stable/c/f0bf102ef9b05d7294bd8d506755465f6867d944"
        },
        {
          "url": "https://git.kernel.org/stable/c/1f426293fef1c13742b2a685bf7e363f51f6ee03"
        },
        {
          "url": "https://git.kernel.org/stable/c/832e231cff476102e8204a9e7bddfe5c6154a375"
        }
      ],
      "title": "tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53687",
    "datePublished": "2025-10-07T15:21:39.542Z",
    "dateReserved": "2025-10-07T15:16:59.665Z",
    "dateUpdated": "2025-10-07T15:21:39.542Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…