CVE-2026-89819
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/09/2026
Last modified:
19/10/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/amd/display: validate plane degamma LUT size for private color prop<br />
<br />
Unlike the CRTC degamma path, which is guarded by<br />
amdgpu_dm_verify_lut_sizes(), the per-plane degamma LUT size was never<br />
validated before use. __set_dm_plane_degamma() passed the user-supplied<br />
size straight into __is_lut_linear() and, for a non-linear LUT, into<br />
__set_input_tf() -> __drm_lut_to_dc_gamma(), the latter always iterating<br />
MAX_COLOR_LUT_ENTRIES entries regardless of the actual LUT size.<br />
<br />
A malformed AMD_PLANE_DEGAMMA_LUT blob (e.g. a single entry) could thus<br />
trigger a divide-by-zero in __is_lut_linear() or an out-of-bounds read in<br />
__drm_lut_to_dc_gamma(). Reject any plane degamma LUT whose size does not<br />
match MAX_COLOR_LUT_ENTRIES, mirroring the invariant the code already<br />
asserts a few lines below (and which the CRTC path enforces).<br />
<br />
The AMD_PLANE_DEGAMMA_LUT property is only exposed on builds with<br />
AMD_PRIVATE_COLOR defined.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH


