# CVE-2023-52913: drm/i915: Fix potential context UAFs

- 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.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-08-21T06:10:54.540Z
- Modified: 2026-08-05T09:11:58.161Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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)

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 5.8.11 before 5.9; from 5.10 before 6.1.7; 6.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/ae278887193110dfeb857ea63e243a3851fbb0bc>
- <https://git.kernel.org/stable/c/b696c627b3f56e173f7f70b8487d66da8ff22506> (patch)
- <https://git.kernel.org/stable/c/afce71ff6daa9c0f852df0727fe32c6fb107f0fa> (patch)

## Sources

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

---

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