From mboxrd@z Thu Jan 1 00:00:00 1970 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 812D2145B2D for ; Sat, 17 Aug 2024 09:12:34 +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=1723885954; cv=none; b=TQ8iH2SgfPN5zlLy6XVjzp71NUK9OnrS2VhXdGFi93Eo83j1UVDITYrBh1OTWKxyktTiR4l0lUUs77FxoLXZq9QV4wa+3CJsKJ74kMamz9OhfpGfiReDxaCixJkiMlp/pBZWRcm+7ZicSmOuEoW4lz0++pYuWFnUG36U0Amxx2k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723885954; c=relaxed/simple; bh=JjHab5QJBAdpypneQ6E8xwKvdtA9q4gHX/+rXnVaQy0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FsWH2qvl6cyB7reLw47Yl0FO2+HuvXg5rOnpvKkP32eZtvWFItecJPeemmPtyQvCn8eSTeu4aaspsW53iJ1elF1VSXWft+IFd4x0CGnkcXJXbeTZPjow9rjR6LJ8G52QPlVs63s1K7l6wLUzI9JZhaLYRsKej8QaIg9xrPwMO4o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ONF0SUAh; 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="ONF0SUAh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4236C116B1; Sat, 17 Aug 2024 09:12:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1723885954; bh=JjHab5QJBAdpypneQ6E8xwKvdtA9q4gHX/+rXnVaQy0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ONF0SUAhsqq1YtyGuPrUehgmaagz+nTAmwdSpvAB1pNOm43dj+39kdeJjH7/+mg0E XzRYGylZSPIjgonqpAdWjYVb/0uS1Jk0cs+WV1ggVCVkPCtabqfNjL32WqYFiL5U2z HKz8leleQe5hvpkj6HiVWvatR7EnZ9BIRfAqlsBQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42308: drm/amd/display: Check for NULL pointer Date: Sat, 17 Aug 2024 11:10:13 +0200 Message-ID: <2024081751-CVE-2024-42308-562d@gregkh> X-Mailer: git-send-email 2.46.0 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=1952; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JjHab5QJBAdpypneQ6E8xwKvdtA9q4gHX/+rXnVaQy0=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkHMu6vWJjcuTn03PbuSxss1p/csFdj04ZCoxM6mw684 P+/0q5VqSOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmUujEME/72ZSGOfeUSoxS +ucFfL/n9OmQ0H+GeRaOsTMWL9zDHZI0IWuv2gKmFa7fDwIA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Check for NULL pointer [why & how] Need to make sure plane_state is initialized before accessing its members. (cherry picked from commit 295d91cbc700651782a60572f83c24861607b648) The Linux kernel CVE team has assigned CVE-2024-42308 to this issue. Affected and fixed versions =========================== Fixed in 6.1.103 with commit f068494430d1 Fixed in 6.6.44 with commit 4ccd37085976 Fixed in 6.10.3 with commit 185616085b12 Fixed in 6.11-rc1 with commit 4ab68e168ae1 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-2024-42308 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/core/dc_surface.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/f068494430d15b5fc551ac928de9dac7e5e27602 https://git.kernel.org/stable/c/4ccd37085976ea5d3c499b1e6d0b3f4deaf2cd5a https://git.kernel.org/stable/c/185616085b12e651cdfd11ef00d1449f54552d89 https://git.kernel.org/stable/c/4ab68e168ae1695f7c04fae98930740aaf7c50fa