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 20E7C84D0B for ; Wed, 1 May 2024 12:57:55 +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=1714568275; cv=none; b=NgS3oQ0y3Ym+bj/JvQ5U21I6yc+VR9tuJ8ge4p/omejgxZPn3E3vwDWqV8UkCD8DPIP+66K21FPMM2IClPzifsW37z42O7nAGpPgfw/PPTgmF0WTmarYUVXz8IqDj5BQp1VpywQ/jWiaQvMz4BV/aPSYALfsCMSI+bQoti44OI4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714568275; c=relaxed/simple; bh=wp6xzuFfmCgHqdMrShtEBBPmfPiOwmKYJVEQUsWmUYY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mJqV8A51UfJWYbwfyIpNcla6x1mT/MIClYrsGKvhAqvQX4g3E+CHmHRArTkASJ7nL/jIwOg4NV8fILW8rbU2UYSNoA3yNGRBb32s7EBxU5ha/MXZWq2izF/deN4Jd/wLgUJOXqPhmijZv59pjmvEa9FON0BFXBFIgKLig+05IW4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dBrkcS+u; 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="dBrkcS+u" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B969C113CC; Wed, 1 May 2024 12:57:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714568275; bh=wp6xzuFfmCgHqdMrShtEBBPmfPiOwmKYJVEQUsWmUYY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=dBrkcS+uJebZcLEDnD/6qq4/9bI8UYnpf45IWccs1ghpmNYx8D7XR/3J+pOvH6P4i mEOzokvVkXzCLniP6RWWUm9QlMA3ZjTliJ3UDaE48BbBFBEgti1JHIaHRKJWuZ9zED ijwljRzFNnPirrTmM5+R0P3ojbistjhyA2RVrp7E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-27044: drm/amd/display: Fix potential NULL pointer dereferences in 'dcn10_set_output_transfer_func()' Date: Wed, 1 May 2024 14:57:29 +0200 Message-ID: <2024050113-CVE-2024-27044-7e0e@gregkh> X-Mailer: git-send-email 2.44.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=3046; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wp6xzuFfmCgHqdMrShtEBBPmfPiOwmKYJVEQUsWmUYY=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlGNppLjWd9zz8vPtt5flZkX8RUHe5/wW/2qTmd2+U+l dXt4eXrHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRY6sY5jtmhPLO+Riu55xj O7muL75+7iPBNIZ5qsW/pzseO7CoLlfjuMiS17PfqX0uBQA= 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: Fix potential NULL pointer dereferences in 'dcn10_set_output_transfer_func()' The 'stream' pointer is used in dcn10_set_output_transfer_func() before the check if 'stream' is NULL. Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn10/dcn10_hwseq.c:1892 dcn10_set_output_transfer_func() warn: variable dereferenced before check 'stream' (see line 1875) The Linux kernel CVE team has assigned CVE-2024-27044 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4 with commit ddef02de0d71 and fixed in 5.4.273 with commit e019d87e02f1 Issue introduced in 5.4 with commit ddef02de0d71 and fixed in 5.10.214 with commit 330caa061af5 Issue introduced in 5.4 with commit ddef02de0d71 and fixed in 5.15.153 with commit 6ac7c7a3a9ab Issue introduced in 5.4 with commit ddef02de0d71 and fixed in 6.1.83 with commit 29fde8895b2f Issue introduced in 5.4 with commit ddef02de0d71 and fixed in 6.6.23 with commit 2d9fe7787af0 Issue introduced in 5.4 with commit ddef02de0d71 and fixed in 6.7.11 with commit 14613d52bc7f Issue introduced in 5.4 with commit ddef02de0d71 and fixed in 6.8.2 with commit 7874ab3105ca Issue introduced in 5.4 with commit ddef02de0d71 and fixed in 6.9-rc1 with commit 9ccfe80d022d 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-27044 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/dcn10/dcn10_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/e019d87e02f1e539ae48b99187f253847744ca7a https://git.kernel.org/stable/c/330caa061af53ea6d287d7c43d0703714e510e08 https://git.kernel.org/stable/c/6ac7c7a3a9ab57aba0fe78ecb922d2b20e16efeb https://git.kernel.org/stable/c/29fde8895b2fcc33f44aea28c644ce2d9b62f9e0 https://git.kernel.org/stable/c/2d9fe7787af01188dc470a649bdbb842d6511fd7 https://git.kernel.org/stable/c/14613d52bc7fc180df6d2c65ba65fc921fc1dda7 https://git.kernel.org/stable/c/7874ab3105ca4657102fee1cc14b0af70883c484 https://git.kernel.org/stable/c/9ccfe80d022df7c595f1925afb31de2232900656