{"id":"CVE-2025-38205","aliases":["CVE-2025-38205"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amd/display: Avoid divide by zero by initializing dummy pitch to 1","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Avoid divide by zero by initializing dummy pitch to 1\n\n[Why]\nIf the dummy values in `populate_dummy_dml_surface_cfg()` aren't updated\nthen they can lead to a divide by zero in downstream callers like\nCalculateVMAndRowBytes()\n\n[How]\nInitialize dummy value to a value to avoid divide by zero.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Avoid divide by zero by initializing dummy pitch to 1\n\n[Why]\nIf the dummy values in `populate_dummy_dml_surface_cfg()` aren't updated\nthen they can lead to a divide by zero in downstream callers like\nCalculateVMAndRowBytes()\n\n[How]\nInitialize dummy value to a value to avoid divide by zero.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-07-04T13:37:25.242Z","modified":"2026-09-07T16:17:27.650Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-369"],"affected":[{"ranges":[{"type":"git","introduced":"7966f319c66d9468623c6a6a017ecbc0dd79be75","fixed":"03a3dbca3b8e55b88958ce1f54aaf678ded11c79","status":"affected"},{"type":"git","introduced":"7966f319c66d9468623c6a6a017ecbc0dd79be75","fixed":"8044f981b2cf8c32fe1bd5d1fc991552cdf7ffe0","status":"affected"},{"type":"git","introduced":"7966f319c66d9468623c6a6a017ecbc0dd79be75","fixed":"7e40f64896e8e3dca471e287672db5ace12ea0be","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.4","lastAffected":"6.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.7","fixed":"6.15.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/03a3dbca3b8e55b88958ce1f54aaf678ded11c79","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8044f981b2cf8c32fe1bd5d1fc991552cdf7ffe0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7e40f64896e8e3dca471e287672db5ace12ea0be","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38205","url":"https://www.cve.org/CVERecord?id=CVE-2025-38205","licence":"CVE Terms of Use","modified":"2026-09-07T15:44:46.431Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38205","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38205","licence":"Public domain","modified":"2026-09-07T16:17:27.650Z"}],"updatedAt":"2026-11-25T22:59:00.641Z","epss":{"score":0.00275,"percentile":0.12613,"date":"2026-11-30T12:00:22.000Z"}}