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.
CVE-2026-89885
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-89885
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "db4d27e6bbbf511f9cdb33f682535a0a3cb7c403",
"lessThan": "dce13bd9bade3ecc1acb7579397f24743850997f",
"versionType": "git"
},
{
"status": "affected",
"version": "31ba1a4d7a5d9466f6ef4910a372b8200f8aad19",
"lessThan": "252850653569fdb1a259937e02325cf32c8f0970",
"versionType": "git"
},
{
"status": "affected",
"version": "8f6f3aa21517ef34d50808af0c572e69580dca20",
"lessThan": "0259ade4c4ceaf1e184a7c1aea8071ad398f9b6f",
"versionType": "git"
},
{
"status": "affected",
"version": "8f6f3aa21517ef34d50808af0c572e69580dca20",
"lessThan": "55793e4665b7f15151e6f5ab51ca980e73abed5d",
"versionType": "git"
},
{
"status": "affected",
"version": "6.12.64",
"lessThan": "6.12.110",
"versionType": "semver"
},
{
"status": "affected",
"version": "6.18.4",
"lessThan": "6.18.51",
"versionType": "semver"
}
],
"programFiles": [
"drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.19"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.19",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.110",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.51",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.5",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-89885
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #36332 · Revision 1
- Added to Heist Feed
- Publisher date