VDB

CVE-2024-45015

CVE-2024-45015 PUBLISHED

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

Reported by linux · Published September 11, 2024

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/

Affected products

VendorProductVersions
LinuxLinux25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef
LinuxLinux4.19, 0, 6.6.48
linuxlinux_kernel4.19, 4.19, 4.19
LinuxLinux25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, 4.19

Timeline

  • Sep 11, 2024 CVE Published
  • Sep 12, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (16 in total, the first dated here)
  • Jan 5, 2026 Security Advisory (68 in total, the first dated here)
  • Feb 16, 2026 CVE Updated
  • Mar 30, 2026 Distribution Patch (48 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-45015
vulnetix vdb fixes CVE-2024-45015

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-45015/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›