CVE-2023-53851

drm/msm/dp: Drop aux devices together with DP controller

State
Published
Severity
8.4 High
Published
Dec 9, 2025
Updated
Oct 3, 2026
Reserved
Dec 9, 2025

Read the record on cve.org

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/

Scores

CVSSScoreVectorSource
3.18.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 2b57f726611e294dc4297dd48eb8c98ef1938e82 to before ff1338a3bfaa2f35b5f49a434f2ad6884b75fafeAffected
  • 2b57f726611e294dc4297dd48eb8c98ef1938e82 to before e09ed06938807cb113cddd0708ed74bd8cdaff33Affected
  • 2b57f726611e294dc4297dd48eb8c98ef1938e82 to before 2fde37445807e6e6d7981402d0bf1be0e5d81291Affected
  • 2b57f726611e294dc4297dd48eb8c98ef1938e82 to before a7bfb2ad2184a1fba78be35209b6019aa8cc8d4dAffected
  • 8768663188e4169333f66583e4d2432e65c421dfAffected
  • 6.0.7 to before 6.1Affected
LinuxLinux
  • 6.1Affected
  • before 6.1Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.3.13 through 6.3.*Not affected
  • 6.4.4 through 6.4.*Not affected
  • 6.5 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.