{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "3039cc0c0653c6e15130a8719c3237329a954670"
            },
            {
              "fixed": "4e3ca5f82346cc23c0a71f1ceb006115ff6b0745"
            },
            {
              "fixed": "9aa3e33f0c7f2679ac599a09e3102c8f716a6321"
            },
            {
              "fixed": "c601fd5414315fc515f746b499110e46272e7243"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.16.0"
            },
            {
              "fixed": "6.18.17"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23366.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/client: Do not destroy NULL modes\n\n'modes' in drm_client_modeset_probe may fail to kcalloc.  If this\noccurs, we jump to 'out', calling modes_destroy on it, which\ndereferences it.  This may result in a NULL pointer dereference in the\nerror case.  Prevent that.",
  "id": "CVE-2026-23366",
  "modified": "2026-04-01T23:10:29.413236424Z",
  "published": "2026-03-25T10:27:48.311Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4e3ca5f82346cc23c0a71f1ceb006115ff6b0745"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9aa3e33f0c7f2679ac599a09e3102c8f716a6321"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c601fd5414315fc515f746b499110e46272e7243"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23366.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23366"
    }
  ],
  "schema_version": "1.7.3",
  "summary": "drm/client: Do not destroy NULL modes"
}