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 CD45F10E3 for ; Tue, 30 Jul 2024 07:48:58 +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=1722325738; cv=none; b=NDDTOh4IDrO0hPNxxTD6MTgMT/UGWFogQa8itkBqTSv2eVyv1lYqK+BU/OSXF1rcH+Gz0nazJsNdm2fkJ/pEknkO9Ikv/oEjU4qhpaN6bUp9IDHlkMUGQ6wjm/pSgViSdgTolpsuIODoWkPi8jz2mtVjsg8B8KWMLcitOjlp2iU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722325738; c=relaxed/simple; bh=o26TgiY+4zuBx02f7CizVHmp4X0HVEiCc54TRAA9W/I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ji6Gv9Ibat20agBEqEM3bQtKbmidQ2ajEy8yRIlf+zPN7ozd76ZP93nScllYMXTFEqKDqdev9O4Ywl15kqYYje4EuiiEdFlFjGdgGcyYjhqSG4HcoDj2E5dPcMNqwfs9uLwXcTiAuCnfU9/3vOX4Hcy8wET5jtua8hp4JZD/WGU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LvecIhdH; 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="LvecIhdH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 349C3C32782; Tue, 30 Jul 2024 07:48:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722325738; bh=o26TgiY+4zuBx02f7CizVHmp4X0HVEiCc54TRAA9W/I=; h=From:To:Cc:Subject:Date:Reply-to:From; b=LvecIhdHAO5S0fppcYFDtvQfCwds6PCeF1GEFF5BvumrVseq4GxnaPrKc6mY+qJkC sBPsRagyBTn7cMwDkPeYvNIr3DmtIaYLv8+53eavdGd23/REDJL+mHr/HEwJiFF0NT IxxMJdLxj+6MKuRoxUt6i2kMTAT2cpALOkRHK6iY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42120: drm/amd/display: Check pipe offset before setting vblank Date: Tue, 30 Jul 2024 09:47:38 +0200 Message-ID: <2024073024-CVE-2024-42120-c2ff@gregkh> X-Mailer: git-send-email 2.45.2 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=2193; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=o26TgiY+4zuBx02f7CizVHmp4X0HVEiCc54TRAA9W/I=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkrZvW8mWDwcuPSpAdrAn9tYUjk28555cb7e7HxbhrBS hHT1j6b0xHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATqVJmmJ+sXKEhsTluk8yH /8tZT0wOXX1naibD/IyQKTbOjVcm3NSeHPL/+CKbzfpbywA= 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: Check pipe offset before setting vblank pipe_ctx has a size of MAX_PIPES so checking its index before accessing the array. This fixes an OVERRUN issue reported by Coverity. The Linux kernel CVE team has assigned CVE-2024-42120 to this issue. Affected and fixed versions =========================== Fixed in 5.10.222 with commit b2e9abc95583 Fixed in 5.15.163 with commit 0b3702f9d43d Fixed in 6.1.98 with commit d2c3645a4a5a Fixed in 6.6.39 with commit 96bf81cc1bd0 Fixed in 6.9.9 with commit c5ec2afeeee4 Fixed in 6.10 with commit 5396a70e8cf4 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-42120 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/irq/dce110/irq_service_dce110.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/b2e9abc95583ac7bbb2c47da4d476a798146dfd6 https://git.kernel.org/stable/c/0b3702f9d43d163fd05e43b7d7e22e766dbef329 https://git.kernel.org/stable/c/d2c3645a4a5ae5d933b4116c305d9d82b8199dbf https://git.kernel.org/stable/c/96bf81cc1bd058bb8af6e755a548e926e934dfd1 https://git.kernel.org/stable/c/c5ec2afeeee4c91cebc4eff6d4f1ecf4047259f4 https://git.kernel.org/stable/c/5396a70e8cf462ec5ccf2dc8de103c79de9489e6