What’s Vulnerable › Vulnerabilities

CVE-2026-89885: media: platform: mtk-mdp3: Fix SCP device refcounting

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.110, 6.18.51, 7.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-89885 or the next vulnerability affects your stack