medium5.5
CVE-2023-53389
In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: dp: Only trigger DRM HPD events if bridge is attached The MediaTek DisplayPor…
Impact
In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: dp: Only trigger DRM HPD events if bridge is attached The MediaTek DisplayPort interface bridge driver starts its interrupts as soon as its probed. However when the interrupts trigger the bridge might not have been attached to a DRM device. As drm_helper_hpd_irq_event() does not check whether the passed in drm_device is valid or not, a NULL pointer passed in results in a kernel NULL pointer dereference in it. Check whether the bridge is attached and only trigger an HPD event if it is.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | from 6.1 before 6.1.28 from 6.2 before 6.2.15 from 6.3 before 6.3.2 |
Weakness classification
References
- NVD record
- CVE.org record
- https://git.kernel.org/stable/c/3551789d0635dfb2df8ab8e7fdbf0647e9c1724c
- https://git.kernel.org/stable/c/36b617f7e4ae663fcadd202ea061ca695ca75539
- https://git.kernel.org/stable/c/6524d3d58797975cc40b85be1e9b89721b4e8d0b
- https://git.kernel.org/stable/c/d1c04e338016ae2517c641806a831b1f3eee2bed