What’s Vulnerable › Vulnerabilities
CVE-2026-64050: drm/msm/dpu: don't mix devm and drmm functions
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-19 · updated 2026-09-02
- Weakness: CWE-416
Description
In the Linux kernel, the following vulnerability has been resolved: drm/msm/dpu: don't mix devm and drmm functions Mixing devm and drmm functions will result in a use-after-free on msm driver teardown if userspace keeps a reference on the drm device: The WB connector data will be destroyed because of the use of devm_kzalloc()), while the usersoace still can try interacting with the WB connector (which uses drmm_ functions). Change dpu_writeback_init() to use drmm_. Patchwork: https://patchwork.freedesktop.org/patch/722656/
Affected products
- Linux kernel: from 6.18 before 6.18.34; from 6.19 before 7.0.11; 7.1-rc1, 7.1-rc2, 7.1-rc3, 7.1-rc4 — fixed in 6.18.34, 7.0.11
How to fix
Upgrade to a fixed version: Linux kernel 6.18.34, 7.0.11. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/95048a12f48c627bc2ccc4d84f87640630ba2bdb
- https://git.kernel.org/stable/c/c0c70a11365cba7fba25a77463582bcec0f7846e
- https://git.kernel.org/stable/c/ff58e5ef1b46ce614af048d2d04986df05ffab90
Get alerted when CVE-2026-64050 or the next vulnerability affects your stack