CVE-2026-64050

drm/msm/dpu: don't mix devm and drmm functions

HIGH
7.8
CVSS Score
Published: July 19, 2026 at 03:39 PM UTC
Updated: September 2, 2026 at 09:22 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.18 ≤ v < 6.18.346.18 ≤ v < 7.0.116.18 ≤ v < 7.16.19 ≤ v < 7.0.110b37ac63fc9db7779168ad18d7e6e8ab9df6a40b7.1 rc17.1 rc27.1 rc37.1 rc4
Vendor states this is fixed in 95048a12f48c627bc2ccc4d84f87640630ba2bdb (fixed)
Vendor states this is fixed in c0c70a11365cba7fba25a77463582bcec0f7846e (fixed)
Vendor states this is fixed in ff58e5ef1b46ce614af048d2d04986df05ffab90 (fixed)
Vendor states this is fixed in 6.18 (unaffected)
Vendor states this is fixed in 6.18.34 (unaffected)
Vendor states this is fixed in 7.0.11 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card