CVE-2026-89885 media: platform: mtk-mdp3: Fix SCP device refcounting
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.12.64 이상 6.12.110 미만
- 6.18.4 이상 6.18.51 미만
- 6.19
해결 버전
- 6.12.110 이상
- 6.18.51 이상
- 6.19 미만
- 7.2.5 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/0259ade4c4ceaf1e184a7c1aea8071ad398f9b6f (새 창)
- git.kernel.org https://git.kernel.org/stable/c/252850653569fdb1a259937e02325cf32c8f0970 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/55793e4665b7f15151e6f5ab51ca980e73abed5d (새 창)
- git.kernel.org https://git.kernel.org/stable/c/dce13bd9bade3ecc1acb7579397f24743850997f (새 창)