CVE-2026-89821: drm/amd/display: avoid divide-by-zero in __is_lut_linear()

Published Sep 16, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: avoid divide-by-zero in islutlinear()

islutlinear() computes the expected value of each entry with

expected = i MAXDRMLUTVALUE / (size - 1);

If it is ever called with a single-entry LUT, size - 1 is zero and the kernel takes a divide error (#DE). A LUT with fewer than two entries cannot describe a linear mapping anyway, so return false early instead of dividing by zero.

Affected Software

1 affected component
Linux Kernel

Event History

Sep 16, 2026
CVE Published
via MITRE·10:30 AM
Data Sourced
via MITRE·10:30 AM
Description

Frequently Asked Questions

1

What input condition triggers the kernel fault?

The fault occurs if __is_lut_linear() is called with a LUT containing exactly one entry. The calculation divides by size minus one, which is zero for that input and causes a divide-error exception.

2

What is the effect of the fix?

The corrected code treats LUTs with fewer than two entries as non-linear and returns false before performing the calculation. This prevents the divide-by-zero fault.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203