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 AFFA2182BD for ; Tue, 2 Apr 2024 06:22:57 +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=1712038977; cv=none; b=YnPERSYbgNRpRvvU2DorlWgPF10KeIo/Z/bHlUjnmm1rCuhfoRTsM3/LfLrNxasoQy3Vq3NlPJUTUxwTcVZo45NSpBy/P2+brTQ6QTFJmfhvl673gICx0GCwUwiazRUQIyjO6WJ4oTFb2ySRU9t/lKzCek2TeK1nidFEUzXdi+Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712038977; c=relaxed/simple; bh=fzYN3fVUzXJBlrtrMsvYog1D+ClUcBs50LZja7gOyVI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RM1IlbL076PlkFMEh/XNdn/UKH17eYJU8MJUznAxjLpmPdWCE4gpyKJbzLobUKUDyuDkFXXf3GVb7VyR9sO/80ZVUz2V1lZFivjlvlton72RFLwu9CKJho+i6B4oGDCLBCvu6Y0HPAOeEWLZsvCJgC6TIcSQtZioqNgXP+r/i+U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZffO6WeJ; 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="ZffO6WeJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0510C433C7; Tue, 2 Apr 2024 06:22:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712038977; bh=fzYN3fVUzXJBlrtrMsvYog1D+ClUcBs50LZja7gOyVI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ZffO6WeJ5oJBvsPFJmGfEY8smbs6ZIKhsMk4h6Sd2/0ZLJDkcke/9TaU+tMchOHgG Ob+rLnIJvakZTUB7hNRFAnnnrZjXiIBuivruje1Rp/4B/o8WdxqYEeGBDcHLNrbYKk p6w4GKKLgUoiigwSxOwUQLUeCg18RrnXmXnb+snM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26662: drm/amd/display: Fix 'panel_cntl' could be null in 'dcn21_set_backlight_level()' Date: Tue, 2 Apr 2024 08:22:26 +0200 Message-ID: <2024040223-CVE-2024-26662-863c@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=2190; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fzYN3fVUzXJBlrtrMsvYog1D+ClUcBs50LZja7gOyVI=; b=owGbwMvMwCRo6H6F97bub03G02pJDGncS+R1JZMrO4Pe98ct0I9YnnagUv3zO7Esk+ezV/x/7 h3yRCS2I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZy7THDgpOr7bY7uwUWH+vS +Hwtl+vfzIhoQYb5xZPtTrcwvnBbFiJ7n9Hx3IWTv+q2AAA= 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: Fix 'panel_cntl' could be null in 'dcn21_set_backlight_level()' 'panel_cntl' structure used to control the display panel could be null, dereferencing it could lead to a null pointer access. Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn21/dcn21_hwseq.c:269 dcn21_set_backlight_level() error: we previously assumed 'panel_cntl' could be null (see line 250) The Linux kernel CVE team has assigned CVE-2024-26662 to this issue. Affected and fixed versions =========================== Issue introduced in 5.9 with commit 474ac4a875ca and fixed in 6.6.17 with commit 2e150ccea131 Issue introduced in 5.9 with commit 474ac4a875ca and fixed in 6.7.5 with commit 0c863cab0e91 Issue introduced in 5.9 with commit 474ac4a875ca and fixed in 6.8 with commit e96fddb32931 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-26662 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/2e150ccea13129eb048679114808eb9770443e4d https://git.kernel.org/stable/c/0c863cab0e9173f8b6c7bc328bee3b8625f131b5 https://git.kernel.org/stable/c/e96fddb32931d007db12b1fce9b5e8e4c080401b