{"id":"CVE-2023-52913","aliases":["CVE-2023-52913"],"related":[],"kind":"vulnerability","state":"published","title":"drm/i915: Fix potential context UAFs","summary":"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)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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)","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: drm/i915: corrige posibles UAF de contexto gem_context_register() hace que el contexto sea visible para el espacio de usuario, y en qué punto un hilo separado puede activar el ioctl I915_GEM_CONTEXT_DESTROY. Por lo tanto, debemos asegurarnos de que nada use ctx ptr después de esto. Y debemos asegurarnos de que agregar ctx al xarray sea lo *último* que hace gem_context_register() con el puntero ctx. [tursulin: etiquetas estables y corregidas agregadas/ordenadas.] (seleccionado de el commit bed4b455cf5374e68879be56971c1da563bcd90c)","source":"nvd"}],"published":"2024-08-21T06:10:54.540Z","modified":"2026-08-05T09:11:58.161Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"eb4dedae920a07c485328af3da2202ec5184fb17","fixed":"ae278887193110dfeb857ea63e243a3851fbb0bc","status":"affected"},{"type":"git","introduced":"eb4dedae920a07c485328af3da2202ec5184fb17","fixed":"b696c627b3f56e173f7f70b8487d66da8ff22506","status":"affected"},{"type":"git","introduced":"eb4dedae920a07c485328af3da2202ec5184fb17","fixed":"afce71ff6daa9c0f852df0727fe32c6fb107f0fa","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10","status":"unaffected"},{"type":"semver","introduced":"5.15.171","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.7","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.8.11","fixed":"5.9"},{"status":"affected","introduced":"5.10","fixed":"6.1.7"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ae278887193110dfeb857ea63e243a3851fbb0bc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b696c627b3f56e173f7f70b8487d66da8ff22506","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/afce71ff6daa9c0f852df0727fe32c6fb107f0fa","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T15:34:42.812Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52913","url":"https://www.cve.org/CVERecord?id=CVE-2023-52913","licence":"CVE Terms of Use","modified":"2026-08-05T09:11:58.161Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52913","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52913","licence":"Public domain","modified":"2026-08-04T10:18:48.733Z"}],"updatedAt":"2026-11-25T22:58:34.286Z","epss":{"score":0.00248,"percentile":0.17271,"date":"2026-12-01T12:00:22.000Z"}}