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 D1BFB16D9C2 for ; Wed, 18 Sep 2024 07:18:54 +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=1726643934; cv=none; b=liYObW4y5ZsaWDXE9+x209UgOqsS22dJOCeAZcvckx7Amg3siYNnTziomJ/VQ4lbbr+mXVHKv+334aZHkax9LYnnSD55zAoKEi5JH6FoNX0mpRi/SE2cl4IwRu6tjCdkfp6mQvJh/kUNrR3c+zcpyErXS/fCEVv79FN3TW3MqdI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726643934; c=relaxed/simple; bh=B1tkKY2oDqzOru8IffY6lNb5pDA0Paa8S4wfDhP4nk4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=smoBDZooJh4F/jEEgMgawh9Hh3FxV+DO54KN+/YAYjOLlzj9mKCbyvHdVzq/zcbcY85lhVc2f9fasyRq2GkvWzI9LvqJiWU9ZcBX33GSJD5ufRcggAs1mGVr43K/AkqT2lj6ke+KxfYpA9TKT9c4TaO6YX5KLmToPTDO7GcmetU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JnFSPyir; 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="JnFSPyir" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5AC72C4CEC3; Wed, 18 Sep 2024 07:18:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1726643934; bh=B1tkKY2oDqzOru8IffY6lNb5pDA0Paa8S4wfDhP4nk4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=JnFSPyirChpKJG65d1bP9PEzz58cKLrVfAXoGq6qcfEyW9T4tDqpLIKjChMmrcHWu G4cmJsd/Dpq7kbef0V+eOhwLAl6tUyDV27hxn9xKWt/c9fU8xNU7eoSm6E1gypznbt TwwBbd2+Smf3gdWWKjy0bczEaHRXW/gRm0xlPElw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46776: drm/amd/display: Run DC_LOG_DC after checking link->link_enc Date: Wed, 18 Sep 2024 09:17:11 +0200 Message-ID: <2024091848-CVE-2024-46776-7a95@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=1831; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=B1tkKY2oDqzOru8IffY6lNb5pDA0Paa8S4wfDhP4nk4=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmv6hKaTgW2MwtxhdWnvtH7GGl4ddXuKXwX2myTcyoWl EZW7HDqiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIkIL2CY7ygw0/qSaKVZza9J ur/la/+HaFl6Msz3OSUXYRnrGt39wuR+7XULbrnNvdIA 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: Run DC_LOG_DC after checking link->link_enc [WHAT] The DC_LOG_DC should be run after link->link_enc is checked, not before. This fixes 1 REVERSE_INULL issue reported by Coverity. The Linux kernel CVE team has assigned CVE-2024-46776 to this issue. Affected and fixed versions =========================== Fixed in 6.6.51 with commit 874e3bb302f9 Fixed in 6.10.10 with commit adc74d25cdbb Fixed in 6.11 with commit 3a82f62b0d9d 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-46776 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/link/link_factory.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/874e3bb302f97b94ac548959ec4f925b8e7b45e2 https://git.kernel.org/stable/c/adc74d25cdbba978afbb57caec23bbcd0329f7b8 https://git.kernel.org/stable/c/3a82f62b0d9d7687eac47603bb6cd14a50fa718b