media: platform: mtk-mdp3: Fix SCP device refcounting (Linux Linux)

CVE-2026-89885
HIGH 8.4

En bref

Source
NVD
EPSS
EPSS 0.20 % · centile 9 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected db4d27e6bbbf511f9cdb33f682535a0a3cb7c403 < dce13bd9bade3ecc1acb7579397f24743850997f ; affected 31ba1a4d7a5d9466f6ef4910a372b8200f8aad19 < 252850653569fdb1a259937e02325cf32c8f0970 ; affected 8f6f3aa21517ef34d50808af0c572e69580dca20 < 0259ade4c4ceaf1e184a7c1aea8071ad398f9b6f ; affected 8f6f3aa21517ef34d50808af0c572e69580dca20 < 55793e4665b7f15151e6f5ab51ca980e73abed5d ; affected 6.12.64 < 6.12.110 ; affected 6.18.4 < 6.18.51
Linux · Linuxaffected 6.19 ; unaffected 0 < 6.19 ; unaffected 6.12.110 ≤ 6.12.* ; unaffected 6.18.51 ≤ 6.18.* ; unaffected 7.2.5 ≤ 7.2.* ; unaffected 7.3 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD