drm/amd/display: Pass non-null to dcn20_validate_apply_pipe_split_flags
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
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: Pass non-null to dcn20_validate_apply_pipe_split_flags
[WHAT & HOW] "dcn20_validate_apply_pipe_split_flags" dereferences merge, and thus it cannot be a null pointer. Let's pass a valid pointer to avoid null dereference.
This fixes 2 FORWARD_NULL issues reported by Coverity.
From the CVE record · Linux
The Linux kernel AMD display driver can pass a null pointer to dcn20_validate_apply_pipe_split_flags, which dereferences it. The input does not specify how this condition can be triggered or whether access or user interaction is required.
Engineers running Linux kernels with the AMD display driver should check their kernel versions; affected versions are not specified.