---
id: CVE-2025-38205
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  drm/amd/display: Avoid divide by zero by initializing dummy pitch to 1

  [Why]
  If the dummy values in `populate_dummy_dml_surface_cfg()` aren't updated
  then they can lea…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  drm/amd/display: Avoid divide by zero by initializing dummy pitch to 1

  [Why]
  If the dummy values in `populate_dummy_dml_surface_cfg()` aren't updated
  then they can lea…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-369
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 6.7, < 6.15.4'
patched:
  - linux_kernel 6.15.4
published: '2025-07-04'
updated: '2026-09-07'
sourceUpdated: '2026-09-07T16:17:27.650'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-38205'
references:
  - url: 'https://git.kernel.org/stable/c/03a3dbca3b8e55b88958ce1f54aaf678ded11c79'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7e40f64896e8e3dca471e287672db5ace12ea0be'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8044f981b2cf8c32fe1bd5d1fc991552cdf7ffe0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
epss: 0.00154
epssPercentile: 0.0494
ingestedAt: '2026-09-07T17:14:49.649Z'
---

## Overview

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

drm/amd/display: Avoid divide by zero by initializing dummy pitch to 1

[Why]
If the dummy values in `populate_dummy_dml_surface_cfg()` aren't updated
then they can lead to a divide by zero in downstream callers like
CalculateVMAndRowBytes()

[How]
Initialize dummy value to a value to avoid divide by zero.

## Affected

- `linux_kernel >= 6.7, < 6.15.4`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.15.4`
