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 04CF84C14EC for ; Sun, 18 Oct 2026 16:16:04 +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=1792340165; cv=none; b=XFV0dQMUZBMYcN9wyNJasHDNc8rEc8eQDZjXP9rdqQag2RaY+oY0gzystA/U5ahbYrqtckZxM56R0eYPRc7bW4S1Vxkf3LzVYo3R7f77K24Q583bOSM9fsBLRcQyx5+8lhnfQG8JwtZT0qPyDlqn4e+hW7IIR3z3hLtbDYkBQsM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792340165; c=relaxed/simple; bh=mHX8CcKpaeDDYLHZgFXXyE+QcNIFguRA/2p5Y4r8wS4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AeF3AWcUkcW0fx+5w5UwZ9WQMEME7RKnrc0BifirwL/GlAWHAyF4gDruLCRKNWUdu7nSnAqocWNHxB9Eg7+FvaVm3X2Eyxo5yhJX+Q63uf+qjdLO0IOASsR5x0EkaE9S8czi9rN4wZrUd3iZtKQbjLg7GpRBCFyXK7eqpSBBT/0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Mk0mcLgi; 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="Mk0mcLgi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B6891F000C4; Sun, 18 Oct 2026 16:16:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792340163; bh=osOn5+8ZcZooZfMkK1StHApoBzurpaFXrL4dbi6iI7U=; h=From:To:Cc:Subject:Date:Reply-To; b=Mk0mcLgir6v5m49Rh6JlR017wqmjY6MCjTLs+s1PK4Jm0puLtblwvnQIQFJ8bYqIL ib0XwXVPhmWy9TbCCMKfPJg+VaGqPpirYLzht9sjglNHPnLbvay8hnU78y43hT//Qv cBOyic8by+kLbirkA+QwrbV0q1EeOJeK7H2PWsG0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98783: drm/mediatek: Add missing IS_ERR check for ovl_adaptor platform device Date: Sun, 18 Oct 2026 17:45:58 +0200 Message-ID: <2026101821-CVE-2026-98783-0622@gregkh> X-Mailer: git-send-email 2.56.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=2595; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=P+ACVzwgovJzGNhSxttCyHlUSNPaCUSwcMn1nlg0T4A=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXoayvIzaFRJw6XzyS8HdRV/duufW8OiccWX0vxPNe fL2/en+HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARKymGufL7VftjtqrNCwtu 31KeMFPmX+/hTwxzuBKXnW975GqitnSql+S/e6zCQU+vAgA= 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/mediatek: Add missing IS_ERR check for ovl_adaptor platform device platform_device_register_data() can fail and return an ERR_PTR, but the return value is used without checking, leading to an invalid pointer being stored in ddp_comp[].dev and passed to component_match_add() and mtk_ddp_comp_init(), which could result in a kernel crash. Add an IS_ERR() check to jump to the error handling path on failure. The Linux kernel CVE team has assigned CVE-2026-98783 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit 0d9eee9118b77e51eeafc5bf4d008fac97035d56 and fixed in 6.12.113 with commit 4acac370aad2d4895a82f40b2f03e9ef70eecaa6 Issue introduced in 6.4 with commit 0d9eee9118b77e51eeafc5bf4d008fac97035d56 and fixed in 6.18.56 with commit 88f8a92dcb0cb154774595dee7226458de4cbd38 Issue introduced in 6.4 with commit 0d9eee9118b77e51eeafc5bf4d008fac97035d56 and fixed in 7.2.10 with commit aeef8a8537bcfb26689edb36ed905b8b2873001c Issue introduced in 6.4 with commit 0d9eee9118b77e51eeafc5bf4d008fac97035d56 and fixed in 7.3-rc6 with commit bce7698e2e6565bb765bd0522337f29f5f312624 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-98783 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/mediatek/mtk_drm_drv.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/4acac370aad2d4895a82f40b2f03e9ef70eecaa6 https://git.kernel.org/stable/c/88f8a92dcb0cb154774595dee7226458de4cbd38 https://git.kernel.org/stable/c/aeef8a8537bcfb26689edb36ed905b8b2873001c https://git.kernel.org/stable/c/bce7698e2e6565bb765bd0522337f29f5f312624