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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.25% (percentile 10, 2026-11-26)
- **Published:** 2025-12-09T01:30:16.081Z
- **Modified:** 2026-10-03T11:17:28.960Z

## Who should check

- Anyone running Linux \>= 2b57f726611e294dc4297dd48eb8c98ef1938e82, \< ff1338a3bfaa2f35b5f49a434f2ad6884b75fafe; \>= 2b57f726611e294dc4297dd48eb8c98ef1938e82, \< e09ed06938807cb113cddd0708ed74bd8cdaff33; \>= 2b57f726611e294dc4297dd48eb8c98ef1938e82, \< 2fde37445807e6e6d7981402d0bf1be0e5d81291; \>= 2b57f726611e294dc4297dd48eb8c98ef1938e82, \< a7bfb2ad2184a1fba78be35209b6019aa8cc8d4d; 8768663188e4169333f66583e4d2432e65c421df; \>= 6.0.7, \< 6.1
- Anyone running Linux 6.1

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

## Affected and fixed versions

- Linux: \>= 2b57f726611e294dc4297dd48eb8c98ef1938e82, \< ff1338a3bfaa2f35b5f49a434f2ad6884b75fafe; \>= 2b57f726611e294dc4297dd48eb8c98ef1938e82, \< e09ed06938807cb113cddd0708ed74bd8cdaff33; \>= 2b57f726611e294dc4297dd48eb8c98ef1938e82, \< 2fde37445807e6e6d7981402d0bf1be0e5d81291; \>= 2b57f726611e294dc4297dd48eb8c98ef1938e82, \< a7bfb2ad2184a1fba78be35209b6019aa8cc8d4d; 8768663188e4169333f66583e4d2432e65c421df; \>= 6.0.7, \< 6.1 (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- Upgrade Linux to 6.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53851. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53851.md
Affected: Linux >= 2b57f726611e294dc4297dd48eb8c98ef1938e82, < ff1338a3bfaa2f35b5f49a434f2ad6884b75fafe; >= 2b57f726611e294dc4297dd48eb8c98ef1938e82, < e09ed06938807cb113cddd0708ed74bd8cdaff33; >= 2b57f726611e294dc4297dd48eb8c98ef1938e82, < 2fde37445807e6e6d7981402d0bf1be0e5d81291; >= 2b57f726611e294dc4297dd…
Fixed in: Linux 2fde37445807e6e6d7981402d0bf1be0e5d81291, Linux 6.1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53851 being exploited?

There is no confirmed exploitation: CVE-2023-53851 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53851?

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53851?

Linux \>= 2b57f726611e294dc4297dd48eb8c98ef1938e82, \< ff1338a3bfaa2f35b5f49a434f2ad6884b75fafe; \>= 2b57f726611e294dc4297dd48eb8c98ef1938e82, \< e09ed06938807cb113cddd0708ed74bd8cdaff33; \>= 2b57f726611e294dc4297dd48eb8c98ef1938e82, \< 2fde37445807e6e6d7981402d0bf1be0e5d81291; \>= 2b57f726611e294dc4297dd48eb8c98ef1938e82, \< a7bfb2ad2184a1fba78be35209b6019aa8cc8d4d; 8768663188e4169333f66583e4d2432e65c421df; \>= 6.0.7, \< 6.1; Linux 6.1.

### Is there a fix for CVE-2023-53851?

Yes. Fixed in Linux 2fde37445807e6e6d7981402d0bf1be0e5d81291, Linux 6.1. Upgrade Linux to 6.1 or later.

### How do I check if I'm affected by CVE-2023-53851?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53851>

HTML: <https://flawdb.com/CVE-2023-53851> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53851>
