Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 393822EBDC9 for ; Fri, 25 Jul 2025 12:48:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753447736; cv=none; b=Zbv3ofd6WMn3Gyvy+CuiCVfrT8l9U9HDTcMHA0GOouynS6VAJn2DQzg4hNp7wmPBJUPxD9PxA2Mdn/oGVM05Cg+G7FlxSDq8S6zu+9+W1bU50XAdFup7yuVngRiHDXG2QuyWRHaj/YO1uUq6fP33hV390Q7mG8aNJHV+vATfeDo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753447736; c=relaxed/simple; bh=ZiLosWL5dbzmOo43kbUeMiDk1TMQTlcBWXLqB1Mvftw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=I0YSW3P3zHVftMXp5/2/XaIjVQO2DveLLvDtftS6YrnVADU6yQAYimX5QgFuktNZcC3samIG/rw0xvvI1hFJv7Wz35a0VlZXAuNDMkeAvULAxamoytf/WkFZS5Ra8e9Qd0ep9NftgBr/YNWbKcPEhkJPEK3YZ9rgyF4GBEzfVSY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KJUV3MHQ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="KJUV3MHQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2756C4CEE7; Fri, 25 Jul 2025 12:48:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1753447736; bh=ZiLosWL5dbzmOo43kbUeMiDk1TMQTlcBWXLqB1Mvftw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=KJUV3MHQUFithW/0/9cMoq7ScW46jc1fPNDATweiam2VWRJajl7y21s2+mw3MBnaS Ns4CsZQuBDfY94e7WnBXw13oE9T9dgzC0TAlBD6Z1rW86xn/rqk1hF46xozox51Iq1 +/2n34uoT0d7GzfQOsBM07Q3JzWaHs7UIsHfNrhg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38361: drm/amd/display: Check dce_hwseq before dereferencing it Date: Fri, 25 Jul 2025 14:48:02 +0200 Message-ID: <2025072557-CVE-2025-38361-3f11@gregkh> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1994; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=d/tF2uIFG/RuMEeDNtRjIEHs9+wYW1jR6PeNNi0RWjc=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnNNX99V7qqO/2veZhxLkliq7GYiU6WAZ+s+tZG0WLuR 759Nx50xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwERqVjDMlZ19yreYVcFLWjA5 fYZLX4FsdJQpwzz9XzMUn6spPz/XN/ebjs11xkS1FR4A 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: Check dce_hwseq before dereferencing it [WHAT] hws was checked for null earlier in dce110_blank_stream, indicating hws can be null, and should be checked whenever it is used. (cherry picked from commit 79db43611ff61280b6de58ce1305e0b2ecf675ad) The Linux kernel CVE team has assigned CVE-2025-38361 to this issue. Affected and fixed versions =========================== Fixed in 6.12.36 with commit e881b82f5d3d8d54d168cd276169f0fee01bf0e7 Fixed in 6.15.5 with commit df11bf0ef795b6d415c4d8ee54fa3f2105e75bcb Fixed in 6.16-rc3 with commit b669507b637eb6b1aaecf347f193efccc65d756e 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-2025-38361 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/dc/hwss/dce110/dce110_hwseq.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/e881b82f5d3d8d54d168cd276169f0fee01bf0e7 https://git.kernel.org/stable/c/df11bf0ef795b6d415c4d8ee54fa3f2105e75bcb https://git.kernel.org/stable/c/b669507b637eb6b1aaecf347f193efccc65d756e