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 08A4341A919 for ; Thu, 3 Sep 2026 08:26:46 +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=1788424008; cv=none; b=bsIuxgJia7E27K+9oQxM9SmuEJ+1KrwLnEo6qPnU6N0UtaYjYKxy5I548emuEoK6z5LGlS9ir/lHNA0X//bGQisfFx/BxFcHpGH1Bdztgoj7MjNsOFJqy5vCOn0kGhP5VX6yZGndeuJaDd2QS9jRRhHEIG2MYBAocb+cXqhF9/E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788424008; c=relaxed/simple; bh=rO2FGMpl6v5tmrFC0zzBflf9+P+uv0aqZmsseCK+Y6Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EhbBmE8CtwFQT6MCF2jdLEyXlnko5+5gHpg6LhExzJ8oJfVzBDW6ExcSvPJpVKAIOA60+ca4Y2Uk8UXAhyEQExiL8+8xvJS6APjLP1kYpzEUT+AC5FgQOBKEz3p1BnCh8ytIaibqi327tZrO5IF+lNMJET/IrfP/KYxJ41S1kzQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=w1i1D9WT; 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="w1i1D9WT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B1261F000E9; Thu, 3 Sep 2026 08:26:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788424006; bh=cc8Kh9XyoMh1OoeXQ7/+X8rZK3VciDqR6l3D4qiDku8=; h=From:To:Cc:Subject:Date:Reply-To; b=w1i1D9WTJwgRHEZ+UlChY8bM9I/UxEcjvn37PkVmvgV0pX3Y2OH9eaga+Tq8579LR 1hXCjGthXIel2zImlRTq+Bqi0mNTwUU8VJ4WN7nYrz1m3T1LS+ZoGNsT+6JuEF8UPB mKL/tq1R8bwwLypkJsc/zeUDQ2Jypf6jv/V5MmM0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80741: drm/log: Fix out-of-bounds read on empty message length Date: Thu, 3 Sep 2026 10:26:38 +0200 Message-ID: <2026090336-CVE-2026-80741-e5e1@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=2221; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+CWKvkWsVVIIpQ7ghUOJ/obJZIoc7sZlb6fwQ4j1aBc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkz9W3Xc36a1Ku959TK6y3BJQ4i6nFiz07lSi/y89+eL Bo1JVKjI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZyyIJhwepdiy/VB6bEhf/f dlNo50y+QqP4SwwLtn2tYnUV/ly54E+Iv/mnz1VqinufAwA= 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 out-of-bounds read on empty message length drm_log_draw_kmsg_record() accesses s[len - 1] to strip the trailing newline, but len is unsigned int. If len is 0, the subtraction wraps to UINT_MAX, causing an out-of-bounds read. Add an early return when len is 0. The Linux kernel CVE team has assigned CVE-2026-80741 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 25e2c2a3eff55683bbe77b108db2a7e389246666 and fixed in 6.18.46 with commit 16a2716910ecf7d31bf3c033ee7c506a0b00b2ee Issue introduced in 6.14 with commit 25e2c2a3eff55683bbe77b108db2a7e389246666 and fixed in 7.1.10 with commit 16bcea56f4205314ec2aa04a7ec74e5261d253c7 Issue introduced in 6.14 with commit 25e2c2a3eff55683bbe77b108db2a7e389246666 and fixed in 7.2 with commit 60baa179ed1333535f6e2da4133511db55278ee4 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-80741 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/16a2716910ecf7d31bf3c033ee7c506a0b00b2ee https://git.kernel.org/stable/c/16bcea56f4205314ec2aa04a7ec74e5261d253c7 https://git.kernel.org/stable/c/60baa179ed1333535f6e2da4133511db55278ee4