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 462C41E4102 for ; Wed, 4 Sep 2024 18:37:11 +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=1725475032; cv=none; b=l001PNuZAw/KhCEiEIBzQZYf8Z/gOue+eFj95K42itkeYwwHXk6VHF8QTnt/PGP4+V6Q3LYFP5dui1BHXS6GPhNNDH48d+WN2duT1woLsLhws7WgAv4Dhg4hlg8hpFs07up2YMzkKi3R8SAnWNY+190QVqqRXukT3viogXpntd4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725475032; c=relaxed/simple; bh=up7NoxpYC6L2OJftzvSme7VWoGkUptXQ6S8eMEj1pBI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FJYUVEkSXbTaN+nXOmiajwP5T+9JP6Rw/G8mBAgJx+PRDlXxEsPLx+osbp3TYCUCIhB6uvYnWgOisk/LO7OE20XJ8HzRvgJBt8I4xH4qZz8JJlnM1bDs2bOr09x3abltzoGXvOaH1nIx/onGvveymU6uyh80DcDRIIwN+Q6qbC4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=czIX3PPL; 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="czIX3PPL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B646C4CEC2; Wed, 4 Sep 2024 18:37:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1725475031; bh=up7NoxpYC6L2OJftzvSme7VWoGkUptXQ6S8eMEj1pBI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=czIX3PPL3geBXyieO40r5x299dctqCjBVoJSpHof1MPTGHZHF0tZ9rjU0fepqCRUn pKv0bg5HyRakZWms/i+U1KSYrDVxevNw2iXBNlN92ImxU7BZKa6udk+9gGQ5HRQT8n iuiAPqvsuv6zQcrME4N6IC6noRgR8aQt72gMCX8s= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-44955: drm/amd/display: Don't refer to dc_sink in is_dsc_need_re_compute Date: Wed, 4 Sep 2024 20:36:15 +0200 Message-ID: <2024090412-CVE-2024-44955-20e8@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=2081; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=up7NoxpYC6L2OJftzvSme7VWoGkUptXQ6S8eMEj1pBI=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk3VsyRuah7VYdjr+xXFkepN65r/0lKHjC573nxFc9Do x42jiSljlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIjQHDfJcV39JeK8pwSTyK M4w6+uPGv2OrzjLMDxG63JMZEeZ8ptPzP+uLfVOTzl7SAwA= 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: Don't refer to dc_sink in is_dsc_need_re_compute [Why] When unplug one of monitors connected after mst hub, encounter null pointer dereference. It's due to dc_sink get released immediately in early_unregister() or detect_ctx(). When commit new state which directly referring to info stored in dc_sink will cause null pointer dereference. [how] Remove redundant checking condition. Relevant condition should already be covered by checking if dsc_aux is null or not. Also reset dsc_aux to NULL when the connector is disconnected. The Linux kernel CVE team has assigned CVE-2024-44955 to this issue. Affected and fixed versions =========================== Fixed in 6.10.5 with commit 39b217193729 Fixed in 6.11-rc1 with commit fcf6a49d7992 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-44955 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_mst_types.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/39b217193729aa45eded8de24d9245468a0c0263 https://git.kernel.org/stable/c/fcf6a49d79923a234844b8efe830a61f3f0584e4