CVE-2025-38205

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

State
Published
Severity
Not scored
Published
Jul 4, 2025
Updated
Sep 7, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7966f319c66d9468623c6a6a017ecbc0dd79be75 to before 03a3dbca3b8e55b88958ce1f54aaf678ded11c79Affected
  • 7966f319c66d9468623c6a6a017ecbc0dd79be75 to before 8044f981b2cf8c32fe1bd5d1fc991552cdf7ffe0Affected
  • 7966f319c66d9468623c6a6a017ecbc0dd79be75 to before 7e40f64896e8e3dca471e287672db5ace12ea0beAffected
LinuxLinux
  • 6.7Affected
  • before 6.7Not affected
  • 6.12.109 through 6.12.*Not affected
  • 6.15.4 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.