CVE-2024-49912

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
21/10/2024
Last modified:
03/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> drm/amd/display: Handle null &amp;#39;stream_status&amp;#39; in &amp;#39;planes_changed_for_existing_stream&amp;#39;<br /> <br /> This commit adds a null check for &amp;#39;stream_status&amp;#39; in the function<br /> &amp;#39;planes_changed_for_existing_stream&amp;#39;. Previously, the code assumed<br /> &amp;#39;stream_status&amp;#39; could be null, but did not handle the case where it was<br /> actually null. This could lead to a null pointer dereference.<br /> <br /> Reported by smatch:<br /> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:3784 planes_changed_for_existing_stream() error: we previously assumed &amp;#39;stream_status&amp;#39; could be null (see line 3774)

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.1.113 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.55 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.10.14 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.11 (including) 6.11.3 (excluding)