Bug 2535327 (CVE-2026-89821) - CVE-2026-89821 kernel: drm/amd/display: avoid divide-by-zero in __is_lut_linear()
Summary: CVE-2026-89821 kernel: drm/amd/display: avoid divide-by-zero in __is_lut_line...
Keywords:
Status: NEW
Alias: CVE-2026-89821
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-16 12:04 UTC by OSIDB Bzimport
Modified: 2026-11-01 05:24 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-16 12:04:17 UTC
In the Linux kernel, the following vulnerability has been resolved:

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

__is_lut_linear() computes the expected value of each entry with

	expected = i * MAX_DRM_LUT_VALUE / (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.


Note You need to log in before you can comment on or make changes to this bug.