{"id":"CVE-2026-74449","aliases":["CVE-2026-74449"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amd/display: Fix divide-by-zero in calculate_mcache_setting on zero viewport","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Fix divide-by-zero in calculate_mcache_setting on zero viewport\n\nIf a plane reaches calculate_mcache_setting with a zero-area viewport,\ncalculate_mcache_setting exits early with num_mcaches == 0 and\nmvmpg_width/height == 0. This will cause a divide-by-zero panic and can\nalso cause an underflow on num_mcaches.\n\nFix this by changing calculate_mcache_setting to bool and adding guards\nafter each calculate_mcache_row_bytes call. If num_mcaches or\nmvmpg_width/height is zero, return a false. Callers will propagate the\nfailure as a rejected mode, which prevents the panic.\n\n(cherry picked from commit 29c0f7c655f47bcbd575ff75e58480df6ec3c9da)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Fix divide-by-zero in calculate_mcache_setting on zero viewport\n\nIf a plane reaches calculate_mcache_setting with a zero-area viewport,\ncalculate_mcache_setting exits early with num_mcaches == 0 and\nmvmpg_width/height == 0. This will cause a divide-by-zero panic and can\nalso cause an underflow on num_mcaches.\n\nFix this by changing calculate_mcache_setting to bool and adding guards\nafter each calculate_mcache_row_bytes call. If num_mcaches or\nmvmpg_width/height is zero, return a false. Callers will propagate the\nfailure as a rejected mode, which prevents the panic.\n\n(cherry picked from commit 29c0f7c655f47bcbd575ff75e58480df6ec3c9da)","source":"cvelist"}],"published":"2026-08-15T12:26:54.519Z","modified":"2026-10-21T13:19:44.547Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"70839da6360500a82e4d5f78499284474cbed7c1","fixed":"70f5f4ddba0d2d89e77ec13b79cdcfbef33be0d9","status":"affected"},{"type":"git","introduced":"70839da6360500a82e4d5f78499284474cbed7c1","fixed":"23a541c31b45fa813b33269376f6bd53535429a8","status":"affected"},{"type":"git","introduced":"70839da6360500a82e4d5f78499284474cbed7c1","fixed":"1f93537881fd22712732a60ad12572a3fd40c0ec","status":"affected"},{"type":"git","introduced":"70839da6360500a82e4d5f78499284474cbed7c1","fixed":"f327e389c07cfc3a2f6ff54f6214e1a52d457edc","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.8","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/70f5f4ddba0d2d89e77ec13b79cdcfbef33be0d9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/23a541c31b45fa813b33269376f6bd53535429a8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1f93537881fd22712732a60ad12572a3fd40c0ec","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f327e389c07cfc3a2f6ff54f6214e1a52d457edc","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T18:56:48.300Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74449","url":"https://www.cve.org/CVERecord?id=CVE-2026-74449","licence":"CVE Terms of Use","modified":"2026-10-21T12:45:40.556Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74449","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74449","licence":"Public domain","modified":"2026-10-21T13:19:44.547Z"}],"updatedAt":"2026-11-25T22:59:33.218Z","epss":{"score":0.00129,"percentile":0.02723,"date":"2026-12-01T12:00:22.000Z"}}