CVE-2025-38205

published 4 Jul 2025 · updated 7 Sep 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 03a3dbca3b8e55b88958ce1f54aaf678ded11c79, Kernel 7e40f64896e8e3dca471e287672db5ace12ea0be and Kernel 8044f981b2cf8c32fe1bd5d1fc991552cdf7ffe0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.7, >=7966f319c66d9468623c6a6a017ecbc0dd79be75 <03a3dbca3b8e55b88958ce1f54aaf678ded11c79, >=7966f319c66d9468623c6a6a017ecbc0dd79be75 <7e40f64896e8e3dca471e287672db5ace12ea0be, >=7966f319c66d9468623c6a6a017ecbc0dd79be75 <8044f981b2cf8c32fe1bd5d1fc991552cdf7ffe003a3dbca3b8e55b88958ce1f54aaf678ded11c79, 7e40f64896e8e3dca471e287672db5ace12ea0be, 8044f981b2cf8c32fe1bd5d1fc991552cdf7ffe0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38205 severity on Zeptric[![CVE-2025-38205](https://zeptric.io/badge/cve/CVE-2025-38205.svg)](https://zeptric.io/cve/CVE-2025-38205)