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 01C534F30E3 for ; Wed, 16 Sep 2026 10:33: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=1789554839; cv=none; b=FbZsvYIYiesy6rHyc7K8R9FPRd7fzGuEK1UW+f4w4UTlt/mDALJ6KfYq7kOsiBCXUnpd7iVGbEFze29DoNbSAGaDI90tOU9JyYsm/7MlUD4vb9Qhz460O+OA+/6Z7W9XwKbm447Fx32tuuDls0Gv+WCzvfTaTsEM0C1P6feAA0E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789554839; c=relaxed/simple; bh=WcNJL4SNQ2S5Le3RoWcK1Z1siqdTiyTx9pWfNlH1V/k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IwVwRUlx4Lwu1rP59P+oS5r3kQc0yO2mIJHIUNW5pSh+8jhw8zv+sEBelw6kutLu4ZMRIgaYl4MBWWS5QN6bUVvsHTf7T4CoVr9Y4mQXcFBIog8Yx242peIgPyA/Dyjjj7VwVi8V4SXjSt0TbNrUg/nBpVs1ZcxdtA+NseUetEs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UvY+3Txl; 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="UvY+3Txl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3371A1F00898; Wed, 16 Sep 2026 10:33:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789554825; bh=qLaCN2DeNkzi9dXyR/dT2ZFvlTp1LbB4JH0XEHCS2mg=; h=From:To:Cc:Subject:Date:Reply-To; b=UvY+3TxlSZWrNnG4ntW/q8SPh7n26P56gsFXHjxCvTnHbIj1Ui1QZnQQrK4BsCYpq xjq5DrDlKXU9Bs/7XwoAPOyr/KUA8pJPANlFk7UGzGBj+BY8WZDjxqUmvzJSnJz78N xIfbbpDgPNnt+fU1ov+4FK0+TUc6qz21hshNu3Ng= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89817: drm/gud: NUL-terminate TV mode names read from the device Date: Wed, 16 Sep 2026 11:29:07 +0100 Message-ID: <2026091659-CVE-2026-89817-1f9d@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=3332; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=9CWxK2Mgvl3RDDLlqV2clxvVNq1R4dP9VvExoaBOwyo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8rMvnZnPXS08ecHTbRadc3WbvqVZ//7Mmm/1Wlp71 qVbrJe6O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi0o4M8wPXv70swnn24MK4 TpMr7nM+yM3KW8+w4Nyb9fd9alm9fVZualwjEhurs8NQAQA= 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/gud: NUL-terminate TV mode names read from the device gud_connector_add_tv_mode() reads a buffer of fixed-size mode names from the USB device and passes pointers into it to drm_mode_create_tv_properties_legacy(), which calls strlen() on each one. Nothing guarantees the device NUL-terminates a name, so strlen() can run past the end of a slot and, for the last mode, past the end of the allocation. Terminate each name at the end of its slot before use. The Linux kernel CVE team has assigned CVE-2026-89817 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 and fixed in 5.15.221 with commit 08c8ec28547987e55a90c662f8795e05c2925498 Issue introduced in 5.13 with commit 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 and fixed in 6.1.188 with commit 9096edfd6f2edbc79612b482547e0972edbcfe4b Issue introduced in 5.13 with commit 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 and fixed in 6.6.157 with commit 89210cb5ff8fdbe055c97ac688be2268f6c815ae Issue introduced in 5.13 with commit 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 and fixed in 6.12.110 with commit d0f3312f7800eb0e00d1264f66104c788f43dd69 Issue introduced in 5.13 with commit 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 and fixed in 6.18.51 with commit b86438a5c6b0250ccb07dd380184d1e70e0dea6c Issue introduced in 5.13 with commit 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 and fixed in 7.2.5 with commit 6ea61f1d4cbaa0db937e31bffc041fb8afeacf52 Issue introduced in 5.13 with commit 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 and fixed in 7.3-rc2 with commit 500cb24cd61bad8a2747ddfc49b7034899c82d94 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-89817 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/gud/gud_connector.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/08c8ec28547987e55a90c662f8795e05c2925498 https://git.kernel.org/stable/c/9096edfd6f2edbc79612b482547e0972edbcfe4b https://git.kernel.org/stable/c/89210cb5ff8fdbe055c97ac688be2268f6c815ae https://git.kernel.org/stable/c/d0f3312f7800eb0e00d1264f66104c788f43dd69 https://git.kernel.org/stable/c/b86438a5c6b0250ccb07dd380184d1e70e0dea6c https://git.kernel.org/stable/c/6ea61f1d4cbaa0db937e31bffc041fb8afeacf52 https://git.kernel.org/stable/c/500cb24cd61bad8a2747ddfc49b7034899c82d94