7.8high
drm/i915: fix race condition UAF in i915_perf_add_config_ioctl
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.16% (higher than 5% 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 race condition UAF in i915_perf_add_config_ioctl Userspace can guess the id value and try to race oa_config object creation with config remove, resulting in a use-after-free if we dereference the object after unlocking the metrics_lock. For that reason, unlocking the metrics_lock must be done after we are done dereferencing the object. [tursulin: Manually added stable tag.] (cherry picked from commit 49f6f6483b652108bcb73accd0204a464b922395)
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from f89823c212246d0671cc51e69894a3df1a743aee before 6eeb1cba4c9dc47656ea328afa34953c28783d8c, from f89823c212246d0671cc51e69894a3df1a743aee before 240b1502708858b5e3f10b6dc5ca3f148a322fef, from f89823c212246d0671cc51e69894a3df1a743aee before 7eb98f5ac551863efe8be810cea1cd5411d677b1, from f89823c212246d0671cc51e69894a3df1a743aee before dc30c011469165d57af9adac5baff7d767d20e5c, 4.14 Not affected: before 4.14, from 5.15.108 up to 5.15.*, from 6.1.24 up to 6.1.*, from 6.2.11 up to 6.2.*, from 6.3 up to * | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: drm/i915: fix race condition UAF in i915_perf_add_config_ioctl Userspace can guess the id value and try to race oa_config object creation with config remove, resulting in a use-after-free if we dereference the object after unlocking the metrics_lock. For that reason, unlocking the metrics_lock must be done after we are done dereferencing the object. [tursulin: Manually added stable tag.] (cherry picked from commit 49f6f6483b652108bcb73accd0204a464b922395)
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/i915: corrección de la condición de carrera de uso después de liberación en i915_perf_add_config_ioctl El espacio de usuario puede adivinar el valor del id e intentar competir con la creación del objeto oa_config con la eliminación de la configuración, lo que resulta en un uso después de liberación si desreferenciamos el objeto después de desbloquear el metrics_lock. Por esa razón, el desbloqueo del metrics_lock debe realizarse después de que hayamos terminado de desreferenciar el objeto. [tursulin: Etiqueta estable añadida manualmente.] (extraído del commit 49f6f6483b652108bcb73accd0204a464b922395)
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-54202 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2023-54202 changed 2026-10-28 | Public domain |