Bug 2320430 (CVE-2024-49914) - CVE-2024-49914 kernel: drm/amd/display: Add null check for pipe_ctx->plane_state in dcn20_program_pipe
Summary: CVE-2024-49914 kernel: drm/amd/display: Add null check for pipe_ctx->plane...
Keywords:
Status: NEW
Alias: CVE-2024-49914
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2320759
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 19:01 UTC by OSIDB Bzimport
Modified: 2024-10-21 22:30 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 19:01:30 UTC
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)


Note You need to log in before you can comment on or make changes to this bug.