Skip to content
Heist/ feed
Back to feed
HighFix available

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

Type: advisorySources: OSV

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)

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.114, 6.18.57, 7.1.8
CVEs
CVE-2026-74449
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 13:33 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 15 Aug 2026, 12:26 UTC

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)

osv:CVE-2026-74449

Kernel

Fixed versions: 6.12.114, 6.18.57, 7.1.8

Complete source record
{
  "id": "be1b37bf3a89ccc8a0d7bfdcdd8fe7e5196eeacb011c1919020fefad31897dfd",
  "url": "https://osv.dev/vulnerability/CVE-2026-74449",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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: 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)",
    "evidence": "osv:CVE-2026-74449",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.114",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.57",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.1.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-74449",
      "aliases": [
        "CVE-2026-74449"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "70839da6360500a82e4d5f78499284474cbed7c1"
                },
                {
                  "fixed": "70f5f4ddba0d2d89e77ec13b79cdcfbef33be0d9"
                },
                {
                  "fixed": "23a541c31b45fa813b33269376f6bd53535429a8"
                },
                {
                  "fixed": "1f93537881fd22712732a60ad12572a3fd40c0ec"
                },
                {
                  "fixed": "f327e389c07cfc3a2f6ff54f6214e1a52d457edc"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74449.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.11.0"
                },
                {
                  "fixed": "6.12.114"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.57"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.1.8"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74449.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.150921727Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/1f93537881fd22712732a60ad12572a3fd40c0ec",
        "https://git.kernel.org/stable/c/23a541c31b45fa813b33269376f6bd53535429a8",
        "https://git.kernel.org/stable/c/70f5f4ddba0d2d89e77ec13b79cdcfbef33be0d9",
        "https://git.kernel.org/stable/c/f327e389c07cfc3a2f6ff54f6214e1a52d457edc",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74449.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-74449",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74449.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-74449",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 495948,
  "published_at": "2026-08-15T12:26:54.519+00:00"
}