CVE-2026-89821
JSON

Not scored

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

Severity
Not scored
Exploit likelihood
0.22% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 086247a4b2fba49800b27807f22bb894cd8363fb before 2320626425f3af3a25b8afb6876f205b1c6d4e64, from 086247a4b2fba49800b27807f22bb894cd8363fb before d1e06d5dc8f12451ce71dc068342660a34476084, from 086247a4b2fba49800b27807f22bb894cd8363fb before c127ace7af2b40107947a6504391f94d6fd21734, from 086247a4b2fba49800b27807f22bb894cd8363fb before 4d5ee095a58461b2446d7a6eb0c14c2fe3eaab44, from 086247a4b2fba49800b27807f22bb894cd8363fb before 5f18cd1ba873e751bf5547407ad44ea34adfbe2f, from 086247a4b2fba49800b27807f22bb894cd8363fb before ee28fafb50f58b847509b5240b431ddec673bdfe, from 086247a4b2fba49800b27807f22bb894cd8363fb before 15ee43aad0df43dfd1dbb32e7d5b951745c4b87f, from 086247a4b2fba49800b27807f22bb894cd8363fb before 4f40873f8a4107df2b9c8e68c947c4fd0cd519d2 and 1 more
Not affected: before 4.17, from 5.10.270 up to 5.10.*, from 5.15.221 up to 5.15.*, from 6.1.188 up to 6.1.*, from 6.6.157 up to 6.6.*, from 6.12.110 up to 6.12.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-89821 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-89821 changed 2026-10-19Public domain