CVE-2026-89884: media: platform: mtk-mdp3: fix NULL deref on failed SCP lookup
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
media: platform: mtk-mdp3: fix NULL deref on failed SCP lookup
Add the missing sanity check after looking up the SCP to avoid dereferencing a NULL-pointer in case its driver has not yet been bound.
The Linux kernel CVE team has assigned CVE-2026-89884 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.1 with commit 61890ccaefaff89f5babd2c8412fd222c3f5fe38 and fixed in 6.12.110 with commit 28548387d79d14c975e77787ebd1f051265e1396 Issue introduced in 6.1 with commit 61890ccaefaff89f5babd2c8412fd222c3f5fe38 and fixed in 6.18.51 with commit 5026f927ef4150ba12da6f1098cf7952d77b14b6 Issue introduced in 6.1 with commit 61890ccaefaff89f5babd2c8412fd222c3f5fe38 and fixed in 7.2.5 with commit 426ead7eed6d6b3c3f0fe0925c112ef73fc87256 Issue introduced in 6.1 with commit 61890ccaefaff89f5babd2c8412fd222c3f5fe38 and fixed in 7.3-rc1 with commit 90368323fb244da0504e3da37a182f8e89bcc3b9
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-89884
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/28548387d79d14c975e77787ebd1f051265e1396 https://git.kernel.org/stable/c/5026f927ef4150ba12da6f1098cf7952d77b14b6 https://git.kernel.org/stable/c/426ead7eed6d6b3c3f0fe0925c112ef73fc87256 https://git.kernel.org/stable/c/90368323fb244da0504e3da37a182f8e89bcc3b9