# CVE-2023-54202: drm/i915: fix race condition UAF in i915_perf_add_config_ioctl

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-12-30T12:09:06.872Z
- Modified: 2026-10-28T19:10:00.193Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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)

(As written by CVE List.)

## Affected

- 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 *)

## References

- <https://git.kernel.org/stable/c/6eeb1cba4c9dc47656ea328afa34953c28783d8c>
- <https://git.kernel.org/stable/c/240b1502708858b5e3f10b6dc5ca3f148a322fef>
- <https://git.kernel.org/stable/c/7eb98f5ac551863efe8be810cea1cd5411d677b1>
- <https://git.kernel.org/stable/c/dc30c011469165d57af9adac5baff7d767d20e5c>

## Sources

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

---

Page: https://cve.day/CVE-2023-54202 · Whole record: https://cve.day/CVE-2023-54202.json · Rebuilt by cve.day 2026-11-25T22:58:35.218Z
