GHSA-vh8j-7r6v-h2x4unknown
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Clamp the ATIF...
🔗 CVE IDs covered (1)
📋 Description
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: Clamp the ATIF backlight curve to its 99 points
amdgpu_atif_query_backlight_caps() stores the firmware's number_of_points as data_points but copies only the 99 points that luminance_data[] holds. number_of_points is a u8, so a firmware table that claims more makes the custom curve code in amdgpu_dm index past the array, and dm_query_extended_brightness_caps() copy past the end of the data_points[] buffer it fills
Clamp the count to ATIF_QBTC_MAX_DATA_POINTS and warn, since a table that claims more is a firmware bug
(cherry picked from commit af8a1c2b7d3de4960e10f94e8ba2fc0ccd168072)
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-99623
- https://git.kernel.org/stable/c/7ba7655701c5cad5bfa043d464d1e24873e24aab
- https://git.kernel.org/stable/c/d00442ef393bd725288514cabc2be4b5472195f4
- https://git.kernel.org/stable/c/e36430fda69a3b6087bf57ab52f549deca531f3a
- https://github.com/advisories/GHSA-vh8j-7r6v-h2x4