CVE-2024-49912

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

published October 21, 2024

CVSS
—
EPSS
0%
Percentile
14.0
In the wild
Unconfirmed
What it is

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)

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00238 · 14.0th percentile
Published
2024-10-21T18:01Z
EPSS history
Timeline
  • 21 OCT 18:01Z
    drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream'
    cvelistv5