GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2023-54122 (GCVE-0-2023-54122)

Vulnerability from cvelistv5 – Published: 2025-12-24 13:06 – Updated: 2026-05-11 19:55
VLAI
Title
drm/msm/dpu: Add check for cstate
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/msm/dpu: Add check for cstate As kzalloc may fail and return NULL pointer, it should be better to check cstate in order to avoid the NULL pointer dereference in __drm_atomic_helper_crtc_reset. Patchwork: https://patchwork.freedesktop.org/patch/514163/
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 1cff7440a86e04a613665803b42034c467f035fa , < a6afb8293ec0932f4ed0b7aecfc0ccc00f44dc2b (git)
Affected: 1cff7440a86e04a613665803b42034c467f035fa , < 31f2f8de0ea7387cde18a24f94ba5e0b886b9842 (git)
Affected: 1cff7440a86e04a613665803b42034c467f035fa , < d4ba50614cb3f0686bbdb505af685d78e75861dc (git)
Affected: 1cff7440a86e04a613665803b42034c467f035fa , < 42442d42c57b9fbc35cb5ef72c7e5347c5f7d082 (git)
Affected: 1cff7440a86e04a613665803b42034c467f035fa , < a52e5a002d18bffabff66f6f59a74f8e9aac5afe (git)
Affected: 1cff7440a86e04a613665803b42034c467f035fa , < c96988b7d99327bb08bd9efd29a203b22cd88ace (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.3
Unaffected: 0 , < 5.3 (semver)
Unaffected: 5.4.235 , ≤ 5.4.* (semver)
Unaffected: 5.10.173 , ≤ 5.10.* (semver)
Unaffected: 5.15.99 , ≤ 5.15.* (semver)
Unaffected: 6.1.16 , ≤ 6.1.* (semver)
Unaffected: 6.2.3 , ≤ 6.2.* (semver)
Unaffected: 6.3 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a6afb8293ec0932f4ed0b7aecfc0ccc00f44dc2b",
              "status": "affected",
              "version": "1cff7440a86e04a613665803b42034c467f035fa",
              "versionType": "git"
            },
            {
              "lessThan": "31f2f8de0ea7387cde18a24f94ba5e0b886b9842",
              "status": "affected",
              "version": "1cff7440a86e04a613665803b42034c467f035fa",
              "versionType": "git"
            },
            {
              "lessThan": "d4ba50614cb3f0686bbdb505af685d78e75861dc",
              "status": "affected",
              "version": "1cff7440a86e04a613665803b42034c467f035fa",
              "versionType": "git"
            },
            {
              "lessThan": "42442d42c57b9fbc35cb5ef72c7e5347c5f7d082",
              "status": "affected",
              "version": "1cff7440a86e04a613665803b42034c467f035fa",
              "versionType": "git"
            },
            {
              "lessThan": "a52e5a002d18bffabff66f6f59a74f8e9aac5afe",
              "status": "affected",
              "version": "1cff7440a86e04a613665803b42034c467f035fa",
              "versionType": "git"
            },
            {
              "lessThan": "c96988b7d99327bb08bd9efd29a203b22cd88ace",
              "status": "affected",
              "version": "1cff7440a86e04a613665803b42034c467f035fa",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.3"
            },
            {
              "lessThan": "5.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.235",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.173",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.99",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.2.*",
              "status": "unaffected",
              "version": "6.2.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.235",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.173",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.99",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.16",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.3",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/dpu: Add check for cstate\n\nAs kzalloc may fail and return NULL pointer,\nit should be better to check cstate\nin order to avoid the NULL pointer dereference\nin __drm_atomic_helper_crtc_reset.\n\nPatchwork: https://patchwork.freedesktop.org/patch/514163/"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:55:54.315Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a6afb8293ec0932f4ed0b7aecfc0ccc00f44dc2b"
        },
        {
          "url": "https://git.kernel.org/stable/c/31f2f8de0ea7387cde18a24f94ba5e0b886b9842"
        },
        {
          "url": "https://git.kernel.org/stable/c/d4ba50614cb3f0686bbdb505af685d78e75861dc"
        },
        {
          "url": "https://git.kernel.org/stable/c/42442d42c57b9fbc35cb5ef72c7e5347c5f7d082"
        },
        {
          "url": "https://git.kernel.org/stable/c/a52e5a002d18bffabff66f6f59a74f8e9aac5afe"
        },
        {
          "url": "https://git.kernel.org/stable/c/c96988b7d99327bb08bd9efd29a203b22cd88ace"
        }
      ],
      "title": "drm/msm/dpu: Add check for cstate",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-54122",
    "datePublished": "2025-12-24T13:06:41.900Z",
    "dateReserved": "2025-12-24T13:02:52.521Z",
    "dateUpdated": "2026-05-11T19:55:54.315Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2023-54122",
      "date": "2026-09-15",
      "epss": "0.00209",
      "percentile": "0.11261"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-54122\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-24T13:16:14.160\",\"lastModified\":\"2026-06-17T06:46:50.487\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/msm/dpu: Add check for cstate\\n\\nAs kzalloc may fail and return NULL pointer,\\nit should be better to check cstate\\nin order to avoid the NULL pointer dereference\\nin __drm_atomic_helper_crtc_reset.\\n\\nPatchwork: https://patchwork.freedesktop.org/patch/514163/\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"1cff7440a86e04a613665803b42034c467f035fa\",\"lessThan\":\"a6afb8293ec0932f4ed0b7aecfc0ccc00f44dc2b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"1cff7440a86e04a613665803b42034c467f035fa\",\"lessThan\":\"31f2f8de0ea7387cde18a24f94ba5e0b886b9842\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"1cff7440a86e04a613665803b42034c467f035fa\",\"lessThan\":\"d4ba50614cb3f0686bbdb505af685d78e75861dc\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"1cff7440a86e04a613665803b42034c467f035fa\",\"lessThan\":\"42442d42c57b9fbc35cb5ef72c7e5347c5f7d082\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"1cff7440a86e04a613665803b42034c467f035fa\",\"lessThan\":\"a52e5a002d18bffabff66f6f59a74f8e9aac5afe\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"1cff7440a86e04a613665803b42034c467f035fa\",\"lessThan\":\"c96988b7d99327bb08bd9efd29a203b22cd88ace\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.3\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.3\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.4.235\",\"lessThanOrEqual\":\"5.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.173\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.99\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.16\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.2.3\",\"lessThanOrEqual\":\"6.2.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.3\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/31f2f8de0ea7387cde18a24f94ba5e0b886b9842\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/42442d42c57b9fbc35cb5ef72c7e5347c5f7d082\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a52e5a002d18bffabff66f6f59a74f8e9aac5afe\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a6afb8293ec0932f4ed0b7aecfc0ccc00f44dc2b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c96988b7d99327bb08bd9efd29a203b22cd88ace\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d4ba50614cb3f0686bbdb505af685d78e75861dc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-06-30T10:20:40+00:00",
      "cve": "CVE-2023-54122",
      "id": "CVE-2023-54122",
      "initial_release_date": "2023-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: drm/msm/dpu: Add check for cstate",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-54122.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-31T00:53:53Z",
      "cve": "CVE-2023-54122",
      "id": "CVE-2023-54122",
      "initial_release_date": "2025-12-25T00:55:07Z",
      "product_status:known_affected": "427",
      "product_status:known_not_affected": "359",
      "product_status:recommended": "196",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2023-54122",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2023-54122.json",
      "version": "22"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Loading…