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 365AA1FBC98 for ; Mon, 21 Oct 2024 18:06:42 +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=1729534002; cv=none; b=fCXtp+JyDrUxuuSbkBQFElKY5x4F99V+7sQjHXbebvrfKzvSZIUcC+dTMmPqNQ3LBiwu9zmeZ7SNoP7j5RYoEMhibH/T1YpOxbhC9fHjERdOVQf5FVdLOPyZ6ggf5cOtTUHW6PvqlB12Xkdm0ytt7KjDvJ2V6MSoAw/G15H6C04= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729534002; c=relaxed/simple; bh=Mguk3hMvtLxkL0ca/RjVVvcgWgCZ63I6QQ1gZz2KadA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Tbz7Y39tNBfq+wV61J4gqE40ZQYPqiJH2gD8MoA6RAPPY4bG6R33bDTNhxmIaic5+xct3vfOaYxubaSV1oqPMwZrn3noBh7gML7ijCIzcOEd+h3fB1iqBcjsurNddGwNeSVeLB9SZzBvN6T63+DuI7mLz3/L7+tgLnm+7HttM3g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CZLmdkCf; 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="CZLmdkCf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AF751C4CEC3; Mon, 21 Oct 2024 18:06:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729534002; bh=Mguk3hMvtLxkL0ca/RjVVvcgWgCZ63I6QQ1gZz2KadA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=CZLmdkCfXhxa7VlB57m4kcZzmJTDZUIq610GcgKpk5tYq5LtSPyWY8mqtf6hg79CA epU9PyJP+9Tgi3254n69LS1eMju0CJGVrBTSHG2Pd1Kwgbv2JohTH0NxMa4VkUGqxg jdx23h79FSSsqKDb9LwbPHN/3r9erbEuXZ/KFIuQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-49922: drm/amd/display: Check null pointers before using them Date: Mon, 21 Oct 2024 20:02:10 +0200 Message-ID: <2024102124-CVE-2024-49922-5435@gregkh> X-Mailer: git-send-email 2.47.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=1936; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Mguk3hMvtLxkL0ca/RjVVvcgWgCZ63I6QQ1gZz2KadA=; b=owGbwMvMwCRo6H6F97bub03G02pJDOli074ovlKvXXix7rjZDP8fFsETxf84q8pvMbXp4J9Us KH9+vODHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARkwsMCxrXPXXOnJoruPxu LA/n5nn6bf3XDRjm6X8ueDdD1f+4kUte4+xvdprZzOF+AA== 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 null pointers before using them [WHAT & HOW] These pointers are null checked previously in the same function, indicating they might be null as reported by Coverity. As a result, they need to be checked when used again. This fixes 3 FORWARD_NULL issue reported by Coverity. The Linux kernel CVE team has assigned CVE-2024-49922 to this issue. Affected and fixed versions =========================== Fixed in 6.10.14 with commit 65e1d2c29155 Fixed in 6.11.3 with commit 5e9386baa303 Fixed in 6.12-rc1 with commit 1ff12bcd7dea 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-49922 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/65e1d2c291553ef3f433a0b7109cc3002a5f40ae https://git.kernel.org/stable/c/5e9386baa3033c369564d55de4bab62423e8a1d3 https://git.kernel.org/stable/c/1ff12bcd7deaeed25efb5120433c6a45dd5504a8