From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A8DB3A785C for ; Sun, 19 Jul 2026 15:43:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784475794; cv=none; b=qJ+QpfmF48/4mgp0dUwPddjK0o3TXKmXj5U2NKFIa0iJzQX8/wgQ/O/DbZoFYSAoJb5vYLM33slyZuBtBm0Qc93qAKXdsve18hPhly/35eaHqowScavL70PNj8FbJLjHZWEzynxm0ekm1sTtx0+/nkyBDOuUu67Pcj+fclUKVRU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784475794; c=relaxed/simple; bh=GehLJszzpUV+mX6RMPGzfHEDyhAeGR3fkqO18A78oPc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mu0jwyFodWxYjVT2EO7v89q3ipz/tY6aHbFn0zO06Emzynf76Fv3eD7ZgA9AA6NQ7mFIDdtUe3/mhDWRoTuRRm5H2SXFKcA3JM4r+6DbmjjCcnvWbWe/OIolW6EuQADP4rqvy71PF7Mf4QE7VPEBrDagviQTwQzX2Ot2Y6DzGPE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ucda4bWe; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Ucda4bWe" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3400F1F000E9; Sun, 19 Jul 2026 15:43:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784475792; bh=NLx2Yyd0qm5kw51JWAZe8Cgnu21X644AnvE9KTczoM8=; h=From:To:Cc:Subject:Date:Reply-To; b=Ucda4bWe4x8Nywaxxsd8Uh25BqecSUYOOACa6HZ8aF2r0F4tojW9IGLH4OP+XlLyl 2Ir2KV4/pypkW2nuDXjd3pxeMkpkkCVWKGTVi8wLVWxQpyodZckPT4+TI3li32seU8 9VvyIXO8G5ynaH3fGgreE9F4ku/RANhDEmbMdVJY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64050: drm/msm/dpu: don't mix devm and drmm functions Date: Sun, 19 Jul 2026 17:38:32 +0200 Message-ID: <2026071908-CVE-2026-64050-625f@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2426; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6uM78g2rKfRNfpQ18MpFLUzf7gYE7/nQN7C9dP09c6U=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkx7xNuOf981PK/VO6/iEr35UPGHvIxpZOXmU6tmZN54 0x00xHWjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI5BKGuYLP3t47de76fslD iYk/eVhSmR/LrGSYX31hztlXOns8G7VEGH/PyNK4ovjgBQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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/ The Linux kernel CVE team has assigned CVE-2026-64050 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit 0b37ac63fc9db7779168ad18d7e6e8ab9df6a40b and fixed in 6.18.34 with commit ff58e5ef1b46ce614af048d2d04986df05ffab90 Issue introduced in 6.18 with commit 0b37ac63fc9db7779168ad18d7e6e8ab9df6a40b and fixed in 7.0.11 with commit 95048a12f48c627bc2ccc4d84f87640630ba2bdb Issue introduced in 6.18 with commit 0b37ac63fc9db7779168ad18d7e6e8ab9df6a40b and fixed in 7.1 with commit c0c70a11365cba7fba25a77463582bcec0f7846e Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-64050 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/ff58e5ef1b46ce614af048d2d04986df05ffab90 https://git.kernel.org/stable/c/95048a12f48c627bc2ccc4d84f87640630ba2bdb https://git.kernel.org/stable/c/c0c70a11365cba7fba25a77463582bcec0f7846e