{"id":"CVE-2024-43904","published":"2024-08-26T10:11:05Z","modified":"2026-05-11T20:32:00Z","title":"drm/amd/display: Add null checks for 'stream' and 'plane' before dereferencing","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Add null checks for 'stream' and 'plane' before dereferencing\n\nThis commit adds null checks for the 'stream' and 'plane' variables in\nthe dcn30_apply_idle_power_optimizations function. These variables were\npreviously assumed to be null at line 922, but they were used later in\nthe code without checking if they were null. This could potentially lead\nto a null pointer dereference, which would cause a crash.\n\nThe null checks ensure that 'stream' and 'plane' are not null before\nthey are used, preventing potential crashes.\n\nFixes the below static smatch checker:\ndrivers/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)\ndrivers/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)","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00306,"percentile":0.15905,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/fcf9d6a9f30ea414b6b84a6e901cebd44e146847","tags":[]},{"url":"https://git.kernel.org/stable/c/5e84eda48ffb2363437db44bbd0235594f8a58f9","tags":[]},{"url":"https://git.kernel.org/stable/c/10c20d79d59cadfe572480d98cec271a89ffb024","tags":[]},{"url":"https://git.kernel.org/stable/c/16a8a2a839d19c4cf7253642b493ffb8eee1d857","tags":[]},{"url":"https://git.kernel.org/stable/c/15c2990e0f0108b9c3752d7072a97d45d4283aea","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":3.2,"factors":[{"name":"EPSS percentile","points":3.18}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < fcf9d6a9f30ea414b6b84a6e901cebd44e146847",">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 5e84eda48ffb2363437db44bbd0235594f8a58f9",">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 10c20d79d59cadfe572480d98cec271a89ffb024",">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 16a8a2a839d19c4cf7253642b493ffb8eee1d857",">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 15c2990e0f0108b9c3752d7072a97d45d4283aea"]},{"vendor":"Linux","product":"Linux","versions":["4.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T15:28:40.587220Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-40554","exploited":false,"provenance":"source"}}