5.5medium
drm/amd/display: Avoid divide by zero by initializing dummy pitch to 1
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.27% (higher than 13% of CVEs)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 6.7 before 6.15.4 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: Evite la división por cero inicializando el paso ficticio en 1 [Por qué] Si los valores ficticios en `populate_dummy_dml_surface_cfg()` no se actualizan, pueden provocar una división por cero en los llamadores posteriores como CalculateVMAndRowBytes() [Cómo] Inicialice el valor ficticio en un valor para evitar la división por cero.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38205 changed 2026-09-07 | CVE Terms of Use |
| NVD | CVE-2025-38205 changed 2026-09-07 | Public domain |