CVE-2026-99623: drm/amdgpu: Clamp the ATIF backlight curve to its 99 points
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: Clamp the ATIF backlight curve to its 99 points
amdgpuatifquerybacklightcaps() stores the firmware's numberofpoints as datapoints but copies only the 99 points that luminancedata[] holds. numberofpoints is a u8, so a firmware table that claims more makes the custom curve code in amdgpudm index past the array, and dmqueryextendedbrightnesscaps() copy past the end of the datapoints[] buffer it fills
Clamp the count to ATIFQBTCMAXDATAPOINTS and warn, since a table that claims more is a firmware bug
(cherry picked from commit af8a1c2b7d3de4960e10f94e8ba2fc0ccd168072)
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.64 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.5 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch af8a1c2b7d3de4960e10f94e8ba2fc0ccd168072
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the Linux kernel amdgpu driver are exposed when their firmware supplies an ATIF backlight table claiming more than 99 points. The condition is described as a firmware bug.
What is required to trigger the out-of-bounds access?
The system firmware must report a number_of_points value greater than the 99 entries supported by the driver's luminance_data[] array. The vulnerable paths are the custom backlight curve handling in amdgpu_dm and the extended brightness capability query.
Is a configuration change required for the issue to occur?
No configuration prerequisite is stated. The described trigger depends on malformed firmware-provided ATIF backlight data rather than an optional setting.
What does the fix do?
The fix clamps the firmware-reported point count to ATIF_QBTC_MAX_DATA_POINTS, which is 99, and emits a warning when firmware claims more points. This keeps subsequent curve processing and brightness-capability copying within the allocated arrays.