# CVE-2026-31547: drm/xe: Fix missing runtime PM reference in ccs_mode_store

- 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.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-04-24T14:33:15.262Z
- Modified: 2026-11-11T23:10:00.263Z
- Assigned by: Linux

## Description

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

drm/xe: Fix missing runtime PM reference in ccs_mode_store

ccs_mode_store() calls xe_gt_reset() which internally invokes
xe_pm_runtime_get_noresume(). That function requires the caller
to already hold an outer runtime PM reference and warns if none
is held:

  [46.891177] xe 0000:03:00.0: [drm] Missing outer runtime PM protection
  [46.891178] WARNING: drivers/gpu/drm/xe/xe_pm.c:885 at
  xe_pm_runtime_get_noresume+0x8b/0xc0

Fix this by protecting xe_gt_reset() with the scope-based
guard(xe_pm_runtime)(xe), which is the preferred form when
the reference lifetime matches a single scope.

v2:
- Use scope-based guard(xe_pm_runtime)(xe) (Shuicheng)
- Update commit message accordingly

(cherry picked from commit 7937ea733f79b3f25e802a0c8360bf7423856f36)

(As written by CVE List.)

## Affected

- Linux Linux: from 480b358e7d8ef69fd8f1b0cad6e07c7d70a36ee4 before c409ecce9adcf815e86bc2f68834982e5a9c4e76; from 480b358e7d8ef69fd8f1b0cad6e07c7d70a36ee4 before 65d046b2d8e0d6d855379a981869005fd6b6a41b; 6.19 (not affected: before 6.19; from 6.19.10 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.19.1 before 6.19.10; 6.19; 7.0

## References

- <https://git.kernel.org/stable/c/c409ecce9adcf815e86bc2f68834982e5a9c4e76> (patch)
- <https://git.kernel.org/stable/c/65d046b2d8e0d6d855379a981869005fd6b6a41b> (patch)

## Sources

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

---

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