CVE-2023-53851
kernel: drm/msm/dp: Drop aux devices together with DP controller
Severity
UnknownRed Hat Product Security
CVSS
Review impact separately from score.
Published · December 9, 2025
Updated · October 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
drm/msm/dp: Drop aux devices together with DP controller
Using devres to depopulate the aux bus made sure that upon a probe deferral the EDP panel device would be destroyed and recreated upon next attempt.
But the struct device which the devres is tied to is the DPUs (drm_dev->dev), which may be happen after the DP controller is torn down.
Indications of this can be seen in the commonly seen EDID-hexdump full of zeros in the log, or the occasional/rare KASAN fault where the panel's attempt to read the EDID information causes a use after free on DP resources.
It's tempting to move the devres to the DP controller's struct device, but the resources used by the device(s) on the aux bus are explicitly torn down in the error path. The KASAN-reported use-after-free also remains, as the DP aux "module" explicitly frees its devres-allocated memory in this code path.
As such, explicitly depopulate the aux bus in the error path, and in the component unbind path, to avoid these issues.
Patchwork: https://patchwork.freedesktop.org/patch/542163/
Statement
This vulnerability does not affect Red Hat Enterprise Linux or related kernel packages as the vulnerable Qualcomm DRM DisplayPort code was never introduced into supported releases. The issue involves a potential use-after-free condition during DisplayPort controller teardown on Qualcomm hardware platforms. As a result, standard Red Hat deployments carry no exposure to this flaw.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CWE not specified