CVE-2023-52913
MediumIn 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)
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-416CVE-2023-52913 is a Use After Free vulnerability
What is Use After Free?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. Learn more on MITRE CWE
Affected versions
Linux kernel versions
5.10
and later are affected. Fixed in
5.15.171,
6.1.7,
6.2
and their respective stable series.
References
The following references provide additional information about CVE-2023-52913 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/ae278887193110dfeb857ea63e243a3851fbb0bc
-
PatchKernel patch commithttps://git.kernel.org/stable/c/afce71ff6daa9c0f852df0727fe32c6fb107f0fa
-
PatchKernel patch commithttps://git.kernel.org/stable/c/b696c627b3f56e173f7f70b8487d66da8ff22506
Frequently asked questions
-
What is CVE-2023-52913?
CVE-2023-52913 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Use After Free flaw (CWE-416) . It affects Linux kernel versions from 5.10 onward and has been patched in 5.15.171, 6.1.7 and 6.2. CVE-2023-52913 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2023-52913?
CVE-2023-52913 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2023-52913?
Yes — CVE-2023-52913 has been patched. Fixed versions include 5.15.171, 6.1.7 and 6.2. If you are running Linux kernel 5.10 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2023-52913 actively exploited?
No — CVE-2023-52913 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Use After Free (CWE-416)?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. View CWE-416 on MITRE CWE →