{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0b37ac63fc9db7779168ad18d7e6e8ab9df6a40b"
            },
            {
              "fixed": "ff58e5ef1b46ce614af048d2d04986df05ffab90"
            },
            {
              "fixed": "95048a12f48c627bc2ccc4d84f87640630ba2bdb"
            },
            {
              "fixed": "c0c70a11365cba7fba25a77463582bcec0f7846e"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.18.0"
            },
            {
              "fixed": "6.18.34"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.0.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64050.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/dpu: don't mix devm and drmm functions\n\nMixing devm and drmm functions will result in a use-after-free on msm\ndriver teardown if userspace keeps a reference on the drm device:\nThe WB connector data will be destroyed because of the use of\ndevm_kzalloc()), while the usersoace still can try interacting with the\nWB connector (which uses drmm_ functions).\n\nChange dpu_writeback_init() to use drmm_.\n\nPatchwork: https://patchwork.freedesktop.org/patch/722656/",
  "id": "CVE-2026-64050",
  "modified": "2026-07-22T05:29:56.367649791Z",
  "published": "2026-07-19T15:39:33.942Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/95048a12f48c627bc2ccc4d84f87640630ba2bdb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c0c70a11365cba7fba25a77463582bcec0f7846e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ff58e5ef1b46ce614af048d2d04986df05ffab90"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64050.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64050"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "drm/msm/dpu: don't mix devm and drmm functions"
}