drm/amd/display: Check null pointers before using dc->clk_mgr
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c · < 5ba3fbf75b243b2863a8be9e7c393e003d3b88f3| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Check null pointers before using dc->clk_mgr
[WHY & HOW] dc->clk_mgr is null checked previously in the same function, indicating it might be null.
Passing "dc" to "dc->hwss.apply_idle_power_optimizations", which dereferences null "dc->clk_mgr". (The function pointer resolves to "dcn35_apply_idle_power_optimizations".)
This fixes 1 FORWARD_NULL issue reported by Coverity.
From the CVE record · Linux
The Linux kernel AMD display code can pass a null clock-manager pointer to an idle-power optimization function that dereferences it. The input does not specify an attacker action, exploitation conditions, or resulting impact beyond the null pointer dereference.
Engineers running Linux kernels with AMD display support should check their systems; affected versions are not specified.