Description
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: fix incorrect mpc_combine array size
[why] MAX_SURFACES is per stream, while MAX_PLANES is per asic. The mpc_combine is an array that records all the planes per asic. Therefore MAX_PLANES should be used as the array size. Using MAX_SURFACES causes array overflow when there are more than 3 planes.
[how] Use the MAX_PLANES for the mpc_combine array size.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 0bd8ef618a42d7e6ea3f701065264e15678025e3; >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 39079fe8e660851abbafa90cd55cbf029210661f |
| Linux | Linux | 4.15 |
References
- https://git.kernel.org/stable/c/0bd8ef618a42d7e6ea3f701065264e15678025e3Patch
- https://git.kernel.org/stable/c/39079fe8e660851abbafa90cd55cbf029210661fPatch
- https://git.kernel.org/stable/c/0bd8ef618a42d7e6ea3f701065264e15678025e3Patch
- https://git.kernel.org/stable/c/39079fe8e660851abbafa90cd55cbf029210661fPatch
Timeline
- Published
- Apr 17, 2024
- Last modified
- Aug 4, 2026
- NVD status
- Modified