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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-09-16T10:30:53.689Z
- Modified: 2026-10-19T09:18:26.013Z
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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; 4.17 (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.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/2320626425f3af3a25b8afb6876f205b1c6d4e64>
- <https://git.kernel.org/stable/c/d1e06d5dc8f12451ce71dc068342660a34476084>
- <https://git.kernel.org/stable/c/c127ace7af2b40107947a6504391f94d6fd21734>
- <https://git.kernel.org/stable/c/4d5ee095a58461b2446d7a6eb0c14c2fe3eaab44>
- <https://git.kernel.org/stable/c/5f18cd1ba873e751bf5547407ad44ea34adfbe2f>
- <https://git.kernel.org/stable/c/ee28fafb50f58b847509b5240b431ddec673bdfe>
- <https://git.kernel.org/stable/c/15ee43aad0df43dfd1dbb32e7d5b951745c4b87f>
- <https://git.kernel.org/stable/c/4f40873f8a4107df2b9c8e68c947c4fd0cd519d2>

## Sources

- CVE List: [CVE-2026-89821](https://www.cve.org/CVERecord?id=CVE-2026-89821), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89821](https://nvd.nist.gov/vuln/detail/CVE-2026-89821), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89821 · Whole record: https://cve.day/CVE-2026-89821.json · Rebuilt by cve.day 2026-11-25T22:59:38.947Z
