# CVE-2024-49914: drm/amd/display: Add null check for pipe_ctx->plane_state in dcn20_program_pipe

- 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 16% of CVEs (2026-12-01)
- Published: 2024-10-21T18:01:42.215Z
- Modified: 2026-10-30T13:17:38.553Z
- 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 check for pipe_ctx->plane_state in dcn20_program_pipe

This commit addresses a null pointer dereference issue in the
`dcn20_program_pipe` function. The issue could occur when
`pipe_ctx->plane_state` is null.

The fix adds a check to ensure `pipe_ctx->plane_state` is not null
before accessing. This prevents a null pointer dereference.

Reported by smatch:
drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn20/dcn20_hwseq.c:1925 dcn20_program_pipe() error: we previously assumed 'pipe_ctx->plane_state' could be null (see line 1877)

(As written by CVE List.)

## Affected

- Linux Linux: from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 21c613e1c6ae45bb29ebc156d22060f034cc5665; from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 68f75e6f08aad66069a629db8d7840919156c761; from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 65a6fee22d5cfa645cb05489892dc9cd3d142fc2; from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 8e4ed3cf1642df0c4456443d865cff61a9598aa8; 4.15 (not affected: before 4.15; from 6.1.191 up to 6.1.*; from 6.6.64 up to 6.6.*; from 6.11.3 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: before 6.11.3

## References

- <https://git.kernel.org/stable/c/21c613e1c6ae45bb29ebc156d22060f034cc5665>
- <https://git.kernel.org/stable/c/68f75e6f08aad66069a629db8d7840919156c761>
- <https://git.kernel.org/stable/c/65a6fee22d5cfa645cb05489892dc9cd3d142fc2> (patch)
- <https://git.kernel.org/stable/c/8e4ed3cf1642df0c4456443d865cff61a9598aa8> (patch)

## Sources

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

---

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