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 B57C23C3C for ; Fri, 27 Sep 2024 12:36:19 +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=1727440579; cv=none; b=UwSIjqJYk9Y5CJkY0tbCX3mwaat1we0Fm6wBpW1pAA5wgFPHZmoXQxe75o9mHY86TStL4sHLz0k+1VDqsBy9EM5VnDpLrxwPbWiBtnq1lFEewKvVlKMiiFEBAOL0yYDf8VXXATdbAv8/3k+EaDn7o6YCeD1MZEX1yQcs9yu5aoI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727440579; c=relaxed/simple; bh=H2zTt0LSkhWgmSqjQVyg4pGb/iGwOBpoKnmPoMAgqnU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NTGmlhKnI6uGJiKHUhn+LnMwbQM0FuUQrx7hd8SyZapFDXtQYwSSDX/jviV6OqBUJU1uZV67vvS17ukxWOWRgw0vN6YiUKzxSb7qFd7WQ8QbtoFnO0M1ftPzAg2HNIfUXkXIIBL8UKCSg3zq4w7R1oE589OdGtJvXZcI2koTDVE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=bTj6mkFN; 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="bTj6mkFN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28565C4CEC4; Fri, 27 Sep 2024 12:36:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1727440579; bh=H2zTt0LSkhWgmSqjQVyg4pGb/iGwOBpoKnmPoMAgqnU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=bTj6mkFNDkTpn2TSuBn1BW57ydvMpuy2TKxG37mzDf2UDAW+H+LTrf5+1Lv/ageAd Ub7xVRSfpiAfArZo6dzDCsdqopXvGLkohC8Pt4jwyT3T9Il6VmYJVIEA1PAvy16QZU fomvY73Mv/zEwKaHZYlB99L47SU+s3ZJTdU1MNZM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46802: drm/amd/display: added NULL check at start of dc_validate_stream Date: Fri, 27 Sep 2024 14:36:07 +0200 Message-ID: <2024092706-CVE-2024-46802-c5e1@gregkh> X-Mailer: git-send-email 2.46.2 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=1892; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=H2zTt0LSkhWgmSqjQVyg4pGb/iGwOBpoKnmPoMAgqnU=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnflm27qVbn275c6+RSy5X39bxvZO3ymhZ4xE2sXVNux TTWrftbOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiExkZFiyqTtU/69S9PXyO kUmzzIQC9glZaQzzYxPVfPx+C7rNNpLWY8u64ZCyWk8PAA== 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: added NULL check at start of dc_validate_stream [Why] prevent invalid memory access [How] check if dc and stream are NULL The Linux kernel CVE team has assigned CVE-2024-46802 to this issue. Affected and fixed versions =========================== Fixed in 6.1.109 with commit 356fcce9cdbf Fixed in 6.6.50 with commit 154a50bf4221 Fixed in 6.10.9 with commit 6bf920193ba1 Fixed in 6.11 with commit 26c56049cc4f 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-46802 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_resource.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/356fcce9cdbfe338a275e9e1836adfdd7f5c52a9 https://git.kernel.org/stable/c/154a50bf4221a6a6ccf88d565b8184da7c40a2dd https://git.kernel.org/stable/c/6bf920193ba1853bad780bba565a789246d9003c https://git.kernel.org/stable/c/26c56049cc4f1705b498df013949427692a4b0d5