drm/amd/display: Check link_index before accessing dc->links[]
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 link_index before accessing dc->links[]
[WHY & HOW] dc->links[] has max size of MAX_LINKS and NULL is return when trying to access with out-of-bound index.
This fixes 3 OVERRUN and 1 RESOURCE_LEAK issues reported by Coverity.
From the CVE record · Linux
The Linux kernel’s AMD display driver does not check link_index before accessing dc->links[], which can result in an out-of-bounds access. The input does not establish what an attacker could do or whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels with the AMD display driver should check whether their kernel includes this fix; affected versions are not specified.