CVE-2023-54049 (GCVE-0-2023-54049)

Vulnerability from cvelistv5 – Published: 2025-12-24 12:22 – Updated: 2025-12-24 12:22
VLAI?
Title
rpmsg: glink: Add check for kstrdup
Summary
In the Linux kernel, the following vulnerability has been resolved: rpmsg: glink: Add check for kstrdup Add check for the return value of kstrdup() and return the error if it fails in order to avoid NULL pointer dereference.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 , < 5197498c902502127a47abda5359dd7f1d41946f (git)
Affected: b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 , < 13928a837e0f014dac0322dd9f8a67c486e7f232 (git)
Affected: b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 , < efa7f31669f04084ed5996ed467ba529f4c90467 (git)
Affected: b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 , < 71ac2ffd7f80fdd350486f6645dc48456e55a59b (git)
Affected: b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 , < abd740db896b3c588dced175af98b95852c1854b (git)
Affected: b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 , < cae0787e408c30a575760a531ccb69a6b48bbfaf (git)
Affected: b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 , < 174cf8853857c190a3c4f1f1d2d06cfd095fe859 (git)
Affected: b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 , < e3734a9558afac91df3c655a6f2376b9d14933b7 (git)
Affected: b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 , < b5c9ee8296a3760760c7b5d2e305f91412adc795 (git)
Create a notification for this product.
    Linux Linux Affected: 4.13
Unaffected: 0 , < 4.13 (semver)
Unaffected: 4.14.326 , ≤ 4.14.* (semver)
Unaffected: 4.19.295 , ≤ 4.19.* (semver)
Unaffected: 5.4.257 , ≤ 5.4.* (semver)
Unaffected: 5.10.195 , ≤ 5.10.* (semver)
Unaffected: 5.15.132 , ≤ 5.15.* (semver)
Unaffected: 6.1.53 , ≤ 6.1.* (semver)
Unaffected: 6.4.16 , ≤ 6.4.* (semver)
Unaffected: 6.5.3 , ≤ 6.5.* (semver)
Unaffected: 6.6 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/rpmsg/qcom_glink_native.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "5197498c902502127a47abda5359dd7f1d41946f",
              "status": "affected",
              "version": "b4f8e52b89f69f5563ac4cb9ffdacc4418917af1",
              "versionType": "git"
            },
            {
              "lessThan": "13928a837e0f014dac0322dd9f8a67c486e7f232",
              "status": "affected",
              "version": "b4f8e52b89f69f5563ac4cb9ffdacc4418917af1",
              "versionType": "git"
            },
            {
              "lessThan": "efa7f31669f04084ed5996ed467ba529f4c90467",
              "status": "affected",
              "version": "b4f8e52b89f69f5563ac4cb9ffdacc4418917af1",
              "versionType": "git"
            },
            {
              "lessThan": "71ac2ffd7f80fdd350486f6645dc48456e55a59b",
              "status": "affected",
              "version": "b4f8e52b89f69f5563ac4cb9ffdacc4418917af1",
              "versionType": "git"
            },
            {
              "lessThan": "abd740db896b3c588dced175af98b95852c1854b",
              "status": "affected",
              "version": "b4f8e52b89f69f5563ac4cb9ffdacc4418917af1",
              "versionType": "git"
            },
            {
              "lessThan": "cae0787e408c30a575760a531ccb69a6b48bbfaf",
              "status": "affected",
              "version": "b4f8e52b89f69f5563ac4cb9ffdacc4418917af1",
              "versionType": "git"
            },
            {
              "lessThan": "174cf8853857c190a3c4f1f1d2d06cfd095fe859",
              "status": "affected",
              "version": "b4f8e52b89f69f5563ac4cb9ffdacc4418917af1",
              "versionType": "git"
            },
            {
              "lessThan": "e3734a9558afac91df3c655a6f2376b9d14933b7",
              "status": "affected",
              "version": "b4f8e52b89f69f5563ac4cb9ffdacc4418917af1",
              "versionType": "git"
            },
            {
              "lessThan": "b5c9ee8296a3760760c7b5d2e305f91412adc795",
              "status": "affected",
              "version": "b4f8e52b89f69f5563ac4cb9ffdacc4418917af1",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/rpmsg/qcom_glink_native.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.13"
            },
            {
              "lessThan": "4.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.326",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.295",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.257",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.195",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.132",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.4.*",
              "status": "unaffected",
              "version": "6.4.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.5.*",
              "status": "unaffected",
              "version": "6.5.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.6",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.326",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.295",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.257",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.195",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.132",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.53",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4.16",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5.3",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nrpmsg: glink: Add check for kstrdup\n\nAdd check for the return value of kstrdup() and return the error\nif it fails in order to avoid NULL pointer dereference."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-24T12:22:59.585Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/5197498c902502127a47abda5359dd7f1d41946f"
        },
        {
          "url": "https://git.kernel.org/stable/c/13928a837e0f014dac0322dd9f8a67c486e7f232"
        },
        {
          "url": "https://git.kernel.org/stable/c/efa7f31669f04084ed5996ed467ba529f4c90467"
        },
        {
          "url": "https://git.kernel.org/stable/c/71ac2ffd7f80fdd350486f6645dc48456e55a59b"
        },
        {
          "url": "https://git.kernel.org/stable/c/abd740db896b3c588dced175af98b95852c1854b"
        },
        {
          "url": "https://git.kernel.org/stable/c/cae0787e408c30a575760a531ccb69a6b48bbfaf"
        },
        {
          "url": "https://git.kernel.org/stable/c/174cf8853857c190a3c4f1f1d2d06cfd095fe859"
        },
        {
          "url": "https://git.kernel.org/stable/c/e3734a9558afac91df3c655a6f2376b9d14933b7"
        },
        {
          "url": "https://git.kernel.org/stable/c/b5c9ee8296a3760760c7b5d2e305f91412adc795"
        }
      ],
      "title": "rpmsg: glink: Add check for kstrdup",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-54049",
    "datePublished": "2025-12-24T12:22:59.585Z",
    "dateReserved": "2025-12-24T12:21:05.090Z",
    "dateUpdated": "2025-12-24T12:22:59.585Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-54049\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-24T13:16:06.560\",\"lastModified\":\"2025-12-24T13:16:06.560\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nrpmsg: glink: Add check for kstrdup\\n\\nAdd check for the return value of kstrdup() and return the error\\nif it fails in order to avoid NULL pointer dereference.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/13928a837e0f014dac0322dd9f8a67c486e7f232\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/174cf8853857c190a3c4f1f1d2d06cfd095fe859\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5197498c902502127a47abda5359dd7f1d41946f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/71ac2ffd7f80fdd350486f6645dc48456e55a59b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/abd740db896b3c588dced175af98b95852c1854b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b5c9ee8296a3760760c7b5d2e305f91412adc795\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cae0787e408c30a575760a531ccb69a6b48bbfaf\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e3734a9558afac91df3c655a6f2376b9d14933b7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/efa7f31669f04084ed5996ed467ba529f4c90467\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


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…