drm/amd/display: Fix potential NULL pointer dereferences in 'dcn10_set_output_transfer_func()'
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ddef02de0d71d483ad4398393717cc0d53fc990a · < 14613d52bc7fc180df6d2c65ba65fc921fc1dda7| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix potential NULL pointer dereferences in 'dcn10_set_output_transfer_func()'
The 'stream' pointer is used in dcn10_set_output_transfer_func() before the check if 'stream' is NULL.
Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn10/dcn10_hwseq.c:1892 dcn10_set_output_transfer_func() warn: variable dereferenced before check 'stream' (see line 1875)
From the CVE record · Linux
The Linux kernel's AMD display function dcn10_set_output_transfer_func() can dereference a stream pointer before checking whether it is NULL. The input does not specify how an attacker could trigger this or whether access or user interaction is required.
Engineers running Linux kernels with the AMD display component should check whether their kernel is affected; affected versions are not specified.