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 7C9343CF204 for ; Mon, 10 Aug 2026 12:08:42 +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=1786363723; cv=none; b=o6C2ovw9JGcgk443P+ugmfwU1Vh892YPUNGS9od5+zX2UngDpqWvdxlECc9we3swhwnsU53AxhRE2wlk1899FR40nbGiOyLkB6DMxl4EjzCghAadgz5Zt7inf1oUHrWA1B+2vc0fYtiVgWpk/HW06dznUjCoZx+s51hQ20CLTz8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363723; c=relaxed/simple; bh=L/WP3q4JwqOBLDNBbd+iNBvs64dk8c4Xpez9nBPCNFE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lJhoqfDHmlfqeyUBXNq4U9wH26sZmHoVTwcHsJl8OTgVCla/tCxzLLCQO4MhnIADidCjHFAXNLLiupf4ZWJNsWrAyVsb/cE46EwwJliGLUMxMHumJXAMatfD0FdecJIi5Fz/8lOO1Ix3L0JoTqK3SVLV6QKiCWsu0NMq91woK5w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hCBHxHml; 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="hCBHxHml" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EEBFD1F000E9; Mon, 10 Aug 2026 12:08:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363722; bh=8sjYIhLjTzWMMsJeccs+2gKPkUT9acrl3sjiQla0Ioo=; h=From:To:Cc:Subject:Date:Reply-To; b=hCBHxHml+KAds/uyLaxdlnNXq5w+Nec6Z/hq+c9zjo6g5K0SNswTxPMZMzMGlMwN3 NDpNJUZwfAxYeMyR6zzXe4UAEQJjkr1eEA9RiNOenOL1OzEypxCo6qlMqRxMShegVX H7ZC5ccAy2lkxNJYOMS7c0TyM7r2ujXLEyCHhodg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68236: drm/amd/display: set new_stream to NULL after release Date: Mon, 10 Aug 2026 13:59:13 +0200 Message-ID: <2026081017-CVE-2026-68236-54da@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=2960; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=o5oxth6p9BrnarKEco/jivl9aELLjDYuPkrLX61FriY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe+ZOWPIl26Dn29VpOYpSZW3fC166Vk4MKRR5lhn+x Ee44sj8jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiInjLDHL6QJeeyJB6sME42 nKS3SPBe6Hx3RYY5HFbs4bFxvOu83kavMzrXoS8/4d49AA== 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/amd/display: set new_stream to NULL after release In dm_update_crtc_state(), the skip_modeset path releases new_stream via dc_stream_release() but does not set the pointer to NULL. If a later error (e.g., color management failure) triggers the fail label, the error path calls dc_stream_release() again on the same dangling pointer, causing a double release and potential use-after-free. Fix this by setting new_stream to NULL after the initial release. (cherry picked from commit 99f3af19073b3ddbfd96e789124cce12c4277b28) The Linux kernel CVE team has assigned CVE-2026-68236 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f and fixed in 6.6.148 with commit ba8bf1dcbb44773e7a0fd13b42925c644e0d5e76 Issue introduced in 4.15 with commit 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f and fixed in 6.12.101 with commit 5182e442e61397d446c36995b8f5676942d35b82 Issue introduced in 4.15 with commit 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f and fixed in 6.18.42 with commit 679f23f0a3606afcef1ffabd72222f00a54ad9e3 Issue introduced in 4.15 with commit 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f and fixed in 7.1.6 with commit 0676fecbb5242aa22c057e78326d6d6041db034c Issue introduced in 4.15 with commit 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f and fixed in 7.2-rc4 with commit 9fa26b9eed6195bf840f39ac183b9a6237548755 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-68236 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/amd/display/amdgpu_dm/amdgpu_dm.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/ba8bf1dcbb44773e7a0fd13b42925c644e0d5e76 https://git.kernel.org/stable/c/5182e442e61397d446c36995b8f5676942d35b82 https://git.kernel.org/stable/c/679f23f0a3606afcef1ffabd72222f00a54ad9e3 https://git.kernel.org/stable/c/0676fecbb5242aa22c057e78326d6d6041db034c https://git.kernel.org/stable/c/9fa26b9eed6195bf840f39ac183b9a6237548755