Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 82AC943E9F9 for ; Thu, 3 Sep 2026 08:26:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788424010; cv=none; b=OmtvSNRWQCtORnqXYEKt7uljW+ciMjv5DlmfWeSOm29HNM1uOW5YjkUa+M2tToKw3eEl7nl3EduxxbFNBZXdyY/tHIt+5slxAQThwCkslpf6axQvQ8uUU35O3VXkez/+HDguS/lGeX/p3D+hBN1VYZncn2pPtew+r5OL08GHCeE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788424010; c=relaxed/simple; bh=/LO0sWqe+id3JM7ngkpqi542918VAB864APDImzX1b0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MXZP/TdHOPBHh0yKxOEg8wLhcpG6pamJRyS8UciTJOGownUhDbaYdeRjRrjAitFBdcqp90cYPv+PDd7YaEGtAgwmROiPtLn3zzoI0ZDSr/F/bQ4WqeeDxQkcfjXJ9nYSA9FQZTIaRXWIPMZz4VefxR+pSV80odc1144LrPni4R4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mppDMztF; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="mppDMztF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFD231F000E9; Thu, 3 Sep 2026 08:26:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788424009; bh=TcaFXIuHviBXW8E5Nlqovl+R+jxyYQ+1Vi088QXqdfo=; h=From:To:Cc:Subject:Date:Reply-To; b=mppDMztFsaT5J3ciR/tz879TL/8pNkBDJZ5n18HVppTwZSKqWSrT7JX6J0siHYAVt 4cmY5XAeXR3AqSWupdRgGV2a6x6RJ55AhlfZ87jvpvt3a6h88Tq9jFBmlVwPloahFy n8uGJ1QnX4re/qUl6R6s+3v1UY6DEAClFqrKlMEc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80740: drm/log: Fix infinite loop when scale is too large for display Date: Thu, 3 Sep 2026 10:26:37 +0200 Message-ID: <2026090336-CVE-2026-80740-9ffb@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2363; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=BT0m7zmGubPaNiuChlj7xVhQlGN4z59oMogtv47tgtg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkz9W2WZGbmWCc77gr+GHLqVUHvq3NPhfYFfv30ZJmkI VuCdOWejlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIagTDXKlrpe07PslzX1fg CrswPeNNgv7x1QzzXXfEMGy05WO4FB4v7zPz1Kx/a498AQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/log: Fix infinite loop when scale is too large for display When scale is large enough that scaled_font exceeds the display dimensions, rows or columns become 0. A columns value of 0 causes an infinite loop in drm_log_draw_kmsg_record() because the loop never decrements len. Check for zero rows/columns in drm_log_setup_modeset() and return an error, cleaning up the already allocated buffer to avoid a leak. The Linux kernel CVE team has assigned CVE-2026-80740 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 8a4b913df427b8f900bcc7849cc15a7b81628d57 and fixed in 6.18.46 with commit a7d172b27aa3e1ad56e39949bfe4e5caa25fb20b Issue introduced in 6.14 with commit 8a4b913df427b8f900bcc7849cc15a7b81628d57 and fixed in 7.1.10 with commit 50ca4dbbaf3eb6deb74daca360b4dabc739a6fa6 Issue introduced in 6.14 with commit 8a4b913df427b8f900bcc7849cc15a7b81628d57 and fixed in 7.2 with commit f4f2bba28df9b9aaa00262a462139dbbcdc38d9f 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-2026-80740 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/clients/drm_log.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/a7d172b27aa3e1ad56e39949bfe4e5caa25fb20b https://git.kernel.org/stable/c/50ca4dbbaf3eb6deb74daca360b4dabc739a6fa6 https://git.kernel.org/stable/c/f4f2bba28df9b9aaa00262a462139dbbcdc38d9f