{"id":"CVE-2026-64050","summary":"drm/msm/dpu: don't mix devm and drmm functions","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/","modified":"2026-07-22T03:32:00.004628058Z","published":"2026-07-19T15:39:33.942Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64050.json"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0b37ac63fc9db7779168ad18d7e6e8ab9df6a40b"},{"fixed":"ff58e5ef1b46ce614af048d2d04986df05ffab90"},{"fixed":"95048a12f48c627bc2ccc4d84f87640630ba2bdb"},{"fixed":"c0c70a11365cba7fba25a77463582bcec0f7846e"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64050.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.18.0"},{"fixed":"6.18.34"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64050.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}