drm/amd/display: Skip finding free audio for unknown engine_id
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c · < 95ad20ee3c4efbb91f9a4ab08e070aa3697f5879| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Skip finding free audio for unknown engine_id
[WHY] ENGINE_ID_UNKNOWN = -1 and can not be used as an array index. Plus, it also means it is uninitialized and does not need free audio.
[HOW] Skip and return NULL.
This fixes 2 OVERRUN issues reported by Coverity.
From the CVE record · Linux
The Linux kernel’s AMD display code could use an unknown, uninitialized engine ID as an array index, causing an overrun. The input does not specify how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running Linux kernels with AMD display support should check their affected versions against the vendor advisory; affected versions are not specified here.