CVE-2024-45015

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-45015
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-45015.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-45015
Downstream
Related
Published
2024-09-11T16:15:06Z
Modified
2025-08-09T20:01:25Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

drm/msm/dpu: move dpuencoder's connector assignment to atomicenable()

For cases where the crtc's connectorschanged was set without enable/active getting toggled , there is an atomicenable() call followed by an atomicdisable() but without an atomicmode_set().

This results in a NULL ptr access for the dpuencodergetdrmfmt() call in the atomicenable() as the dpuencoder's connector was cleared in the atomicdisable() but not re-assigned as there was no atomicmode_set() call.

Fix the NULL ptr access by moving the assignment for atomicenable() and also use drmatomicgetnewconnectorforencoder() to get the connector from the atomicstate.

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

References

Affected packages