CVE-2024-43904

MEDIUM

Linux Kernel < 6.10.5 - Null Pointer Dereference in dcn30_apply_idle_power_optimizations

Title source: llm
STIX 2.1

Description

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)

Scores

CVSS v3 5.5
EPSS 0.0024
EPSS Percentile 14.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (17)
linux/Kernel 4.15.0 - 5.15.181linux
linux/Kernel 5.16.0 - 6.1.116linux
linux/Kernel 6.2.0 - 6.6.60linux
linux/Kernel 6.7.0 - 6.10.5linux
Linux/Linux < 4.15
Linux/Linux 4.15
Linux/Linux 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c - 10c20d79d59cadfe572480d98cec271a89ffb024
Linux/Linux 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c - 15c2990e0f0108b9c3752d7072a97d45d4283aea
Linux/Linux 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c - 16a8a2a839d19c4cf7253642b493ffb8eee1d857
Linux/Linux 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c - 5e84eda48ffb2363437db44bbd0235594f8a58f9
... and 7 more
Published Aug 26, 2024
Tracked Since Feb 18, 2026