# CVE-2025-38036: drm/xe/vf: Perform early GT MMIO initialization to read GMDID

- 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-06-18 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2025-38036, DEBIAN-CVE-2025-38036, CGA-22f5-mj4p-gj2h, CGA-25xj-9h4h-498p, CGA-29mf-w2qj-g9fh, CGA-2mcg-qjxv-w746, CGA-34x2-mvr2-254x, CGA-3c96-g4rg-48wg, CGA-3f3v-r5g9-jmwf, CGA-3pmq-p3g6-rf78, CGA-3vpg-hp5c-xxgp, CGA-4456-gmw5-8g6x, CGA-448j-4wx5-hpwr, CGA-45pc-mm3f-6jgx, CGA-487p-jhjj-xg24, CGA-4cq6-jwvv-8x88, CGA-4f6c-6mjh-4j7h, CGA-4frr-p5mf-j6p9, CGA-4g72-x43f-f78g, CGA-4wf8-22p9-f895, CGA-4x7f-xr96-x8p3, CGA-573f-5w9m-q5gx, CGA-59m9-537m-6m3v, CGA-5pv7-788x-5c5v, CGA-64wf-8whg-rj7h, CGA-665v-29mr-m77h, CGA-6837-x8jh-p46h, CGA-6r7f-j8jq-8hfr, CGA-72mg-m6jj-rm8j, CGA-7428-qw63-j246, CGA-7793-w5f7-j6x4, CGA-799x-cf94-67jh, CGA-7ffp-qxj5-2495, CGA-7h4v-mmmq-rffg, CGA-7j75-www2-fj2m, CGA-7r25-f8vm-gq8m, CGA-83h9-m93g-943c, CGA-87wx-wrfp-83jx, CGA-894h-2cq4-j57x, CGA-898q-r4gc-45cq, CGA-89m9-wg9h-3hf7, CGA-8h5p-xrvm-926p, CGA-8jpv-8632-j838, CGA-8jq7-qwg7-rjw6, CGA-8vpj-3mpp-3wm5, CGA-8x5p-gfv2-8f4x, CGA-8xvx-f487-5xqq, CGA-92r3-8q42-r9pp, CGA-958r-vvpp-qc6r, CGA-9gg7-8rfp-vpc5, CGA-9mr8-x954-vmpq, CGA-9xmm-q27w-7hj9, CGA-c33x-2fhc-q7pg, CGA-c6p8-c42p-2qv5, CGA-c7p6-9pjh-fr2w, CGA-cjf9-pm47-jqvv, CGA-cjh9-px6g-v82m, CGA-cpcf-7cgw-8wh8, CGA-cprv-pg9m-xg48, CGA-f6gp-68qj-jjpp, CGA-f747-7x39-478v, CGA-fc2f-mcm2-63f8, CGA-fpgw-x4qg-ccjf, CGA-fphg-mqrp-mxph, CGA-fqcv-543p-556p, CGA-g3vc-6x69-6wfc, CGA-g7xr-r567-6cc8, CGA-g893-379q-39jv, CGA-g8xc-789m-5xvf, CGA-gc7w-2793-2m7p, CGA-gggf-v9mq-4rvj, CGA-gqpx-hjv7-cp6f, CGA-h28h-6qfj-4hhm, CGA-h8rp-8q4f-8839, CGA-hxwx-64ph-r9gx, CGA-j35c-xp8f-gjv7, CGA-jf25-23p9-42qv, CGA-jqff-j897-7h73, CGA-jrj3-jr34-69jh, CGA-m584-pj2w-jg3w, CGA-mc59-w57j-jvm9, CGA-mcv5-xmjm-9h89, CGA-mh63-x5cq-2q8f, CGA-mq9j-6qh5-8r8h, CGA-mv4r-q9rr-fmw2, CGA-mw7g-6h96-p4v3, CGA-mwm9-cm3w-fmcm, CGA-mxq5-rm39-h4cm, CGA-p68q-vw36-v56c, CGA-p925-jcvg-vcv5, CGA-pgph-f42w-h23c, CGA-pmp2-r44f-5c42, CGA-pq9p-wh87-r4qr, CGA-pr5h-hmxp-5v2w, CGA-pxcr-j8fq-pwpf, CGA-q3q5-vpqx-m839, CGA-q4xj-ch9q-3rhg, CGA-q52m-jcmx-wr25, CGA-qg38-jw63-x795, CGA-qjrw-xx3q-xjcr, CGA-qmqw-r25j-rv6p, CGA-qpx5-5w9f-29r4, CGA-qwj9-rw83-69mq, CGA-r3qj-m99q-ggqr, CGA-r557-hx46-362j, CGA-rcx5-8mr9-xrr4, CGA-rfrw-gvwx-975w, CGA-rhfq-p265-hh7h, CGA-rvjm-fr86-2mv3, CGA-rxfx-3mmv-9wfv, CGA-v6gg-q46f-jxw4, CGA-v8w3-qvpq-725c, CGA-v9jh-cm93-4r4x, CGA-vhx9-c55h-frqj, CGA-vprm-c3mh-x76h, CGA-w98x-hrr8-v552, CGA-wmrg-39wc-q7gr, CGA-xp76-crgh-j52h, CGA-xqxv-m2v2-x2v4, CGA-xrf9-f42c-5r69
- Record: https://cvemate.com/vulnerability/CVE-2025-38036 · JSON: https://cvemate.com/vulnerability/CVE-2025-38036/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

