In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Add null checks for 'stream' and 'plane' before dereferencing
This commit adds null checks for the 'stream' and 'plane' variables in
the dcn30_apply_idle_power_optimizations function. These variables were
previously assumed to be null at line 922, but they were used later in
the code without checking if they were null. This could potentially lead
to a null pointer dereference, which would cause a crash.
The null checks ensure that 'stream' and 'plane' are not null before
they are used, preventing potential crashes.
Fixes the below static smatch checker:
drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn30/dcn30_hwseq.c:938 dcn30_apply_idle_power_optimizations() error: we previously assumed 'stream' could be null (see line 922)
drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn30/dcn30_hwseq.c:940 dcn30_apply_idle_power_optimizations() error: we previously assumed 'plane' could be null (see line 922)
References
Configurations
History
08 Nov 2024, 16:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
27 Aug 2024, 13:40
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
CWE | CWE-476 | |
Summary |
|
|
First Time |
Linux
Linux linux Kernel |
|
References | () https://git.kernel.org/stable/c/15c2990e0f0108b9c3752d7072a97d45d4283aea - Patch | |
References | () https://git.kernel.org/stable/c/16a8a2a839d19c4cf7253642b493ffb8eee1d857 - Patch | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.5 |
26 Aug 2024, 11:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-08-26 11:15
Updated : 2024-11-08 16:15
NVD link : CVE-2024-43904
Mitre link : CVE-2024-43904
CVE.ORG link : CVE-2024-43904
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-476
NULL Pointer Dereference