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 5079C182BD for ; Tue, 2 Apr 2024 06:22: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=1712038974; cv=none; b=WeDseG6ho+RjZ1G4xAZueNy5Ed1L0ltsbA0Aa7z5f89r6/0HLtYNSad7UxqLAjm/39/Fc7P6ENLtj+kHTaCIAT3gs1PE1kN+5v2ULOJUile5GjkhPVCG3tv9LHXdA2rSvF0VISpAMr1AINcRc2qeHuJoKrcAt92EiEJPCr6vZiY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712038974; c=relaxed/simple; bh=290gjhArxysvTt8JL2hyOgxCiQevy5QqKO/shTOs2jM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kJeRo5c4bpcT1mhG02Lj0h3eqTOC00ICApDd3y5FFwxQ2gqpSFqbqSQol7D7Dmd7FD25FbSl/NASuG8lmpg05NfRg79Y63vjc9XdVt9qGryGRyJtapysdawuSjpwM/CCUhnG3t5wXZNL8DnVy7W3eADexp6Dp2eJlXUyhnRZ4jQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aZfvdK9p; 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="aZfvdK9p" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73F36C433F1; Tue, 2 Apr 2024 06:22:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712038973; bh=290gjhArxysvTt8JL2hyOgxCiQevy5QqKO/shTOs2jM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=aZfvdK9pVW8nHWjxVfGg3A0WSbcuMssEAT0sq6ZcPkmK4w+C1B3dDOT7hLLETqryb SHG4WUCBYj/6Q3CkcGlJeGDODKzAvS3PeSL7Ot1NBbTDt9mn2vligfW/IVP9ICI/qd 6kLlWyLALPQ9rZ3SceG/BLfk6O1LtpG1DgLF3ZuQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26661: drm/amd/display: Add NULL test for 'timing generator' in 'dcn21_set_pipe()' Date: Tue, 2 Apr 2024 08:22:25 +0200 Message-ID: <2024040223-CVE-2024-26661-bef6@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=2018; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=290gjhArxysvTt8JL2hyOgxCiQevy5QqKO/shTOs2jM=; b=owGbwMvMwCRo6H6F97bub03G02pJDGncS+Q9DXs8dTWjly1sveLMElZU6TdBgWH7w1ld9z8HZ fX++NPUEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABM56sQwP6Lq49rgb3kqoceX f+Tl29zE8HzXIYYFswWl3adNf/tatMSvcHXUtl0WG0X/AAA= 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: Add NULL test for 'timing generator' in 'dcn21_set_pipe()' In "u32 otg_inst = pipe_ctx->stream_res.tg->inst;" pipe_ctx->stream_res.tg could be NULL, it is relying on the caller to ensure the tg is not NULL. The Linux kernel CVE team has assigned CVE-2024-26661 to this issue. Affected and fixed versions =========================== Issue introduced in 5.9 with commit 474ac4a875ca and fixed in 6.6.17 with commit 3f3c237a7065 Issue introduced in 5.9 with commit 474ac4a875ca and fixed in 6.7.5 with commit 39f24c08363a Issue introduced in 5.9 with commit 474ac4a875ca and fixed in 6.8 with commit 66951d98d9bf 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-26661 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/dcn21/dcn21_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/3f3c237a706580326d3b7a1b97697e5031ca4667 https://git.kernel.org/stable/c/39f24c08363af1cd945abad84e3c87fd3e3c845a https://git.kernel.org/stable/c/66951d98d9bf45ba25acf37fe0747253fafdf298