drm/amd/display: Check null pointers before multiple uses
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Check null pointers before multiple uses
[WHAT & HOW] Poniters, such as stream_enc and dc->bw_vbios, are null checked previously in the same function, so Coverity warns "implies that stream_enc and dc->bw_vbios might be null". They are used multiple times in the subsequent code and need to be checked.
This fixes 10 FORWARD_NULL issues reported by Coverity.
From the CVE record · Linux
The Linux kernel’s AMD display code uses pointers that may be null without checking them at every use. The input does not specify how an attacker could trigger this issue, what they could achieve, or whether access or user interaction is required.
Engineers running Linux kernels with AMD display support should check their deployments; affected versions were not provided.