Bug 2320478 (CVE-2024-49912) - CVE-2024-49912 kernel: drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream'
Summary: CVE-2024-49912 kernel: drm/amd/display: Handle null 'stream_status' in 'plane...
Keywords:
Status: NEW
Alias: CVE-2024-49912
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: 2320953
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 19:04 UTC by OSIDB Bzimport
Modified: 2024-10-22 12:23 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 19:04:42 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream'

This commit adds a null check for 'stream_status' in the function
'planes_changed_for_existing_stream'. Previously, the code assumed
'stream_status' could be null, but did not handle the case where it was
actually null. This could lead to a null pointer dereference.

Reported by smatch:
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:3784 planes_changed_for_existing_stream() error: we previously assumed 'stream_status' could be null (see line 3774)


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