CVE-2024-45015
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
11/09/2024
Last modified:
13/09/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/msm/dpu: move dpu_encoder&#39;s connector assignment to atomic_enable()<br />
<br />
For cases where the crtc&#39;s connectors_changed was set without enable/active<br />
getting toggled , there is an atomic_enable() call followed by an<br />
atomic_disable() but without an atomic_mode_set().<br />
<br />
This results in a NULL ptr access for the dpu_encoder_get_drm_fmt() call in<br />
the atomic_enable() as the dpu_encoder&#39;s connector was cleared in the<br />
atomic_disable() but not re-assigned as there was no atomic_mode_set() call.<br />
<br />
Fix the NULL ptr access by moving the assignment for atomic_enable() and also<br />
use drm_atomic_get_new_connector_for_encoder() to get the connector from<br />
the atomic_state.<br />
<br />
Patchwork: https://patchwork.freedesktop.org/patch/606729/
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.19 (including) | 6.6.48 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.10.7 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.11:rc4:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



