{"id":"CVE-2026-89821","summary":"drm/amd/display: avoid divide-by-zero in __is_lut_linear()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: avoid divide-by-zero in __is_lut_linear()\n\n__is_lut_linear() computes the expected value of each entry with\n\n\texpected = i * MAX_DRM_LUT_VALUE / (size - 1);\n\nIf it is ever called with a single-entry LUT, size - 1 is zero and the\nkernel takes a divide error (#DE). A LUT with fewer than two entries\ncannot describe a linear mapping anyway, so return false early instead\nof dividing by zero.","modified":"2026-09-18T03:48:33.235108297Z","published":"2026-09-16T10:30:53.689Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89821.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/15ee43aad0df43dfd1dbb32e7d5b951745c4b87f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2320626425f3af3a25b8afb6876f205b1c6d4e64"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4d5ee095a58461b2446d7a6eb0c14c2fe3eaab44"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4f40873f8a4107df2b9c8e68c947c4fd0cd519d2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5f18cd1ba873e751bf5547407ad44ea34adfbe2f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c127ace7af2b40107947a6504391f94d6fd21734"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d1e06d5dc8f12451ce71dc068342660a34476084"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee28fafb50f58b847509b5240b431ddec673bdfe"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89821.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89821"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"086247a4b2fba49800b27807f22bb894cd8363fb"},{"fixed":"2320626425f3af3a25b8afb6876f205b1c6d4e64"},{"fixed":"d1e06d5dc8f12451ce71dc068342660a34476084"},{"fixed":"c127ace7af2b40107947a6504391f94d6fd21734"},{"fixed":"4d5ee095a58461b2446d7a6eb0c14c2fe3eaab44"},{"fixed":"5f18cd1ba873e751bf5547407ad44ea34adfbe2f"},{"fixed":"ee28fafb50f58b847509b5240b431ddec673bdfe"},{"fixed":"15ee43aad0df43dfd1dbb32e7d5b951745c4b87f"},{"fixed":"4f40873f8a4107df2b9c8e68c947c4fd0cd519d2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89821.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.17.0"},{"fixed":"5.10.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.221"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.51"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89821.json"}}],"schema_version":"1.9.0"}