CVE-2023-53388
JSON

7.8high

drm/mediatek: Clean dangling pointer on bind error path

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: Clean dangling pointer on bind error path mtk_drm_bind() can fail, in which case drm_dev_put() is called, destroying the drm_device object. However a pointer to it was still being held in the private object, and that pointer would be passed along to DRM in mtk_drm_sys_prepare() if a suspend were triggered at that point, resulting in a panic. Clean the pointer when destroying the object in the error path to prevent this from happening.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 119f5173628aa7a0c3cf9db83460d40709e8241d before 9a48f99aa7bea15e0b1d8b0040c46b4792eddf3b, from 119f5173628aa7a0c3cf9db83460d40709e8241d before a161f1d92aabb3b8463f752bdc3474dc3a5ec0e5, from 119f5173628aa7a0c3cf9db83460d40709e8241d before 6a89ddee1686a8872384aaa9f0bcfa6b675acd86, from 119f5173628aa7a0c3cf9db83460d40709e8241d before 49cf87919daeeeeeb9e924c39bdd9203af434461, from 119f5173628aa7a0c3cf9db83460d40709e8241d before 7b551a501fa714890e55bae73efede1185728d72, from 119f5173628aa7a0c3cf9db83460d40709e8241d before f3887c771576c5d740c5c5b8bf654a8ab8020b7d, from 119f5173628aa7a0c3cf9db83460d40709e8241d before 36aa8c61af55675ed967900fbe5deb32d776f051, 4.7
Not affected: before 4.7, from 4.19.276 up to 4.19.*, from 5.4.235 up to 5.4.*, from 5.10.173 up to 5.10.*, from 5.15.99 up to 5.15.*, from 6.1.16 up to 6.1.*
CVE List
linux linux_kernelfrom 4.7 before 4.19.276, from 4.20 before 5.4.235, from 5.5 before 5.10.173, from 5.11 before 5.15.99, from 5.16 before 6.1.16, from 6.2 before 6.2.3NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-53388 changed 2026-08-05CVE Terms of Use
NVDCVE-2023-53388 changed 2026-06-17Public domain