5.5medium
drm/xe: Fix missing runtime PM reference in ccs_mode_store
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.11% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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)
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 6.19.1 before 6.19.10, 6.19, 7.0 | NVD |
What each source says
CVE List
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)
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/xe: Corrige la referencia PM de tiempo de ejecución faltante en ccs_mode_store ccs_mode_store() llama a xe_gt_reset() que invoca internamente a xe_pm_runtime_get_noresume(). Esa función requiere que el llamador ya mantenga una referencia PM de tiempo de ejecución externa y advierte si no se mantiene ninguna: [46.891177] xe 0000:03:00.0: [drm] Protección PM de tiempo de ejecución externa faltante [46.891178] ADVERTENCIA: drivers/gpu/drm/xe/xe_pm.c:885 en xe_pm_runtime_get_noresume+0x8b/0xc0 Soluciona esto protegiendo xe_gt_reset() con el guard(xe_pm_runtime)(xe) basado en el ámbito, que es la forma preferida cuando la vida útil de la referencia coincide con un único ámbito. v2: - Usa guard(xe_pm_runtime)(xe) basado en el ámbito (Shuicheng) - Actualiza el mensaje de commit en consecuencia (seleccionado de commit 7937ea733f79b3f25e802a0c8360bf7423856f36)
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31547 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-31547 changed 2026-11-11 | Public domain |