# CVE-2024-45015: drm/msm/dpu: move dpu_encoder's connector assignment to atomic_enable()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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 11% of CVEs (2026-12-01)
- Published: 2024-09-11T15:13:51.441Z
- Modified: 2026-06-17T07:53:25.437Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/msm/dpu: move dpu_encoder's connector assignment to atomic_enable()

For cases where the crtc's connectors_changed was set without enable/active
getting toggled , there is an atomic_enable() call followed by an
atomic_disable() but without an atomic_mode_set().

This results in a NULL ptr access for the dpu_encoder_get_drm_fmt() call in
the atomic_enable() as the dpu_encoder's connector was cleared in the
atomic_disable() but not re-assigned as there was no atomic_mode_set() call.

Fix the NULL ptr access by moving the assignment for atomic_enable() and also
use drm_atomic_get_new_connector_for_encoder() to get the connector from
the atomic_state.

Patchwork: https://patchwork.freedesktop.org/patch/606729/

(As written by CVE List.)

## Affected

- Linux Linux: from 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef before 3fb61718bcbe309279205d1cc275a6435611dc77; from 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef before 3bacf814b6a61cc683c68465f175ebd938f09c52; from 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef before aedf02e46eb549dac8db4821a6b9f0c6bf6e3990; 4.19 (not affected: before 4.19; from 6.6.48 up to 6.6.*; from 6.10.7 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 4.19 before 6.6.48; from 6.7 before 6.10.7; 6.11

## References

- <https://git.kernel.org/stable/c/3fb61718bcbe309279205d1cc275a6435611dc77> (patch)
- <https://git.kernel.org/stable/c/3bacf814b6a61cc683c68465f175ebd938f09c52> (patch)
- <https://git.kernel.org/stable/c/aedf02e46eb549dac8db4821a6b9f0c6bf6e3990> (patch)

## Sources

- CVE List: [CVE-2024-45015](https://www.cve.org/CVERecord?id=CVE-2024-45015), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-45015](https://nvd.nist.gov/vuln/detail/CVE-2024-45015), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-45015 · Whole record: https://cve.day/CVE-2024-45015.json · Rebuilt by cve.day 2026-11-25T22:58:45.308Z
