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 5C4694F6463 for ; Wed, 16 Sep 2026 10:38:42 +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=1789555127; cv=none; b=JQPULmBdddavrDx1RM59Avr+nNs+wtrda+NBsNg2CDZ+p1Z8PsW3O74AZ4cG9DY4jNnvTgu8Tqs2MZwBKHws3dd+qh36ipZsDG8Gz53GL6j6qYo0CkJtVurHE+q50hACTv5JWf3OBqIJKxsAQZ9E+D/M5ooSAEvf64KXLT24S7Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555127; c=relaxed/simple; bh=vhq63jbDSj2DyMHyfxparuxJcDa2JHrFrglxjxLjCmQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FU0i5I+kDsqa4lDIn3IKEn4gHRpKG0MsK3KcnJ5/SMOTeZECCcRjSUyHisnWl9TMvjFNgvVgdfF4FwJ1S7KxiYbx2FvDh8JPbghPouBatchIfldhd4rhQ5mwjha34zeGtP/KjS6g2/PyTK45vmCfjiL+vEmj5lgCnen7sO5aszw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=N4fNnztK; 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="N4fNnztK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 069781F00898; Wed, 16 Sep 2026 10:38:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555120; bh=QKCGdxsGgKhmyooH2q76mgY9p6wENAeYBZVbWNsu27g=; h=From:To:Cc:Subject:Date:Reply-To; b=N4fNnztK2Xt89Kidm4D1dQOIbofFtR4DzdzuVpZbsy2Mi2quMJdWIdmYGglNL+BzS BgqZ9mrVmy7Xs6efByDApxNZgjes1Fw6fKG5AGHK/T3E55IiO9JUxscguES7rrS16v TecTkmLsry6cCgmMlFLBnH7Yx4Ivf/ZU52aFvGb8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89885: media: platform: mtk-mdp3: Fix SCP device refcounting Date: Wed, 16 Sep 2026 11:30:15 +0100 Message-ID: <2026091633-CVE-2026-89885-2f01@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=2963; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Xy0gaGvvp7eLJ2LjUL6oPDgwG6TYsayKFPNNb8UVROU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8ntFpWL7q6qXtJwsuNzwK5GfKTh59qU1Kyt23v+tY yH22tehI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbSZcYwv+Jzwp2tmxnDC2aL feyZ/fboNSsOY4YFG3z893pGRB+9ExcRHVX+Z4W4++bjAA== 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: media: platform: mtk-mdp3: Fix SCP device refcounting mdp_probe() first tries to get the SCP handle with scp_get(). When that fails, it falls back to looking up the SCP platform device with __get_pdev_by_id() and then reads its driver data. The fallback lookup returns the platform device with a reference, just like scp_get() does. However, the fallback path currently drops that reference immediately after platform_get_drvdata(). The driver later still calls scp_put(mdp->scp) unconditionally from the probe error path and from mdp_video_device_release(), which drops the SCP device reference again. Keep the fallback reference until the existing scp_put() call, so that the fallback path follows the same ownership rules as the scp_get() path. The Linux kernel CVE team has assigned CVE-2026-89885 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.64 with commit db4d27e6bbbf511f9cdb33f682535a0a3cb7c403 and fixed in 6.12.110 with commit dce13bd9bade3ecc1acb7579397f24743850997f Issue introduced in 6.18.4 with commit 31ba1a4d7a5d9466f6ef4910a372b8200f8aad19 and fixed in 6.18.51 with commit 252850653569fdb1a259937e02325cf32c8f0970 Issue introduced in 6.19 with commit 8f6f3aa21517ef34d50808af0c572e69580dca20 and fixed in 7.2.5 with commit 0259ade4c4ceaf1e184a7c1aea8071ad398f9b6f Issue introduced in 6.19 with commit 8f6f3aa21517ef34d50808af0c572e69580dca20 and fixed in 7.3-rc1 with commit 55793e4665b7f15151e6f5ab51ca980e73abed5d 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-89885 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/media/platform/mediatek/mdp3/mtk-mdp3-core.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/dce13bd9bade3ecc1acb7579397f24743850997f https://git.kernel.org/stable/c/252850653569fdb1a259937e02325cf32c8f0970 https://git.kernel.org/stable/c/0259ade4c4ceaf1e184a7c1aea8071ad398f9b6f https://git.kernel.org/stable/c/55793e4665b7f15151e6f5ab51ca980e73abed5d