{"id":"CVE-2023-52913","summary":"drm/i915: Fix potential context UAFs","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/i915: Fix potential context UAFs\n\ngem_context_register() makes the context visible to userspace, and which\npoint a separate thread can trigger the I915_GEM_CONTEXT_DESTROY ioctl.\nSo we need to ensure that nothing uses the ctx ptr after this.  And we\nneed to ensure that adding the ctx to the xarray is the *last* thing\nthat gem_context_register() does with the ctx pointer.\n\n[tursulin: Stable and fixes tags add/tidy.]\n(cherry picked from commit bed4b455cf5374e68879be56971c1da563bcd90c)","modified":"2026-03-20T12:32:52.862461Z","published":"2024-08-21T06:10:54.540Z","related":["SUSE-SU-2024:3190-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3483-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52913.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/ae278887193110dfeb857ea63e243a3851fbb0bc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/afce71ff6daa9c0f852df0727fe32c6fb107f0fa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b696c627b3f56e173f7f70b8487d66da8ff22506"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52913.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52913"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"eb4dedae920a07c485328af3da2202ec5184fb17"},{"fixed":"ae278887193110dfeb857ea63e243a3851fbb0bc"},{"fixed":"b696c627b3f56e173f7f70b8487d66da8ff22506"},{"fixed":"afce71ff6daa9c0f852df0727fe32c6fb107f0fa"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52913.json"}}],"schema_version":"1.7.5"}