Files
vuln-cve/data/2023/53xxx/CVE-2023-53388.json
T

305 lines
15 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2023-53388",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-09-17T14:54:09.737Z",
"datePublished": "2025-09-18T13:33:31.385Z",
"dateUpdated": "2026-08-05T09:13:51.568Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T09:13:51.568Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/mediatek: Clean dangling pointer on bind error path\n\nmtk_drm_bind() can fail, in which case drm_dev_put() is called,\ndestroying the drm_device object. However a pointer to it was still\nbeing held in the private object, and that pointer would be passed along\nto DRM in mtk_drm_sys_prepare() if a suspend were triggered at that\npoint, resulting in a panic. Clean the pointer when destroying the\nobject in the error path to prevent this from happening."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 7.8,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The dangling pointer is created in mtk_drm_bind() in the local Mediatek SoC DRM driver and consumed by mtk_drm_sys_prepare() on system sleep; there is no network or adjacent-protocol path into this component-master bind/PM path.\nAC:L - Once mtk_drm_bind() has failed (including common deferred-probe EPROBE_DEFER failures while components assemble), private->drm remains a non-NULL freed pointer and the next system suspend deterministically enters drm_mode_config_helper_suspend() on that object with no race the attacker must win.\nPR:L - On the primary MediaTek deployments (phones, Chromebooks, embedded), an ordinary local user can be present while opportunistic/autosleep suspend runs the vulnerable prepare callback; reaching this path does not require capabilities that are only available in the init user namespace.\nUI:N - After the bind error leaves the dangling pointer, system autosuspend or an attacker-driven sleep transition invokes mtk_drm_sys_prepare() without any separate victim action such as opening a file or plugging a device.\nS:U - The use-after-free corrupts kernel heap state within the host kernel's security authority and does not cross a VM, IOMMU, or sandbox boundary.\nC:H - drm_dev_put() frees the kzalloc'd drm_device while private->drm still references it; suspend then reads many fields through that object (poll state, client suspend, atomic state), so heap reuse yields a use-after-free read primitive.\nI:H - The same freed drm_device is walked by drm_mode_config_helper_suspend()/drm_atomic_helper_suspend(), so spraying the reclaimed slab provides write and control-flow hijack primitives typical of large-object kernel UAFs.\nA:H - The fix commit and related KASAN reports document a kernel panic/oops when the dangling drm_device pointer is used on suspend/shutdown, which is a full availability loss."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/gpu/drm/mediatek/mtk_drm_drv.c"
],
"versions": [
{
"version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
"lessThan": "9a48f99aa7bea15e0b1d8b0040c46b4792eddf3b",
"status": "affected",
"versionType": "git"
},
{
"version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
"lessThan": "a161f1d92aabb3b8463f752bdc3474dc3a5ec0e5",
"status": "affected",
"versionType": "git"
},
{
"version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
"lessThan": "6a89ddee1686a8872384aaa9f0bcfa6b675acd86",
"status": "affected",
"versionType": "git"
},
{
"version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
"lessThan": "49cf87919daeeeeeb9e924c39bdd9203af434461",
"status": "affected",
"versionType": "git"
},
{
"version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
"lessThan": "7b551a501fa714890e55bae73efede1185728d72",
"status": "affected",
"versionType": "git"
},
{
"version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
"lessThan": "f3887c771576c5d740c5c5b8bf654a8ab8020b7d",
"status": "affected",
"versionType": "git"
},
{
"version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
"lessThan": "36aa8c61af55675ed967900fbe5deb32d776f051",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/gpu/drm/mediatek/mtk_drm_drv.c"
],
"versions": [
{
"version": "4.7",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.7",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.19.276",
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.4.235",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.173",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.99",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.16",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.2.3",
"lessThanOrEqual": "6.2.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.3",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.7",
"versionEndExcluding": "4.19.276"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.7",
"versionEndExcluding": "5.4.235"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.7",
"versionEndExcluding": "5.10.173"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.7",
"versionEndExcluding": "5.15.99"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.7",
"versionEndExcluding": "6.1.16"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.7",
"versionEndExcluding": "6.2.3"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.7",
"versionEndExcluding": "6.3"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/9a48f99aa7bea15e0b1d8b0040c46b4792eddf3b"
},
{
"url": "https://git.kernel.org/stable/c/a161f1d92aabb3b8463f752bdc3474dc3a5ec0e5"
},
{
"url": "https://git.kernel.org/stable/c/6a89ddee1686a8872384aaa9f0bcfa6b675acd86"
},
{
"url": "https://git.kernel.org/stable/c/49cf87919daeeeeeb9e924c39bdd9203af434461"
},
{
"url": "https://git.kernel.org/stable/c/7b551a501fa714890e55bae73efede1185728d72"
},
{
"url": "https://git.kernel.org/stable/c/f3887c771576c5d740c5c5b8bf654a8ab8020b7d"
},
{
"url": "https://git.kernel.org/stable/c/36aa8c61af55675ed967900fbe5deb32d776f051"
}
],
"title": "drm/mediatek: Clean dangling pointer on bind error path",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.8,
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2023-53388",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-01-14T18:58:21.448763Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-416",
"description": "CWE-416 Use After Free"
}
]
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-01-14T19:03:05.206Z"
}
}
]
}
}