7.8high
drm/i915: Fix potential context UAFs
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: drm/i915: Fix potential context UAFs gem_context_register() makes the context visible to userspace, and which point a separate thread can trigger the I915_GEM_CONTEXT_DESTROY ioctl. So we need to ensure that nothing uses the ctx ptr after this. And we need to ensure that adding the ctx to the xarray is the *last* thing that gem_context_register() does with the ctx pointer. [tursulin: Stable and fixes tags add/tidy.] (cherry picked from commit bed4b455cf5374e68879be56971c1da563bcd90c)
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from eb4dedae920a07c485328af3da2202ec5184fb17 before ae278887193110dfeb857ea63e243a3851fbb0bc, from eb4dedae920a07c485328af3da2202ec5184fb17 before b696c627b3f56e173f7f70b8487d66da8ff22506, from eb4dedae920a07c485328af3da2202ec5184fb17 before afce71ff6daa9c0f852df0727fe32c6fb107f0fa, 5.10 Not affected: before 5.10, from 5.15.171 up to 5.15.*, from 6.1.7 up to 6.1.*, from 6.2 up to * | CVE List |
| linux linux_kernel | from 5.8.11 before 5.9, from 5.10 before 6.1.7, 6.2 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: drm/i915: Fix potential context UAFs gem_context_register() makes the context visible to userspace, and which point a separate thread can trigger the I915_GEM_CONTEXT_DESTROY ioctl. So we need to ensure that nothing uses the ctx ptr after this. And we need to ensure that adding the ctx to the xarray is the *last* thing that gem_context_register() does with the ctx pointer. [tursulin: Stable and fixes tags add/tidy.] (cherry picked from commit bed4b455cf5374e68879be56971c1da563bcd90c)
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: drm/i915: corrige posibles UAF de contexto gem_context_register() hace que el contexto sea visible para el espacio de usuario, y en qué punto un hilo separado puede activar el ioctl I915_GEM_CONTEXT_DESTROY. Por lo tanto, debemos asegurarnos de que nada use ctx ptr después de esto. Y debemos asegurarnos de que agregar ctx al xarray sea lo *último* que hace gem_context_register() con el puntero ctx. [tursulin: etiquetas estables y corregidas agregadas/ordenadas.] (seleccionado de el commit bed4b455cf5374e68879be56971c1da563bcd90c)
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-52913 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2023-52913 changed 2026-08-04 | Public domain |