We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-49914

drm/amd/display: Add null check for pipe_ctx->plane_state in dcn20_program_pipe



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)

Reserved 2024-10-21 | Published 2024-10-21 | Updated 2025-05-04 | Assigner Linux

Product status

Default status
unaffected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 68f75e6f08aad66069a629db8d7840919156c761
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 65a6fee22d5cfa645cb05489892dc9cd3d142fc2
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8e4ed3cf1642df0c4456443d865cff61a9598aa8
affected

Default status
affected

6.6.64
unaffected

6.11.3
unaffected

6.12
unaffected

References

git.kernel.org/...c/68f75e6f08aad66069a629db8d7840919156c761

git.kernel.org/...c/65a6fee22d5cfa645cb05489892dc9cd3d142fc2

git.kernel.org/...c/8e4ed3cf1642df0c4456443d865cff61a9598aa8

cve.org (CVE-2024-49914)

nvd.nist.gov (CVE-2024-49914)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2024-49914

Support options

Helpdesk Chat, Email, Knowledgebase