---
id: CVE-2026-74449
title: >-
  In the Linux kernel, the following vulnerability has been resolved:


  drm/amd/display: Fix divide-by-zero in calculate_mcache_setting on zero
  viewport


  If a plane reaches calculate_mcache_setting with a zero-area viewport,

  calculate_mcach…
summary: >-
  In the Linux kernel, the following vulnerability has been resolved:


  drm/amd/display: Fix divide-by-zero in calculate_mcache_setting on zero
  viewport


  If a plane reaches calculate_mcache_setting with a zero-area viewport,

  calculate_mcach…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 70839da6360500a82e4d5f78499284474cbed7c1 <
    23a541c31b45fa813b33269376f6bd53535429a8
  - >-
    Linux >= 70839da6360500a82e4d5f78499284474cbed7c1 <
    1f93537881fd22712732a60ad12572a3fd40c0ec
  - >-
    Linux >= 70839da6360500a82e4d5f78499284474cbed7c1 <
    f327e389c07cfc3a2f6ff54f6214e1a52d457edc
  - Linux 6.11
published: '2026-08-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T11:17:46.273'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-74449'
references:
  - url: 'https://git.kernel.org/stable/c/1f93537881fd22712732a60ad12572a3fd40c0ec'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/23a541c31b45fa813b33269376f6bd53535429a8'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f327e389c07cfc3a2f6ff54f6214e1a52d457edc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
epss: 0.00165
epssPercentile: 0.05348
ingestedAt: '2026-10-15T11:00:41.676Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Fix divide-by-zero in calculate_mcache_setting on zero viewport

If a plane reaches calculate_mcache_setting with a zero-area viewport,
calculate_mcache_setting exits early with num_mcaches == 0 and
mvmpg_width/height == 0. This will cause a divide-by-zero panic and can
also cause an underflow on num_mcaches.

Fix this by changing calculate_mcache_setting to bool and adding guards
after each calculate_mcache_row_bytes call. If num_mcaches or
mvmpg_width/height is zero, return a false. Callers will propagate the
failure as a rejected mode, which prevents the panic.

(cherry picked from commit 29c0f7c655f47bcbd575ff75e58480df6ec3c9da)

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
