Skip to content
CVE PROGRAM SOURCE RECORD8.4 High

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • db4d27e6bbbf511f9cdb33f682535a0a3cb7c403 to < dce13bd9bade3ecc1acb7579397f24743850997faffected
  • 31ba1a4d7a5d9466f6ef4910a372b8200f8aad19 to < 252850653569fdb1a259937e02325cf32c8f0970affected
  • 8f6f3aa21517ef34d50808af0c572e69580dca20 to < 0259ade4c4ceaf1e184a7c1aea8071ad398f9b6faffected
  • 8f6f3aa21517ef34d50808af0c572e69580dca20 to < 55793e4665b7f15151e6f5ab51ca980e73abed5daffected
  • 6.12.64 to < 6.12.110affected
  • 6.18.4 to < 6.18.51affected

Linux Linux

Default version status: affected

  • 6.19affected
  • 0 to < 6.19unaffected
  • 6.12.110 to ≤ 6.12.*unaffected
  • 6.18.51 to ≤ 6.18.*unaffected
  • 7.2.5 to ≤ 7.2.*unaffected
  • 7.3 to ≤ *unaffected

References