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 182E915748F for ; Wed, 3 Apr 2024 17:32: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=1712165575; cv=none; b=otHiqq8uHhY5pQwxDt0Wj4S75Fdjsc4/xznA09kROq+7+r8OPGMhzugQV9YdLtq88ngtmYeyP02Phsw96yqQXd6GHFg5zcN7qW2W/6mZCLINdEpCXhshYI1ABVilbazR1JkxVW/s3w/2u8zyCszO2pB79x3FCZI1OOFA0jlswzo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712165575; c=relaxed/simple; bh=jvnh6G3zsaPZZaLoICPezXkN1qlreGc+/WOmv31XXWk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=c64KHEaRAtzHBtqa38cHZXu2CXllMSyda1FJ9gVIzH3q1+FSbtPfQS6MOYPKV207HSZxci3pbl6buGf7HhLCIR/rRB+bOvYJVqvmG2Osnsb1enxhfDILmIg7y78fePI5gaGh6j+t8KHkgCtoaaGfo7YIGNyDHxnqwKB8jhSSfmM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=J7clTBw3; 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="J7clTBw3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C3AFC433F1; Wed, 3 Apr 2024 17:32:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712165574; bh=jvnh6G3zsaPZZaLoICPezXkN1qlreGc+/WOmv31XXWk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=J7clTBw3oQpyIecQZgQMpEtNTrjX8vXRspP8ciMWGun3Q1QQbyIHXuitjNowyNNeT gSRqxfC2ceajX1aKTPTw0dQJ6QfN3Au3lPWuuXzYfUZO2JOE2L+hIxvHeZyMbxDn4s soi8iwg+KLFOtSxnKY2Pov6UZQK+ThXrkb6VjE1o= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26767: drm/amd/display: fixed integer types and null check locations Date: Wed, 3 Apr 2024 19:31:34 +0200 Message-ID: <2024040306-CVE-2024-26767-bdac@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=1897; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jvnh6G3zsaPZZaLoICPezXkN1qlreGc+/WOmv31XXWk=; b=owGbwMvMwCRo6H6F97bub03G02pJDGm8k6KVm6Z0PmC/Kl0bn6C7fMnaR5ttTP9vNP3N5L88Y cXNzvqOjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIhfcMC3qfHpV+WTotX7Kj KDbw4LSuJRWTmhnmV4Z/2XIpdxmfwKJ6admVHW18H2bcBQA= 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: fixed integer types and null check locations [why]: issues fixed: - comparison with wider integer type in loop condition which can cause infinite loops - pointer dereference before null check The Linux kernel CVE team has assigned CVE-2024-26767 to this issue. Affected and fixed versions =========================== Fixed in 6.6.19 with commit 71783d1ff652 Fixed in 6.7.7 with commit beea9ab9080c Fixed in 6.8 with commit 0484e05d048b 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-26767 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/bios/bios_parser2.c drivers/gpu/drm/amd/display/dc/link/link_validation.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/71783d1ff65204d69207fd156d4b2eb1d3882375 https://git.kernel.org/stable/c/beea9ab9080cd2ef46296070bb327af066ee09d7 https://git.kernel.org/stable/c/0484e05d048b66d01d1f3c1d2306010bb57d8738