drm/amd/display: Check correct bounds for stream encoder instances for DCN303
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 |
|
|
5.15.635.19.46.0In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Check correct bounds for stream encoder instances for DCN303
[Why & How] eng_id for DCN303 cannot be more than 1, since we have only two instances of stream encoders.
Check the correct boundary condition for engine ID for DCN303 prevent the potential out of bounds access.
From the CVE record · Linux
The Linux kernel's AMD display code used an incorrect bound for DCN303 stream encoder engine IDs, which have only two valid instances. An engine ID greater than 1 could cause an out-of-bounds access. The input does not specify how an attacker could trigger this condition or whether authentication or user interaction is required.
Engineers running Linux kernels with AMD display support for DCN303 should check whether their kernel includes the corrected bounds check; affected versions are not specified.