# CVE-2024-43904: drm/amd/display: Add null checks for 'stream' and 'plane' before dereferencing

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-08-26T10:11:05.029Z
- Modified: 2026-06-17T07:51:57.810Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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)

(As written by CVE List.)

## Affected

- Linux Linux: from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before fcf9d6a9f30ea414b6b84a6e901cebd44e146847; from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 5e84eda48ffb2363437db44bbd0235594f8a58f9; from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 10c20d79d59cadfe572480d98cec271a89ffb024; from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 16a8a2a839d19c4cf7253642b493ffb8eee1d857; from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 15c2990e0f0108b9c3752d7072a97d45d4283aea; 4.15 (not affected: before 4.15; from 5.15.181 up to 5.15.*; from 6.1.116 up to 6.1.*; from 6.6.60 up to 6.6.*; from 6.10.5 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: before 6.10.5

## References

- <https://git.kernel.org/stable/c/fcf9d6a9f30ea414b6b84a6e901cebd44e146847>
- <https://git.kernel.org/stable/c/5e84eda48ffb2363437db44bbd0235594f8a58f9>
- <https://git.kernel.org/stable/c/10c20d79d59cadfe572480d98cec271a89ffb024>
- <https://git.kernel.org/stable/c/16a8a2a839d19c4cf7253642b493ffb8eee1d857> (patch)
- <https://git.kernel.org/stable/c/15c2990e0f0108b9c3752d7072a97d45d4283aea> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-43904](https://www.cve.org/CVERecord?id=CVE-2024-43904), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-43904](https://nvd.nist.gov/vuln/detail/CVE-2024-43904), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-43904 · Whole record: https://cve.day/CVE-2024-43904.json · Rebuilt by cve.day 2026-11-25T22:58:44.743Z
