drm/amdgpu: Clamp the ATIF backlight curve to its 99 points
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 7ba7655701c5cad5bfa043d464d1e24873e24aab, Kernel d00442ef393bd725288514cabc2be4b5472195f4, Kernel e36430fda69a3b6087bf57ab52f549deca531f3a and 2 more.
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)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.15, >=f729e63743f0fbd504a1464e9495c456f63ff7ef <7ba7655701c5cad5bfa043d464d1e24873e24aab, >=f729e63743f0fbd504a1464e9495c456f63ff7ef <d00442ef393bd725288514cabc2be4b5472195f4, >=f729e63743f0fbd504a1464e9495c456f63ff7ef <e36430fda69a3b6087bf57ab52f549deca531f3a | 7ba7655701c5cad5bfa043d464d1e24873e24aab, d00442ef393bd725288514cabc2be4b5472195f4, e36430fda69a3b6087bf57ab52f549deca531f3a |
| linux-kernel: Kernel | >=6.15.0 <6.18.64, >=6.19.0 <7.3.5 | 6.18.64, 7.3.5 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket