CVE-2026-99623
drm/amdgpu: Clamp the ATIF backlight curve to its 99 points
- CVSS
- —
- EPSS
- 0.17% (p6)
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-11-20
- Product
- Linux Linux
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)
Fixed in
7ba7655701c5cad5bfa043d464d1e24873e24aab · d00442ef393bd725288514cabc2be4b5472195f4 · e36430fda69a3b6087bf57ab52f549deca531f3a
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Linux | >=f729e63743f0fbd504a1464e9495c456f63ff7ef, <7ba7655701c5cad5bfa043d464d1e24873e24aab | 7ba7655701c5cad5bfa043d464d1e24873e24aab |
| vendor | Linux | >=f729e63743f0fbd504a1464e9495c456f63ff7ef, <d00442ef393bd725288514cabc2be4b5472195f4 | d00442ef393bd725288514cabc2be4b5472195f4 |
| vendor | Linux | >=f729e63743f0fbd504a1464e9495c456f63ff7ef, <e36430fda69a3b6087bf57ab52f549deca531f3a | e36430fda69a3b6087bf57ab52f549deca531f3a |