NetSight
high7.8

CVE-2023-53388

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 c…

Impact

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 products

VendorProductAffected versions
LinuxLinux Kernel
from 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.3

Weakness classification

References