drm/xe: Fix missing runtime PM reference in ccs_mode_store
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c409ecce9adcf815e86bc2f68834982e5a9c4e76, Kernel 6.19.10 and Kernel 65d046b2d8e0d6d855379a981869005fd6b6a41b.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=480b358e7d8ef69fd8f1b0cad6e07c7d70a36ee4 <c409ecce9adcf815e86bc2f68834982e5a9c4e76, =6.19, =7.0, >=6.19.1 <6.19.10, >=480b358e7d8ef69fd8f1b0cad6e07c7d70a36ee4 <65d046b2d8e0d6d855379a981869005fd6b6a41b | c409ecce9adcf815e86bc2f68834982e5a9c4e76, 6.19.10, 65d046b2d8e0d6d855379a981869005fd6b6a41b |
| linux-kernel: Kernel | >=6.19.0 <6.19.10 | 6.19.10 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket