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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-07-04 · Modified: 2026-09-07
- Aliases: UBUNTU-CVE-2025-38205, DEBIAN-CVE-2025-38205, CGA-27wj-q9mq-q4jh, CGA-2cjc-9p4v-j494, CGA-2ff8-4f24-48xp, CGA-2g5f-fppv-q4rq, CGA-2hgf-h9j2-3crw, CGA-2qpm-m47j-9v59, CGA-2qqf-gr82-pc33, CGA-2qv8-p6w6-7r9g, CGA-347x-mh5v-g23x, CGA-38rm-fmgv-77rv, CGA-4284-8h65-52gx, CGA-43jr-vg82-hjvg, CGA-4c77-gmwg-9p79, CGA-4cm7-j2gw-827r, CGA-64cg-rhg8-622q, CGA-64w3-h8q2-mcfq, CGA-6f96-9833-mjfm, CGA-6vqr-hh6p-46jx, CGA-6w3j-v35j-hfpg, CGA-6w42-p47h-jgjc, CGA-6wm4-g92c-8x4r, CGA-73cw-997w-35p4, CGA-758w-985q-5wh5, CGA-78rp-h49q-3mh8, CGA-7c83-488j-48xq, CGA-7fq7-f329-69w3, CGA-7j58-fcwr-9pg7, CGA-7j93-q45w-44p9, CGA-7jqr-8cc3-88x8, CGA-7mqw-v58c-63gx, CGA-8g43-3626-833p, CGA-8g9v-3mww-537h, CGA-8grj-x44c-647x, CGA-8r6v-25xg-fx4j, CGA-8v7x-jjc4-w98c, CGA-8xvj-427c-fc85, CGA-95qp-4f5f-f3x2, CGA-96vj-g22j-rqr9, CGA-9798-v3fq-xg92, CGA-c46g-vqcq-q443, CGA-c47c-qvww-2jcm, CGA-ccr6-r95p-m43g, CGA-cfm4-8f67-cqf5, CGA-cj32-gxqq-459x, CGA-f3g5-6j2f-3x35, CGA-f3h4-m8xc-5grv, CGA-f7q2-wxpv-74mc, CGA-f99w-fp9p-44h2, CGA-g4jp-x344-2m3q, CGA-ghmc-c93j-9xp9, CGA-gmcx-8frw-x2pr, CGA-gprm-99gg-cgv5, CGA-h323-552x-5hcx, CGA-h98q-4cm6-3v59, CGA-hfvf-823h-pmx4, CGA-hjc4-q4q3-4jrq, CGA-hmrw-x6m2-gv66, CGA-hrcv-xg8r-ff3x, CGA-hrf9-x7j4-m4vw, CGA-hrrj-gfxm-w6h4, CGA-hvqh-xcr2-g798, CGA-hwcg-9pjj-gh6c, CGA-j24r-w2j9-8grc, CGA-j9cx-jqh9-4hhw, CGA-jc35-hcg9-69xh, CGA-jg36-mccc-2p52, CGA-jj2r-9p7f-x86m, CGA-jm4v-8998-2qr8, CGA-jpw9-qpg6-88mq, CGA-jrgc-9vv7-246p, CGA-m23c-887m-wfxr, CGA-m3fr-9gc9-3v3g, CGA-m3wp-pmfw-mmj7, CGA-m57j-cc38-3jpj, CGA-m6q6-3f6j-h3h2, CGA-m6rq-3pc9-j9q9, CGA-m8wh-jq7h-jvpp, CGA-m9vf-rcqv-fm25, CGA-mp5x-vgjm-24rq, CGA-mxxx-942h-f8wq, CGA-p56r-29w4-2cmv, CGA-p64j-7q76-w6r7, CGA-p72j-99fv-gv84, CGA-p7cp-cvmq-rvwq, CGA-pghx-9crv-wrp2, CGA-ph3x-2mfw-2968, CGA-phm2-63x6-6q79, CGA-prx5-jj4q-3mj9, CGA-q8pg-g42f-rg5m, CGA-qf5j-hg8g-5ghq, CGA-qh2r-xvhm-hhhh, CGA-qh4j-mc37-w3jw, CGA-qj22-8pf3-22hw, CGA-qj9w-xmvp-7qc9, CGA-qqpj-q7g6-hgjr, CGA-qqv8-www2-f564, CGA-qwmc-37cf-hvwj, CGA-r25c-c7gr-g67r, CGA-r393-w82w-89j8, CGA-r4xm-f35q-6vh2, CGA-rc62-57g3-pch5, CGA-rcgg-g67q-839r, CGA-rp8m-82m9-v852, CGA-rw7g-4wff-48x7, CGA-rx6f-23p4-rj6g, CGA-v7x6-hwr2-mjw3, CGA-vpf3-48w7-hp37, CGA-vrfx-jwjc-7h6v, CGA-vrr5-vm63-j7jj, CGA-w3mf-phh3-hjq8, CGA-x44q-mv5g-p957, CGA-x4x9-pw4r-5hmr, CGA-x7g2-h87c-hq6h, CGA-xfjh-gvhm-jcvc, CGA-xj23-5jmm-vh6q, CGA-xp3q-p3c4-xw6q, CGA-xqwv-pwgp-9qr4, CGA-xr5m-gm9q-rvm4
- Record: https://cvemate.com/vulnerability/CVE-2025-38205 · JSON: https://cvemate.com/vulnerability/CVE-2025-38205/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.191%, percentile 9.114%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 158)

