# CVE-2025-38205: drm/amd/display: Avoid divide by zero by initializing dummy pitch to 1

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 13% of CVEs (2026-11-30)
- Published: 2025-07-04T13:37:25.242Z
- Modified: 2026-09-07T16:17:27.650Z
- Weaknesses: CWE-369
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7966f319c66d9468623c6a6a017ecbc0dd79be75 before 03a3dbca3b8e55b88958ce1f54aaf678ded11c79; from 7966f319c66d9468623c6a6a017ecbc0dd79be75 before 8044f981b2cf8c32fe1bd5d1fc991552cdf7ffe0; from 7966f319c66d9468623c6a6a017ecbc0dd79be75 before 7e40f64896e8e3dca471e287672db5ace12ea0be; 6.7 (not affected: before 6.7; from 6.12.109 up to 6.12.*; from 6.15.4 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 6.7 before 6.15.4

## References

- <https://git.kernel.org/stable/c/03a3dbca3b8e55b88958ce1f54aaf678ded11c79>
- <https://git.kernel.org/stable/c/8044f981b2cf8c32fe1bd5d1fc991552cdf7ffe0> (patch)
- <https://git.kernel.org/stable/c/7e40f64896e8e3dca471e287672db5ace12ea0be> (patch)

## Sources

- CVE List: [CVE-2025-38205](https://www.cve.org/CVERecord?id=CVE-2025-38205), CVE Terms of Use, modified 2026-09-07
- NVD: [CVE-2025-38205](https://nvd.nist.gov/vuln/detail/CVE-2025-38205), Public domain, modified 2026-09-07

---

Page: https://cve.day/CVE-2025-38205 · Whole record: https://cve.day/CVE-2025-38205.json · Rebuilt by cve.day 2026-11-25T22:59:00.641Z