drm/xe/vf: Perform early GT MMIO initialization to read GMDID

VFs need to communicate with the GuC to obtain the GMDID value
and existing GuC functions used for that assume that the GT has
it's MMIO members already setup. However, due to recent refactoring
the gt->mmio is initialized later, and any attempt by the VF to use
xe_mmio_read|write() from GuC functions will lead to NPD crash due
to unset MMIO register address:

[] xe 0000:00:02.1: [drm] Running in SR-IOV VF mode
[] xe 0000:00:02.1: [drm] GT0: sending H2G MMIO 0x5507
[] BUG: unable to handle page fault for address: 0000000000190240

Since we are already tweaking the id and type of the primary GT to
mimic it's a Media GT before initializing the GuC communication,
we can also call xe_gt_mmio_init() to perform early setup of the
gt->mmio which will make those GuC functions work again.
```

## 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.17%, percentile 6.689%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 156)

- chainguard linux-aws-6.12 (Chainguard): \< 6.12.65-r2 \| \< 6.12.72-r0 \| \< 6.12.77-r2 \| \< 6.12.62-r0 \| \< 6.12.63-r0 \| \< 6.12.77-r1 \| \< 6.12.66-r0 \| \< 6.12.74-r1 \| \< 6.12.78-r0 \| \< 6.12.65-r1 \| \< 6.12.77-r0 \| \< 6.12.68-r1 \| \< 6.12.70-r0 \| \< 6.12.57-r2 \| \< 6.12.62-r2 \| \< 6.12.72-r1 \| \< 6.12.69-r0 \| \< 6.12.80-r0 \| \< 6.12.76-r0 \| \< 6.12.74-r0 \| \< 6.12.67-r0 \| \< 6.12.68-r0 \| \< 6.12.65-r0 \| \< 6.12.60-r4 \| \< 6.12.71-r0 \| \< 6.12.62-r1
- chainguard linux-azure-6.12 (Chainguard): \< 6.12.72-r0 \| \< 6.12.69-r0 \| \< 6.12.62-r2 \| \< 6.12.71-r0 \| \< 6.12.67-r0 \| \< 6.12.65-r3 \| \< 6.12.57-r2 \| \< 6.12.80-r0 \| \< 6.12.66-r0 \| \< 6.12.77-r2 \| \< 6.12.68-r0 \| \< 6.12.60-r4 \| \< 6.12.77-r1 \| \< 6.12.65-r1 \| \< 6.12.62-r0 \| \< 6.12.78-r0 \| \< 6.12.76-r0 \| \< 6.12.60-r3 \| \< 6.12.65-r2 \| \< 6.12.62-r1 \| \< 6.12.74-r1 \| \< 6.12.70-r0 \| \< 6.12.63-r0 \| \< 6.12.65-r4 \| \< 6.12.74-r0 \| \< 6.12.77-r0
- chainguard linux-gcp-6.12 (Chainguard): \< 6.12.74-r1 \| \< 6.12.65-r0 \| \< 6.12.68-r1 \| \< 6.12.77-r0 \| \< 6.12.72-r0 \| \< 6.12.62-r1 \| \< 6.12.62-r0 \| \< 6.12.76-r0 \| \< 6.12.60-r4 \| \< 6.12.63-r0 \| \< 6.12.65-r2 \| \< 6.12.65-r1 \| \< 6.12.60-r3 \| \< 6.12.62-r2 \| \< 6.12.69-r0 \| \< 6.12.78-r0 \| \< 6.12.80-r0 \| \< 6.12.71-r0 \| \< 6.12.77-r1 \| \< 6.12.57-r2 \| \< 6.12.66-r0 \| \< 6.12.67-r0 \| \< 6.12.74-r0 \| \< 6.12.70-r0 \| \< 6.12.77-r2 \| \< 6.12.68-r0
- chainguard linux-qemu-6.12 (Chainguard): \< 6.12.76-r0 \| \< 6.12.65-r2 \| \< 6.12.70-r0 \| \< 6.12.66-r0 \| \< 6.12.74-r1 \| \< 6.12.68-r0 \| \< 6.12.67-r0 \| \< 6.12.72-r0 \| \< 6.12.78-r0 \| \< 6.12.77-r0 \| \< 6.12.69-r0 \| \< 6.12.65-r1 \| \< 6.12.71-r0 \| \< 6.12.77-r2 \| \< 6.12.80-r0 \| \< 6.12.74-r0 \| \< 6.12.77-r1
- chainguard linux-vmware-6.12 (Chainguard): \< 6.12.67-r0 \| \< 6.12.69-r0 \| \< 6.12.78-r0 \| \< 6.12.72-r0 \| \< 6.12.76-r0 \| \< 6.12.77-r0 \| \< 6.12.65-r2 \| \< 6.12.74-r0 \| \< 6.12.71-r0 \| \< 6.12.74-r1 \| \< 6.12.77-r1 \| \< 6.12.77-r2 \| \< 6.12.70-r0 \| \< 6.12.65-r1 \| \< 6.12.68-r0 \| \< 6.12.80-r0 \| \< 6.12.68-r1 \| \< 6.12.66-r0
- debian linux (Debian): All versions (No fix recorded) \| \< 6.16.3-1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- 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-1013.13~24.04.1
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/ef6e950aea76a5009ccc79ebfa955ecc66cd85a2>
- <https://git.kernel.org/stable/c/13265fe7426ec9ba5aa86baab913417ca361e8a4>
- <https://ubuntu.com/security/CVE-2025-38036>
- <https://www.cve.org/CVERecord?id=CVE-2025-38036>
- <https://git.kernel.org/linus/13265fe7426ec9ba5aa86baab913417ca361e8a4>
- <https://ubuntu.com/security/notices/USN-7769-1>
- <https://ubuntu.com/security/notices/USN-7770-1>
- <https://ubuntu.com/security/notices/USN-7771-1>
- <https://ubuntu.com/security/notices/USN-7769-2>
- <https://ubuntu.com/security/notices/USN-7769-3>
- <https://ubuntu.com/security/notices/USN-7789-1>
- <https://ubuntu.com/security/notices/USN-7789-2>
- <https://security-tracker.debian.org/tracker/CVE-2025-38036>

---

Data as of 2026-12-05T06:45:37.637Z. 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
