Skip to content
Heist/ feed
Back to feed
UnratedFix available

drm/msm/dpu: Add check for cstate

Type: advisorySources: OSV

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/

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.173, 5.15.99, 5.4.235, 6.1.16, 6.2.3
CVEs
CVE-2023-54122
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 01:29 UTC · Revision 1

Source evidence

drm/msm/dpu: Add check for cstate

core-osv · Original source

Published 24 Dec 2025, 13:06 UTC

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/

osv:CVE-2023-54122

Kernel

Fixed versions: 5.4.235, 5.10.173, 5.15.99, 6.1.16, 6.2.3

Complete source record
{
  "id": "b3fe16cf7f069bed1fc3ee8055123a182d9babc79180f9fa233d77ad47c664a0",
  "url": "https://osv.dev/vulnerability/CVE-2023-54122",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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/",
    "evidence": "osv:CVE-2023-54122",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.235",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.173",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.99",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.2.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-54122",
      "aliases": [
        "CVE-2023-54122"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1cff7440a86e04a613665803b42034c467f035fa"
                },
                {
                  "fixed": "a6afb8293ec0932f4ed0b7aecfc0ccc00f44dc2b"
                },
                {
                  "fixed": "31f2f8de0ea7387cde18a24f94ba5e0b886b9842"
                },
                {
                  "fixed": "d4ba50614cb3f0686bbdb505af685d78e75861dc"
                },
                {
                  "fixed": "42442d42c57b9fbc35cb5ef72c7e5347c5f7d082"
                },
                {
                  "fixed": "a52e5a002d18bffabff66f6f59a74f8e9aac5afe"
                },
                {
                  "fixed": "c96988b7d99327bb08bd9efd29a203b22cd88ace"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54122.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.3.0"
                },
                {
                  "fixed": "5.4.235"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.173"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.99"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.2.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54122.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.355414494Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/31f2f8de0ea7387cde18a24f94ba5e0b886b9842",
        "https://git.kernel.org/stable/c/42442d42c57b9fbc35cb5ef72c7e5347c5f7d082",
        "https://git.kernel.org/stable/c/a52e5a002d18bffabff66f6f59a74f8e9aac5afe",
        "https://git.kernel.org/stable/c/a6afb8293ec0932f4ed0b7aecfc0ccc00f44dc2b",
        "https://git.kernel.org/stable/c/c96988b7d99327bb08bd9efd29a203b22cd88ace",
        "https://git.kernel.org/stable/c/d4ba50614cb3f0686bbdb505af685d78e75861dc",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54122.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-54122",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54122.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-54122",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 521351,
  "published_at": "2025-12-24T13:06:41.9+00:00"
}