- chainguard linux-aws-6.12 (Chainguard): \< 6.12.70-r0 \| \< 6.12.63-r0 \| \< 6.12.77-r1 \| \< 6.12.68-r0 \| \< 6.12.57-r2 \| \< 6.12.74-r1 \| \< 6.12.69-r0 \| \< 6.12.71-r0 \| \< 6.12.76-r0 \| \< 6.12.65-r2 \| \< 6.12.67-r0 \| \< 6.12.65-r0 \| \< 6.12.60-r4 \| \< 6.12.72-r0 \| \< 6.12.62-r1 \| \< 6.12.68-r1 \| \< 6.12.72-r1 \| \< 6.12.78-r0 \| \< 6.12.65-r1 \| \< 6.12.66-r0 \| \< 6.12.62-r2 \| \< 6.12.77-r0 \| \< 6.12.80-r0 \| \< 6.12.62-r0 \| \< 6.12.74-r0 \| \< 6.12.77-r2
- chainguard linux-azure-6.12 (Chainguard): \< 6.12.63-r0 \| \< 6.12.67-r0 \| \< 6.12.65-r2 \| \< 6.12.74-r0 \| \< 6.12.68-r0 \| \< 6.12.62-r0 \| \< 6.12.60-r4 \| \< 6.12.69-r0 \| \< 6.12.65-r1 \| \< 6.12.57-r2 \| \< 6.12.74-r1 \| \< 6.12.70-r0 \| \< 6.12.62-r2 \| \< 6.12.66-r0 \| \< 6.12.77-r0 \| \< 6.12.62-r1 \| \< 6.12.72-r0 \| \< 6.12.77-r2 \| \< 6.12.65-r3 \| \< 6.12.60-r3 \| \< 6.12.80-r0 \| \< 6.12.71-r0 \| \< 6.12.77-r1 \| \< 6.12.76-r0 \| \< 6.12.65-r4 \| \< 6.12.78-r0
- chainguard linux-gcp-6.12 (Chainguard): \< 6.12.71-r0 \| \< 6.12.77-r1 \| \< 6.12.65-r1 \| \< 6.12.63-r0 \| \< 6.12.65-r0 \| \< 6.12.62-r2 \| \< 6.12.60-r3 \| \< 6.12.68-r0 \| \< 6.12.68-r1 \| \< 6.12.74-r0 \| \< 6.12.77-r0 \| \< 6.12.70-r0 \| \< 6.12.77-r2 \| \< 6.12.74-r1 \| \< 6.12.66-r0 \| \< 6.12.57-r2 \| \< 6.12.62-r0 \| \< 6.12.69-r0 \| \< 6.12.67-r0 \| \< 6.12.78-r0 \| \< 6.12.65-r2 \| \< 6.12.62-r1 \| \< 6.12.80-r0 \| \< 6.12.72-r0 \| \< 6.12.60-r4 \| \< 6.12.76-r0
- chainguard linux-qemu-6.12 (Chainguard): \< 6.12.78-r0 \| \< 6.12.69-r0 \| \< 6.12.80-r0 \| \< 6.12.77-r0 \| \< 6.12.74-r0 \| \< 6.12.68-r0 \| \< 6.12.65-r2 \| \< 6.12.66-r0 \| \< 6.12.77-r2 \| \< 6.12.72-r0 \| \< 6.12.70-r0 \| \< 6.12.76-r0 \| \< 6.12.77-r1 \| \< 6.12.71-r0 \| \< 6.12.74-r1 \| \< 6.12.65-r1 \| \< 6.12.67-r0
- chainguard linux-vmware-6.12 (Chainguard): \< 6.12.74-r1 \| \< 6.12.76-r0 \| \< 6.12.65-r1 \| \< 6.12.67-r0 \| \< 6.12.71-r0 \| \< 6.12.68-r1 \| \< 6.12.66-r0 \| \< 6.12.70-r0 \| \< 6.12.68-r0 \| \< 6.12.77-r0 \| \< 6.12.77-r2 \| \< 6.12.80-r0 \| \< 6.12.65-r2 \| \< 6.12.69-r0 \| \< 6.12.72-r0 \| \< 6.12.77-r1 \| \< 6.12.78-r0 \| \< 6.12.74-r0
- debian linux (Debian): \< 6.12.111-1 \| \< 6.16.3-1
- debian linux-6.12 (Debian): \< 6.12.111-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-149.149
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1069.74
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): \< 6.14.0-1015.15~24.04.1
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 25)

- <https://git.kernel.org/stable/c/03a3dbca3b8e55b88958ce1f54aaf678ded11c79>
- <https://git.kernel.org/stable/c/8044f981b2cf8c32fe1bd5d1fc991552cdf7ffe0>
- <https://git.kernel.org/stable/c/7e40f64896e8e3dca471e287672db5ace12ea0be>
- <https://ubuntu.com/security/CVE-2025-38205>
- <https://www.cve.org/CVERecord?id=CVE-2025-38205>
- <https://git.kernel.org/linus/7e40f64896e8e3dca471e287672db5ace12ea0be>
- <https://ubuntu.com/security/notices/USN-7833-1>
- <https://ubuntu.com/security/notices/USN-7834-1>
- <https://ubuntu.com/security/notices/USN-7833-2>
- <https://ubuntu.com/security/notices/USN-7833-3>
- <https://ubuntu.com/security/notices/USN-7833-4>
- <https://ubuntu.com/security/notices/USN-7856-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-38205>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-38205>
- <https://ubuntu.com/security/notices/USN-9023-1>
- <https://ubuntu.com/security/notices/USN-9025-1>
- <https://ubuntu.com/security/notices/USN-9022-1>
- <https://ubuntu.com/security/notices/USN-9024-1>
- <https://ubuntu.com/security/notices/USN-9026-1>
- <https://ubuntu.com/security/notices/USN-9039-1>

---

Data as of 2026-12-06T04:48:44.450Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
