CVE-2026-99623: drm/amdgpu: Clamp the ATIF backlight curve to its 99 points
From: Greg Kroah-Hartman <[email protected]>
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)
The Linux kernel CVE team has assigned CVE-2026-99623 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.15 with commit f729e63743f0fbd504a1464e9495c456f63ff7ef and fixed in 6.18.64 with commit d00442ef393bd725288514cabc2be4b5472195f4 Issue introduced in 6.15 with commit f729e63743f0fbd504a1464e9495c456f63ff7ef and fixed in 7.3.5 with commit e36430fda69a3b6087bf57ab52f549deca531f3a Issue introduced in 6.15 with commit f729e63743f0fbd504a1464e9495c456f63ff7ef and fixed in 7.4-rc2 with commit 7ba7655701c5cad5bfa043d464d1e24873e24aab
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-99623
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/d00442ef393bd725288514cabc2be4b5472195f4 https://git.kernel.org/stable/c/e36430fda69a3b6087bf57ab52f549deca531f3a https://git.kernel.org/stable/c/7ba7655701c5cad5bfa043d464d1e24873e24aab