# CVE-2023-53851: drm/msm/dp: Drop aux devices together with DP controller

- Severity: High 8.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-12-09T01:30:16.081Z
- Modified: 2026-10-03T11:17:28.960Z
- Assigned by: Linux

## 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/

(As written by CVE List.)

## Affected

- Linux Linux: from 2b57f726611e294dc4297dd48eb8c98ef1938e82 before ff1338a3bfaa2f35b5f49a434f2ad6884b75fafe; from 2b57f726611e294dc4297dd48eb8c98ef1938e82 before e09ed06938807cb113cddd0708ed74bd8cdaff33; from 2b57f726611e294dc4297dd48eb8c98ef1938e82 before 2fde37445807e6e6d7981402d0bf1be0e5d81291; from 2b57f726611e294dc4297dd48eb8c98ef1938e82 before a7bfb2ad2184a1fba78be35209b6019aa8cc8d4d; 8768663188e4169333f66583e4d2432e65c421df; from 6.0.7 before 6.1; 6.1 (not affected: before 6.1; from 6.1.189 up to 6.1.*; from 6.3.13 up to 6.3.*; from 6.4.4 up to 6.4.*; from 6.5 up to *)

## References

- <https://git.kernel.org/stable/c/ff1338a3bfaa2f35b5f49a434f2ad6884b75fafe>
- <https://git.kernel.org/stable/c/e09ed06938807cb113cddd0708ed74bd8cdaff33>
- <https://git.kernel.org/stable/c/2fde37445807e6e6d7981402d0bf1be0e5d81291>
- <https://git.kernel.org/stable/c/a7bfb2ad2184a1fba78be35209b6019aa8cc8d4d>

## Sources

- CVE List: [CVE-2023-53851](https://www.cve.org/CVERecord?id=CVE-2023-53851), CVE Terms of Use, modified 2026-10-03
- NVD: [CVE-2023-53851](https://nvd.nist.gov/vuln/detail/CVE-2023-53851), Public domain, modified 2026-10-03

---

Page: https://cve.day/CVE-2023-53851 · Whole record: https://cve.day/CVE-2023-53851.json · Rebuilt by cve.day 2026-11-25T22:58:35.078Z
