GHSA-vh8j-7r6v-h2x4unknown

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Clamp the ATIF...

Published
November 20, 2026
Last Modified
November 20, 2026

🔗 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)