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

- Severity: High 8.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-09-16T10:31:49.746Z
- Modified: 2026-10-19T09:18:33.453Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from db4d27e6bbbf511f9cdb33f682535a0a3cb7c403 before dce13bd9bade3ecc1acb7579397f24743850997f; from 31ba1a4d7a5d9466f6ef4910a372b8200f8aad19 before 252850653569fdb1a259937e02325cf32c8f0970; from 8f6f3aa21517ef34d50808af0c572e69580dca20 before 0259ade4c4ceaf1e184a7c1aea8071ad398f9b6f; from 8f6f3aa21517ef34d50808af0c572e69580dca20 before 55793e4665b7f15151e6f5ab51ca980e73abed5d; from 6.12.64 before 6.12.110; from 6.18.4 before 6.18.51; 6.19 (not affected: before 6.19; from 6.12.110 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

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

## Sources

- CVE List: [CVE-2026-89885](https://www.cve.org/CVERecord?id=CVE-2026-89885), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89885](https://nvd.nist.gov/vuln/detail/CVE-2026-89885), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89885 · Whole record: https://cve.day/CVE-2026-89885.json · Rebuilt by cve.day 2026-11-25T22:59:38.967Z
