What’s Vulnerable › Vulnerabilities
CVE-2023-52913: drm/i915: Fix potential context UAFs
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-21 · updated 2026-08-04
- Weakness: CWE-416
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 products
- Linux kernel: from 5.8.11 before 5.9; from 5.10 before 6.1.7; 6.2-rc1, 6.2-rc2, 6.2-rc3 — fixed in 5.9, 6.1.7
How to fix
Upgrade to a fixed version: Linux kernel 5.9, 6.1.7. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/ae278887193110dfeb857ea63e243a3851fbb0bc
- https://git.kernel.org/stable/c/afce71ff6daa9c0f852df0727fe32c6fb107f0fa
- https://git.kernel.org/stable/c/b696c627b3f56e173f7f70b8487d66da8ff22506
Get alerted when CVE-2023-52913 or the next vulnerability affects your stack