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 64DFC1991AE for ; Mon, 21 Oct 2024 18:04:00 +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=1729533840; cv=none; b=iRv44/AoRqqqevEdIHM3Oks0GcvRNsA6EHVV3ELoyoKdQLWa+BF+6CwHfORljKQymjnws7PAz+jLvokgvAfXnBaXxO9LKxmEoAAgzL9OzMyQjmPClAAntNlcaLrpiu9T93ke71AEEby7UPvp7bIi24I5XjbdlCJT+SyQneiYU2g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729533840; c=relaxed/simple; bh=KUgzRLxoApmpv7B5KGQFokSc3k2MpqoytULrO5ywjTs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lqd72ChyJeGk08wV7qz6I0hqmJuM2yRe8oEizTKyIIDapirAxLNBqFjJVKvI84EcrXW4mL9LQy7J3RzP/2IYCPqCXGvIPjRiTgmX7AJe43n9xfo+ei6klZNsaB3DVOL8XN4OXBeUSPKRN/ECVqAg+TOvkeM4agXCOunGEqZEmFk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xK+M4vlu; 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="xK+M4vlu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D59FEC4CEC7; Mon, 21 Oct 2024 18:03:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729533840; bh=KUgzRLxoApmpv7B5KGQFokSc3k2MpqoytULrO5ywjTs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=xK+M4vluY6z0LgKexHBeiYSPBdhOf0JO8OZ7FEvh6yLjpIndDWveqiXXMYs/BqOhe DQE6B6phleVxh8DzwpCLRfgq4VIckV3a75DM971RCABOPMQ2ZkDXgo5Ipq/+yuMz/9 BTe01xowbFx5HpO/NFLC4IHJ0s+eTuU7xl0fqAyU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-49906: drm/amd/display: Check null pointer before try to access it Date: Mon, 21 Oct 2024 20:01:54 +0200 Message-ID: <2024102121-CVE-2024-49906-5cae@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=1707; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KUgzRLxoApmpv7B5KGQFokSc3k2MpqoytULrO5ywjTs=; b=owGbwMvMwCRo6H6F97bub03G02pJDOli0z5+2/489IluhZ9W67Pp1w7+8F0cdyNln4fz1aC1g uIdzYKuHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRtDqG+Q4SsVn9mtntkl+F KlLKPs24b6DJxTC/qsR1swmj2oV9OS+vnC33YrBcJ7sVAA== 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 pointer before try to access it [why & how] Change the order of the pipe_ctx->plane_state check to ensure that plane_state is not null before accessing it. The Linux kernel CVE team has assigned CVE-2024-49906 to this issue. Affected and fixed versions =========================== Fixed in 6.11.3 with commit 2002ccb93004 Fixed in 6.12-rc1 with commit 1b686053c06f 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-49906 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/dcn20/dcn20_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/2002ccb93004e76a471b180560accb2c1f850f35 https://git.kernel.org/stable/c/1b686053c06ffb9f4524b288110cf2a831ff7a25