CVE-2026-89821

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

State
Published
Severity
Not scored
Published
Sep 16, 2026
Updated
Oct 19, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 086247a4b2fba49800b27807f22bb894cd8363fb to before 2320626425f3af3a25b8afb6876f205b1c6d4e64Affected
  • 086247a4b2fba49800b27807f22bb894cd8363fb to before d1e06d5dc8f12451ce71dc068342660a34476084Affected
  • 086247a4b2fba49800b27807f22bb894cd8363fb to before c127ace7af2b40107947a6504391f94d6fd21734Affected
  • 086247a4b2fba49800b27807f22bb894cd8363fb to before 4d5ee095a58461b2446d7a6eb0c14c2fe3eaab44Affected
  • 086247a4b2fba49800b27807f22bb894cd8363fb to before 5f18cd1ba873e751bf5547407ad44ea34adfbe2fAffected
  • 086247a4b2fba49800b27807f22bb894cd8363fb to before ee28fafb50f58b847509b5240b431ddec673bdfeAffected
  • 086247a4b2fba49800b27807f22bb894cd8363fb to before 15ee43aad0df43dfd1dbb32e7d5b951745c4b87fAffected
  • 086247a4b2fba49800b27807f22bb894cd8363fb to before 4f40873f8a4107df2b9c8e68c947c4fd0cd519d2Affected
LinuxLinux
  • 4.17Affected
  • before 4.17Not affected
  • 5.10.270 through 5.10.*Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.51 through 6.18.*Not affected
  • 7.2.5 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.